mobileclient/xw-pages/README.md

16 lines
522 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

说明:该文件是通过前端判断环境,进入不同页面进行立减金领取
# 微信环境
如果是微信可以进行公众号领取
# App环境
如果是App环境拉起微信小程序领取
# 支付宝环境
走以前逻辑
点击立即领取 -> 判断是否是 微信环境
是微信环境 -> 微信环境,走微信公众号授权 -> 获取openid -> 领取立减金
不是微信环境 -> 拉起微信小程序领取 -> 参数:拉起代码 wx:xxxxx -> 领取立减金