update 商户登录返回商户信息
This commit is contained in:
parent
b04bca9d80
commit
b10c7ad25b
@ -56,6 +56,7 @@ class Login extends BaseController
|
||||
$msg = '账号或密码错误';
|
||||
throw new ValidateException($msg);
|
||||
}
|
||||
$user['merchant'] = Db::name('merchant')->where('uid', $user['uid'])->find();
|
||||
$expire = time()+ 3600 * 24;
|
||||
$token = md5($expire);
|
||||
// 缓存token
|
||||
|
Loading…
x
Reference in New Issue
Block a user