分销推广添加消费截图
This commit is contained in:
parent
fbf15abc39
commit
abc3fa8729
@ -106,7 +106,8 @@ class DistributionLogic extends Logic
|
||||
//'id_card' => $post['id_card'], // todo 弃用该字段
|
||||
'front_id_card' => $post['front_id_card'],
|
||||
'back_id_card' => $post['back_id_card'],
|
||||
'hand_id_card' => $post['hand_id_card']
|
||||
'hand_id_card' => $post['hand_id_card'],
|
||||
'cost_card' => $post['cost_card']
|
||||
];
|
||||
|
||||
\app\common\logic\DistributionLogic::add($post['user_id']);
|
||||
|
||||
@ -23,6 +23,7 @@ class DistributionValidate extends Validate
|
||||
'front_id_card' => 'require',
|
||||
'back_id_card' => 'require',
|
||||
'hand_id_card' => 'require',
|
||||
'cost_card' => 'require',
|
||||
];
|
||||
|
||||
protected $message = [
|
||||
@ -41,6 +42,7 @@ class DistributionValidate extends Validate
|
||||
'front_id_card.require' => '请上传身份证正面',
|
||||
'back_id_card.require' => '请上传身份证反面',
|
||||
'hand_id_card.require' => '请上传手持身份证照片',
|
||||
'cost_card.require' => '请上传消费截图',
|
||||
];
|
||||
|
||||
/**
|
||||
@ -48,7 +50,7 @@ class DistributionValidate extends Validate
|
||||
*/
|
||||
public function sceneApply()
|
||||
{
|
||||
return $this->only(['user_id','real_name','mobile','province','city','district','reason', 'front_id_card', 'back_id_card', 'hand_id_card']);
|
||||
return $this->only(['user_id','real_name','mobile','province','city','district','reason', 'front_id_card', 'back_id_card', 'hand_id_card', 'cost_card']);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user