作者 jiawen
1 个管道 的构建 通过 耗费 4 秒

编辑产品去掉说明校验校验

... ... @@ -264,8 +264,8 @@ class ProductController extends RestBaseController
* @param name:information type:int require:1 other: desc:个人信息
* @param name:car type:int require:1 other: desc:车辆信息1全款车0无3分期车
* @param name:loan_flow type:int require:1 other: desc:贷款流程
* @param name:fee_explain type:int require:1 other: desc:费用说明
* @param name:refund_explain type:int require:1 other: desc:还款说明
* @param name:fee_explain type:int require:0 other: desc:费用说明
* @param name:refund_explain type:int require:0 other: desc:还款说明
* @param name:remark type:int require:0 other: desc:备注
*
*/
... ... @@ -285,8 +285,8 @@ class ProductController extends RestBaseController
'information' => 'require',
'car' => 'require',
'loan_flow' => 'require',
'fee_explain' => 'require',
'refund_explain' => 'require',
//'fee_explain' => 'require',
//'refund_explain' => 'require',
]);
$validate->message([
... ... @@ -304,8 +304,8 @@ class ProductController extends RestBaseController
'information.require' => '缺少参数information!',
'car.require' => '缺少参数car!',
'loan_flow.require' => '缺少参数loan_flow!',
'fee_explain.require' => '缺少参数fee_explain!',
'refund_explain.require' => '缺少参数refund_explain!',
//'fee_explain.require' => '缺少参数fee_explain!',
//'refund_explain.require' => '缺少参数refund_explain!',
]);
$data = $this->request->param();
... ...