提交 a5b41d37 编写于 作者: G gongfuxiang

wx pay

上级 a19878be
......@@ -52,9 +52,13 @@ class Service
// 绑定
if(Db::name('User')->where(['id'=>$user['id']])->update(['weixin_web_openid'=>$params['openid'], 'upd_time'=>time()]))
{
// 用户登录session纪录
if(UserService::UserLoginRecord($user['id']))
{
return DataReturn('绑定成功', 0);
}
}
return DataReturn('绑定失败', -100);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册