Commit 4a08e80f by 王召彬

添加错误码

parent fb600efe
......@@ -14,8 +14,13 @@ class StoreError
const E5201 = ['code'=>400, 'errCode'=>5201, 'msg'=>'店铺名称不能包含特殊符号'];
const E5202 = ['code'=>400, 'errCode'=>5202, 'msg'=>'短信发送失败:'];
const E5203 = ['code'=>400, 'errCode'=>5203, 'msg'=>'验证码不正确'];
const E5204 = ['code'=>400, 'errCode'=>5204, 'msg'=>'xxxx'];
const E5204 = ['code'=>400, 'errCode'=>5204, 'msg'=>'该手机号已注册过店铺'];
const E5205 = ['code'=>400, 'errCode'=>5205, 'msg'=>'xxxx'];
const E5206 = ['code'=>400, 'errCode'=>5206, 'msg'=>'xxxx'];
const E5207 = ['code'=>400, 'errCode'=>5207, 'msg'=>'xxxx'];
const E5208 = ['code'=>400, 'errCode'=>5208, 'msg'=>'xxxx'];
const E5209 = ['code'=>400, 'errCode'=>5209, 'msg'=>'xxxx'];
const E5210 = ['code'=>400, 'errCode'=>5210, 'msg'=>'xxxx'];
public function getError($code) {
$reflect = new \ReflectionClass(StoreEnum::class);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment