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

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

@@ -264,8 +264,8 @@ class ProductController extends RestBaseController @@ -264,8 +264,8 @@ class ProductController extends RestBaseController
264 * @param name:information type:int require:1 other: desc:个人信息 264 * @param name:information type:int require:1 other: desc:个人信息
265 * @param name:car type:int require:1 other: desc:车辆信息1全款车0无3分期车 265 * @param name:car type:int require:1 other: desc:车辆信息1全款车0无3分期车
266 * @param name:loan_flow type:int require:1 other: desc:贷款流程 266 * @param name:loan_flow type:int require:1 other: desc:贷款流程
267 - * @param name:fee_explain type:int require:1 other: desc:费用说明  
268 - * @param name:refund_explain type:int require:1 other: desc:还款说明 267 + * @param name:fee_explain type:int require:0 other: desc:费用说明
  268 + * @param name:refund_explain type:int require:0 other: desc:还款说明
269 * @param name:remark type:int require:0 other: desc:备注 269 * @param name:remark type:int require:0 other: desc:备注
270 * 270 *
271 */ 271 */
@@ -285,8 +285,8 @@ class ProductController extends RestBaseController @@ -285,8 +285,8 @@ class ProductController extends RestBaseController
285 'information' => 'require', 285 'information' => 'require',
286 'car' => 'require', 286 'car' => 'require',
287 'loan_flow' => 'require', 287 'loan_flow' => 'require',
288 - 'fee_explain' => 'require',  
289 - 'refund_explain' => 'require', 288 + //'fee_explain' => 'require',
  289 + //'refund_explain' => 'require',
290 ]); 290 ]);
291 291
292 $validate->message([ 292 $validate->message([
@@ -304,8 +304,8 @@ class ProductController extends RestBaseController @@ -304,8 +304,8 @@ class ProductController extends RestBaseController
304 'information.require' => '缺少参数information!', 304 'information.require' => '缺少参数information!',
305 'car.require' => '缺少参数car!', 305 'car.require' => '缺少参数car!',
306 'loan_flow.require' => '缺少参数loan_flow!', 306 'loan_flow.require' => '缺少参数loan_flow!',
307 - 'fee_explain.require' => '缺少参数fee_explain!',  
308 - 'refund_explain.require' => '缺少参数refund_explain!', 307 + //'fee_explain.require' => '缺少参数fee_explain!',
  308 + //'refund_explain.require' => '缺少参数refund_explain!',
309 ]); 309 ]);
310 310
311 $data = $this->request->param(); 311 $data = $this->request->param();