|
|
@@ -281,7 +281,9 @@ class LoginLogic extends BaseLogic
|
|
|
|
|
|
public static function getRegisterId($params)
|
|
|
{
|
|
|
- return MasterWorkerRegister::where('openid',$params['openid']??-1)->value('id')??0;
|
|
|
+ $a = MasterWorkerRegister::where('openid',$params['openid']??-1)->value('id')??0;
|
|
|
+ Log::info('openid:'.$params['openid'].'-'.$a);
|
|
|
+ return $a;
|
|
|
}
|
|
|
|
|
|
|