Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
887ed048
Commit
887ed048
authored
Aug 29, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
7f5821ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
31 deletions
+0
-31
UserGetLastOrNextUserIdPhoneFollowPuValidate.php
...validate/UserGetLastOrNextUserIdPhoneFollowPuValidate.php
+0
-31
No files found.
application/api_broker/validate/UserGetLastOrNextUserIdPhoneFollowPuValidate.php
deleted
100644 → 0
View file @
7f5821ee
<?php
namespace
app\api_broker\validate
;
use
think\Validate
;
/**
* Created by PhpStorm.
* User: zhuwei
* Date: 2018/8/7
* Time: 13:54:12
*/
class
UserGetLastOrNextUserIdValidate
extends
Validate
{
protected
$rule
=
[
'type'
=>
'require'
,
'agent_id'
=>
'require|number|gt:0'
,
'id'
=>
'require|number|gt:0'
];
protected
$message
=
[
'type.require'
=>
'网络异常!错误代码:uv1'
,
//type为必填字段
'agent_id.require'
=>
'agent_id为必填字段'
,
//agent_id为必填字段
'agent_id.number'
=>
'网络异常!错误代码:uv4'
,
//agent_id只能为数字
'agent_id.gt'
=>
'网络异常!错误代码:uv5'
,
//agent_id必须大于0
'id.require'
=>
'id为必填字段'
,
//user_id为必填字段
'id.number'
=>
'网络异常!错误代码:uv7'
,
//user_id只能为数字
'id.gt'
=>
'网络异常!错误代码:uv8'
,
//user_id必须大于0
];
protected
$scene
=
[
'add_phone_follow_up_verify'
=>
[
'id'
,
'agent_id'
,
'type'
],
];
}
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