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
46c6aa4b
Commit
46c6aa4b
authored
Jul 26, 2019
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
f5b7d836
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
StoreFeeValidate.php
application/api_broker/validate/StoreFeeValidate.php
+6
-2
No files found.
application/api_broker/validate/StoreFeeValidate.php
View file @
46c6aa4b
...
@@ -21,6 +21,7 @@ class StoreFeeValidate extends Validate
...
@@ -21,6 +21,7 @@ class StoreFeeValidate extends Validate
'agent_id'
=>
'require|number'
,
'agent_id'
=>
'require|number'
,
'store_id'
=>
'require|number'
,
'store_id'
=>
'require|number'
,
'site_id'
=>
'require|number'
,
'site_id'
=>
'require|number'
,
'office_id'
=>
'require|number'
,
];
];
protected
$message
=
[
protected
$message
=
[
...
@@ -34,6 +35,8 @@ class StoreFeeValidate extends Validate
...
@@ -34,6 +35,8 @@ class StoreFeeValidate extends Validate
'agent_id.number'
=>
'申请人只能为数字'
,
'agent_id.number'
=>
'申请人只能为数字'
,
'store_id.require'
=>
'门店不能为空'
,
'store_id.require'
=>
'门店不能为空'
,
'store_id.number'
=>
'状门店只能为数字'
,
'store_id.number'
=>
'状门店只能为数字'
,
'office_id.require'
=>
'办公室不能为空'
,
'office_id.number'
=>
'办公室id只能为数字'
,
'site_id.require'
=>
'站点不能为空'
,
'site_id.require'
=>
'站点不能为空'
,
'site_id.number'
=>
'站点只能为数字'
,
'site_id.number'
=>
'站点只能为数字'
,
'id.require'
=>
'id必传'
,
'id.require'
=>
'id必传'
,
...
@@ -42,8 +45,8 @@ class StoreFeeValidate extends Validate
...
@@ -42,8 +45,8 @@ class StoreFeeValidate extends Validate
];
];
protected
$scene
=
[
protected
$scene
=
[
'addApplyFor'
=>
[
'type'
,
'fee_item'
,
'total_fee'
,
'agent_id'
,
'stor
e_id'
,
'assume_fee'
,
'site_id'
],
'addApplyFor'
=>
[
'type'
,
'fee_item'
,
'total_fee'
,
'agent_id'
,
'store_id'
,
'offic
e_id'
,
'assume_fee'
,
'site_id'
],
'pcAddApplyFor'
=>
[
'type'
,
'total_fee'
,
'agent_id'
,
'store_id'
,
'assume_fee'
,
'site_id'
],
'pcAddApplyFor'
=>
[
'type'
,
'total_fee'
,
'agent_id'
,
'store_id'
,
'assume_fee'
,
'site_id'
],
'pcEditApplyFor'
=>
[
'id'
,
'type'
,
'total_fee'
,
'agent_id'
,
'store_id'
,
'assume_fee'
,
'site_id'
]
'pcEditApplyFor'
=>
[
'id'
,
'type'
,
'total_fee'
,
'agent_id'
,
'store_id'
,
'assume_fee'
,
'site_id'
]
];
];
}
}
\ 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