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

1、产品说明,还款说明 调整为不是必填项

2、“放款时间” 表单去掉,不需要了
@@ -170,8 +170,8 @@ class ProductController extends RestBaseController @@ -170,8 +170,8 @@ class ProductController extends RestBaseController
170 * @param name:information type:int require:1 other: desc:个人信息 170 * @param name:information type:int require:1 other: desc:个人信息
171 * @param name:car type:int require:1 other: desc:车辆信息1全款车0无3分期车 171 * @param name:car type:int require:1 other: desc:车辆信息1全款车0无3分期车
172 * @param name:loan_flow type:int require:1 other: desc:贷款流程 172 * @param name:loan_flow type:int require:1 other: desc:贷款流程
173 - * @param name:fee_explain type:int require:1 other: desc:费用说明  
174 - * @param name:refund_explain type:int require:1 other: desc:还款说明 173 + * @param name:fee_explain type:int require:0 other: desc:费用说明
  174 + * @param name:refund_explain type:int require:0 other: desc:还款说明
175 * @param name:remark type:int require:0 other: desc:备注 175 * @param name:remark type:int require:0 other: desc:备注
176 * 176 *
177 */ 177 */
@@ -183,15 +183,15 @@ class ProductController extends RestBaseController @@ -183,15 +183,15 @@ class ProductController extends RestBaseController
183 'lower_limit' => 'require', 183 'lower_limit' => 'require',
184 'rate' => 'require', 184 'rate' => 'require',
185 'loan_period' => 'require', 185 'loan_period' => 'require',
186 - 'loan_time' => 'require', 186 + //'loan_time' => 'require',
187 'job' => 'require', 187 'job' => 'require',
188 'policy' => 'require', 188 'policy' => 'require',
189 'house' => 'require', 189 'house' => 'require',
190 'information' => 'require', 190 'information' => 'require',
191 'car' => 'require', 191 'car' => 'require',
192 'loan_flow' => 'require', 192 'loan_flow' => 'require',
193 - 'fee_explain' => 'require',  
194 - 'refund_explain' => 'require', 193 + //'fee_explain' => 'require',
  194 + //'refund_explain' => 'require',
195 ]); 195 ]);
196 196
197 $validate->message([ 197 $validate->message([
@@ -201,15 +201,15 @@ class ProductController extends RestBaseController @@ -201,15 +201,15 @@ class ProductController extends RestBaseController
201 'lower_limit.require' => '缺少参数lower_limit!', 201 'lower_limit.require' => '缺少参数lower_limit!',
202 'rate.require' => '缺少参数rate!', 202 'rate.require' => '缺少参数rate!',
203 'loan_period.require' => '缺少参数loan_period!', 203 'loan_period.require' => '缺少参数loan_period!',
204 - 'loan_time.require' => '缺少参数loan_time!', 204 + // 'loan_time.require' => '缺少参数loan_time!',
205 'job.require' => '缺少参数job!', 205 'job.require' => '缺少参数job!',
206 'policy.require' => '缺少参数policy!', 206 'policy.require' => '缺少参数policy!',
207 'house.require' => '缺少参数house!', 207 'house.require' => '缺少参数house!',
208 'information.require' => '缺少参数information!', 208 'information.require' => '缺少参数information!',
209 'car.require' => '缺少参数car!', 209 'car.require' => '缺少参数car!',
210 'loan_flow.require' => '缺少参数loan_flow!', 210 'loan_flow.require' => '缺少参数loan_flow!',
211 - 'fee_explain.require' => '缺少参数fee_explain!',  
212 - 'refund_explain.require' => '缺少参数refund_explain!', 211 + //'fee_explain.require' => '缺少参数fee_explain!',
  212 + //'refund_explain.require' => '缺少参数refund_explain!',
213 ]); 213 ]);
214 214
215 $data = $this->request->param(); 215 $data = $this->request->param();
@@ -224,7 +224,7 @@ class ProductController extends RestBaseController @@ -224,7 +224,7 @@ class ProductController extends RestBaseController
224 'lower_limit' => $data['lower_limit'], 224 'lower_limit' => $data['lower_limit'],
225 'rate' => $data['rate'], 225 'rate' => $data['rate'],
226 'loan_period' => $data['loan_period'], 226 'loan_period' => $data['loan_period'],
227 - 'loan_time' => $data['loan_time'], 227 + //'loan_time' => $data['loan_time'],
228 'job' => $data['job'], 228 'job' => $data['job'],
229 'policy' => $data['policy'], 229 'policy' => $data['policy'],
230 'house' => $data['house'], 230 'house' => $data['house'],