|
@@ -110,9 +110,9 @@ class Good extends Base
|
|
|
'offline_remark|下线备注'=>'requireIf:exam_status,5|max:255',
|
|
|
'plat_code|平台商品编码'=>'requireIf:exam_status,3|max:255',
|
|
|
'exam_remark|审核备注'=>'max:255',
|
|
|
- 'good_ladder|售价阶梯'=>'requireIf:exam_status,3|array',
|
|
|
- 'proof_type|售价凭证类型'=>'requireIf:exam_status,3|number|gt:0',
|
|
|
- 'proof_url|售价凭证'=>'requireIf:exam_status,3|max:255',
|
|
|
+ 'good_ladder|售价阶梯'=>'requireIf:exam_status,6|array',
|
|
|
+ 'proof_type|售价凭证类型'=>'requireIf:exam_status,6|number|gt:0',
|
|
|
+ 'proof_url|售价凭证'=>'requireIf:exam_status,6|max:255',
|
|
|
]);
|
|
|
if($valide->check($post)==false) $this->error($valide->getError());
|
|
|
$goodPlat = new GoodPlatform();
|
|
@@ -158,7 +158,7 @@ class Good extends Base
|
|
|
];
|
|
|
$inr=(new GoodExam())->save($data);
|
|
|
if($inr){
|
|
|
- if ($post['exam_status'] == 2) {
|
|
|
+ if ($post['exam_status'] == 6) {
|
|
|
//todo::需要去掉;
|
|
|
if($post['proof_url']!=''){
|
|
|
$proof=[
|