Points gifting rule settings [registration/consumption/recharge/invite users/shopping and give positive comments/forward to WeChat group
# enable module
Log in to the backend, left menu --> Factory settings --> Module management, find "Points Module", after enabling it, refresh the page with F5, and you will see the points deduction menu:

#Create points gift rules
As shown in the picture above, 6 rules have been created, and points will be awarded for all the above 6 behaviors.
# The front end reads the points gift rules from the backend
For example, WeChat Mini Program can use the apifm-wxapi module:
```javascript
WXAPI.scoreRules(Object object)
```
For other front-ends (website, android, ios, etc.), please check ["api interface document"](#)
_After reading the gift rules, you can display them on the interface according to actual needs_