作者 lyh

hx

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