mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]修正微信API文件
This commit is contained in:
parent
67e784525f
commit
0cd19a93b1
@ -218,7 +218,7 @@ class Api extends Controller
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
// 标识推荐关系
|
// 标识推荐关系
|
||||||
$data = ['spread_by' => $fans['openid'], 'spread_at' => date('Y-m-d H:i:s')];
|
$data = ['spread_openid' => $fans['openid'], 'spread_at' => date('Y-m-d H:i:s')];
|
||||||
Db::name('WechatFans')->where("openid='{$this->openid}' and (spread_openid is null or spread_openid='')")->setField($data);
|
Db::name('WechatFans')->where("openid='{$this->openid}' and (spread_openid is null or spread_openid='')")->setField($data);
|
||||||
// @todo 推荐成功的奖励
|
// @todo 推荐成功的奖励
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user