Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
services
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tencent
services
Commits
9f25c364
Commit
9f25c364
authored
Aug 03, 2018
by
王召彬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
移除错误码文件
parent
2566f156
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
90 deletions
+0
-90
src/Reservation/Enum/ReservationError.php
+0
-30
src/Schedule/Enum/ScheduleError.php
+0
-30
src/Store/Enum/StoreError.php
+0
-30
No files found.
src/Reservation/Enum/ReservationError.php
deleted
100644 → 0
View file @
2566f156
<?php
namespace
Hdll\Services\Reservation\Enum
;
class
ReservationError
{
const
E3001
=
[
'code'
=>
400
,
'errCode'
=>
3001
,
'msg'
=>
'客户端传参错误'
];
const
E3002
=
[
'code'
=>
404
,
'errCode'
=>
3002
,
'msg'
=>
'查询不到用户数据'
];
const
E3003
=
[
'code'
=>
401
,
'errCode'
=>
3003
,
'msg'
=>
'无权限操作'
];
const
E3004
=
[
'code'
=>
404
,
'errCode'
=>
3004
,
'msg'
=>
'数据不存在'
];
const
E3102
=
[
'code'
=>
400
,
'errCode'
=>
3102
,
'msg'
=>
'手机号不正确'
];
const
E3201
=
[
'code'
=>
400
,
'errCode'
=>
3201
,
'msg'
=>
'xxxx'
];
const
E3202
=
[
'code'
=>
400
,
'errCode'
=>
3202
,
'msg'
=>
'短信发送失败:'
];
const
E3203
=
[
'code'
=>
400
,
'errCode'
=>
3203
,
'msg'
=>
'验证码不正确'
];
const
E3204
=
[
'code'
=>
400
,
'errCode'
=>
3204
,
'msg'
=>
'xxxx'
];
const
E3205
=
[
'code'
=>
400
,
'errCode'
=>
3205
,
'msg'
=>
'xxxx'
];
const
E3206
=
[
'code'
=>
400
,
'errCode'
=>
3206
,
'msg'
=>
'xxxx'
];
const
E3207
=
[
'code'
=>
400
,
'errCode'
=>
3207
,
'msg'
=>
'xxxx'
];
const
E3208
=
[
'code'
=>
400
,
'errCode'
=>
3208
,
'msg'
=>
'xxxx'
];
const
E3209
=
[
'code'
=>
400
,
'errCode'
=>
3209
,
'msg'
=>
'xxxx'
];
const
E3210
=
[
'code'
=>
400
,
'errCode'
=>
3210
,
'msg'
=>
'xxxx'
];
public
static
function
getError
(
$code
)
{
$reflect
=
new
\ReflectionClass
(
__CLASS__
);
return
$reflect
->
getConstant
(
'E'
.
$code
);
}
}
\ No newline at end of file
src/Schedule/Enum/ScheduleError.php
deleted
100644 → 0
View file @
2566f156
<?php
namespace
Hdll\Services\Schedule\Enum
;
class
ScheduleError
{
const
E8001
=
[
'code'
=>
400
,
'errCode'
=>
8001
,
'msg'
=>
'客户端传参错误'
];
const
E8002
=
[
'code'
=>
404
,
'errCode'
=>
8002
,
'msg'
=>
'查询不到用户数据'
];
const
E8003
=
[
'code'
=>
401
,
'errCode'
=>
8003
,
'msg'
=>
'无权限操作'
];
const
E8004
=
[
'code'
=>
404
,
'errCode'
=>
8004
,
'msg'
=>
'数据不存在'
];
const
E8102
=
[
'code'
=>
400
,
'errCode'
=>
8102
,
'msg'
=>
'手机号不正确'
];
const
E8201
=
[
'code'
=>
400
,
'errCode'
=>
8201
,
'msg'
=>
'xxxx'
];
const
E8202
=
[
'code'
=>
400
,
'errCode'
=>
8202
,
'msg'
=>
'短信发送失败:'
];
const
E8203
=
[
'code'
=>
400
,
'errCode'
=>
8203
,
'msg'
=>
'验证码不正确'
];
const
E8204
=
[
'code'
=>
400
,
'errCode'
=>
8204
,
'msg'
=>
'xxxx'
];
const
E8205
=
[
'code'
=>
400
,
'errCode'
=>
8205
,
'msg'
=>
'xxxx'
];
const
E8206
=
[
'code'
=>
400
,
'errCode'
=>
8206
,
'msg'
=>
'xxxx'
];
const
E8207
=
[
'code'
=>
400
,
'errCode'
=>
8207
,
'msg'
=>
'xxxx'
];
const
E8208
=
[
'code'
=>
400
,
'errCode'
=>
8208
,
'msg'
=>
'xxxx'
];
const
E8209
=
[
'code'
=>
400
,
'errCode'
=>
8209
,
'msg'
=>
'xxxx'
];
const
E8210
=
[
'code'
=>
400
,
'errCode'
=>
8210
,
'msg'
=>
'xxxx'
];
public
static
function
getError
(
$code
)
{
$reflect
=
new
\ReflectionClass
(
__CLASS__
);
return
$reflect
->
getConstant
(
'E'
.
$code
);
}
}
\ No newline at end of file
src/Store/Enum/StoreError.php
deleted
100644 → 0
View file @
2566f156
<?php
namespace
Hdll\Services\Store\Enum
;
class
StoreError
{
const
E5001
=
[
'code'
=>
400
,
'errCode'
=>
5001
,
'msg'
=>
'客户端传参错误'
];
const
E5002
=
[
'code'
=>
404
,
'errCode'
=>
5002
,
'msg'
=>
'查询不到用户数据'
];
const
E5003
=
[
'code'
=>
401
,
'errCode'
=>
5003
,
'msg'
=>
'无权限操作'
];
const
E5004
=
[
'code'
=>
404
,
'errCode'
=>
5004
,
'msg'
=>
'数据不存在'
];
const
E5102
=
[
'code'
=>
400
,
'errCode'
=>
5102
,
'msg'
=>
'手机号不正确'
];
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'
=>
'该手机号已注册过店铺'
];
const
E5205
=
[
'code'
=>
400
,
'errCode'
=>
5205
,
'msg'
=>
'查询不到该店铺的认证信息'
];
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
static
function
getError
(
$code
)
{
$reflect
=
new
\ReflectionClass
(
__CLASS__
);
return
$reflect
->
getConstant
(
'E'
.
$code
);
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment