This commit is contained in:
lf 2024-07-25 14:35:42 +08:00
parent f0866e04b4
commit 0280dfc476
3 changed files with 3 additions and 0 deletions

View File

@ -540,6 +540,7 @@
req.axiosPost("/key/couponGroupUsage", data)
.then((res) => {
if (res.code == 200) {
alert(navigator.userAgent, 1)
if (this.goods.group_info.channel == 1 && this.goods.group_info.receive_mode == 1) {
/* 支付宝官方领取 */
this.toLinkAlipay();

View File

@ -552,6 +552,7 @@
req.axiosPost("/key/couponGroupUsage", data)
.then((res) => {
if (res.code == 200) {
alert(navigator.userAgent, 3)
// 领取结算 4
if (bm_obj_data && !bm_obj_data.settlement_data.is_settlement && bm_obj_data.settlement_data.settlement_type === 4) {
settlementFun(bm_obj_data.token, bm_obj_data.settlement_data.settlement_type);

View File

@ -510,6 +510,7 @@
req.axiosPost("/key/couponGroupUsage", data)
.then((res) => {
if (res.code == 200) {
alert(navigator.userAgent, 2)
// 第一步:是否是微信环境 -> 公众号授权
if (self.openId && navigator.userAgent.toLowerCase().indexOf('micromessenger') !== -1) {
self.publicCollection(res.data.order_number);