作者 chencheng

kaquan-5

... ... @@ -184,7 +184,7 @@ class Wechat extends Api
$save['loginip'] = $save['joinip'] = request()->ip();
$save['store_id'] = $store_id;
$w['openid'] = $openid;
$w['store_id'] = $store_id;
$w['verification_store_id'] = $store_id;
$user = Db::name('user')->where($w)->find();
//存在更新否则新增
if(empty($user)){
... ...