作者 lyh

hx

@@ -300,9 +300,9 @@ class InquiryController extends BaseController @@ -300,9 +300,9 @@ class InquiryController extends BaseController
300 */ 300 */
301 public function tranCountry(InquiryLogic $logic){ 301 public function tranCountry(InquiryLogic $logic){
302 $this->request->validate([ 302 $this->request->validate([
303 - 'phone_region' => 'required', 303 + 'country_code' => 'required',
304 ],[ 304 ],[
305 - 'phone_region.required' => '国家译文不能为空' 305 + 'country_code.required' => '国家译文不能为空'
306 ]); 306 ]);
307 $data = $logic->tranCountry(); 307 $data = $logic->tranCountry();
308 $this->response('success',Code::SUCCESS,$data); 308 $this->response('success',Code::SUCCESS,$data);