商户添加保证金字段
This commit is contained in:
parent
b5b24dece8
commit
0caae6110d
@ -187,7 +187,7 @@ class Merchant extends BaseController
|
|||||||
*/
|
*/
|
||||||
public function checkParam(MerchantValidate $validate, $isUpdate = false)
|
public function checkParam(MerchantValidate $validate, $isUpdate = false)
|
||||||
{
|
{
|
||||||
$data = $this->request->params([['area_id',0],['street_id',0],['village_id',0],['category_id', 0], ['type_id', 0], 'mer_name', 'commission_rate', 'real_name', 'mer_phone', 'mer_keyword', 'mer_address', 'mark', ['sort', 0], ['status', 0], ['is_audit', 0], ['is_best', 0], ['is_bro_goods', 0], ['is_bro_room', 0], ['is_trader', 0],'sub_mchid']);
|
$data = $this->request->params([['area_id',0],['street_id',0],['village_id',0],['category_id', 0], ['type_id', 0], 'mer_name', 'commission_rate', 'real_name', 'mer_phone', 'mer_keyword', 'mer_address', 'mark', ['sort', 0], ['status', 0], ['is_audit', 0], ['is_best', 0], ['is_bro_goods', 0], ['is_bro_room', 0], ['is_trader', 0],'sub_mchid', 'auto_margin_rate', 'paid_margin']);
|
||||||
if (!$isUpdate) {
|
if (!$isUpdate) {
|
||||||
$data += $this->request->params(['mer_account', 'mer_password']);
|
$data += $this->request->params(['mer_account', 'mer_password']);
|
||||||
}else {
|
}else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user