mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]微信模块开发中
This commit is contained in:
parent
eac1022a3e
commit
32524e95e9
@ -194,7 +194,7 @@ class Api extends Controller {
|
||||
}
|
||||
// 标识推荐关系
|
||||
Db::name('WechatFans')
|
||||
->where('appid', $this->appid)
|
||||
->where('openid', $this->openid)
|
||||
->where('(spread_openid is null or spread_openid="")')
|
||||
->setField(['spread_by' => $fans['openid'], 'spread_at' => date('Y-m-d H:i:s')]);
|
||||
// @todo 推荐成功的奖励
|
||||
|
Loading…
x
Reference in New Issue
Block a user