# wx.showRedPackage(Object object)
Start from base library version 2.10.0. Please remaining backward compatible.
with Promise style call: Supported
Mini Program plugin: Not supported
Pull h5 to receive the red envelope cover page. Get reference red envelope cover address reference WeChat red envelope cover development platform。
# parameter
# Object object
attribute | type | Default values | Required | Introductions |
---|---|---|---|---|
url | string | yes | Cover address | |
success | function | no | Interface calls the successful callback function | |
fail | function | no | Interface calls failed callback functions | |
complete | function | no | Interface calls the end of the callback function (call success or failure will be executed) |