|
@@ -39,9 +39,9 @@ class ShopController extends Controller {
|
|
|
'mobile' => 'required|max:11',
|
|
|
'address' => 'required|string',
|
|
|
'province_name' => 'required|string|max:50',
|
|
|
- 'province_id' => 'required|integer|max:6',
|
|
|
+ 'province_id' => 'required|integer|digits_between:1,7',
|
|
|
'city_name' => 'required|string:max:50',
|
|
|
- 'city_id' => 'required|integer|max:6',
|
|
|
+ 'city_id' => 'required|integer|digits_between:1,7',
|
|
|
'contact_name' => 'string|max:50',
|
|
|
'contact_mobile' => 'max:16',
|
|
|
'shop_desc' => 'string|max:500',
|
|
@@ -86,9 +86,9 @@ class ShopController extends Controller {
|
|
|
'mobile' => 'required|max:11',
|
|
|
'address' => 'required|string',
|
|
|
'province_name' => 'required|string|max:50',
|
|
|
- 'province_id' => 'required|integer|max:6',
|
|
|
+ 'province_id' => 'required|integer|digits_between:1,7',
|
|
|
'city_name' => 'required|string:max:50',
|
|
|
- 'city_id' => 'required|integer|max:6',
|
|
|
+ 'city_id' => 'required|integer|digits_between:1,7',
|
|
|
'contact_name' => 'string|max:50',
|
|
|
'contact_mobile' => 'max:16',
|
|
|
'shop_desc' => 'string|max:500',
|