@@ -485,7 +485,6 @@ def activity_group_share(request): |
||
485 | 485 |
is_integral, integral = get_group_share_info_integral(act.activity_id, share_user_id, open_gid, act.group_share_integral, act.group_share_max_integral) |
486 | 486 |
|
487 | 487 |
# 活动未结束,则给用户加积分 |
488 |
- |
|
489 | 488 |
if is_integral: |
490 | 489 |
MemberActivityGroupShareInfo.objects.create(**{ |
491 | 490 |
'brand_id': act.brand_id, |
@@ -163,7 +163,7 @@ def DJANGO_WE_COMPONENT_CALLBACK_FUNC(request, appid, data, decrypted=None): |
||
163 | 163 |
'remark': userinfo.get('remark', ''), |
164 | 164 |
}) |
165 | 165 |
else: |
166 |
- SubscribeUserInfo.objects.filter(openid=openid).update(subscribe=subscribe) |
|
166 |
+ SubscribeUserInfo.objects.using('hanyuan').filter(openid=openid).update(subscribe=subscribe) |
|
167 | 167 |
|
168 | 168 |
# 根据场景值判断是否发会员卡 |
169 | 169 |
if eventkey: |