diff --git a/app/Constants/Common/ThirdCode.php b/app/Constants/Common/ThirdCode.php new file mode 100644 index 0000000..aea312c --- /dev/null +++ b/app/Constants/Common/ThirdCode.php @@ -0,0 +1,12 @@ +user_id = $this->userId; $model->open_id = $this->openId; $model->union_id = $this->unionId; + $model->type = ThirdCode::WX_LOGIN; if (!$model->save()) throw new ErrException('注册失败-00001'); }