修复user_id错误

This commit is contained in:
mkm 2023-03-22 13:48:14 +08:00
parent f0b1e3435d
commit b4d2add477

View File

@ -1274,7 +1274,7 @@ class Maintainentry extends BaseController
$userid = Db::connect('shop')->table('eb_user')->strict(false)->insertGetId($params);
//写入用户信息表
$post['user_id'] = 0;
$post['user_id'] = $userid;
$post['createtime'] = $time;
$post['enter_id'] = $this->request->uid;
$post['gender']= $post['gender_id'];