正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -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); |
-
请 注册 或 登录 后发表评论