Commit cccc9bf5 by 孙龙

订单详情

parent 134ed8cb
...@@ -180,6 +180,7 @@ class OrderApiController extends BaseController ...@@ -180,6 +180,7 @@ class OrderApiController extends BaseController
$data["phone"] = arrayGet($reqParams,"phone","","trim"); $data["phone"] = arrayGet($reqParams,"phone","","trim");
$data["country"] = arrayGet($reqParams,"country",0,"intval"); $data["country"] = arrayGet($reqParams,"country",0,"intval");
$data["country_name"] = arrayGet($reqParams,"country_name","","trim"); $data["country_name"] = arrayGet($reqParams,"country_name","","trim");
$data["post_code"] = arrayGet($reqParams,"post_code","","trim");
$data["province"] = arrayGet($reqParams,"province","","trim"); $data["province"] = arrayGet($reqParams,"province","","trim");
$data["city"] = arrayGet($reqParams,"city","","trim"); $data["city"] = arrayGet($reqParams,"city","","trim");
$data["detail_address"] = arrayGet($reqParams,"detail_address","","trim"); $data["detail_address"] = arrayGet($reqParams,"detail_address","","trim");
......
...@@ -209,6 +209,7 @@ class OrderService extends BaseService ...@@ -209,6 +209,7 @@ class OrderService extends BaseService
"country"=>$data["country"], "country"=>$data["country"],
"country_name"=>$data["country_name"], "country_name"=>$data["country_name"],
"province"=>$data["province"], "province"=>$data["province"],
"post_code"=>$data["post_code"],
"city"=>$data["city"], "city"=>$data["city"],
"detail_address"=>$data["detail_address"], "detail_address"=>$data["detail_address"],
"create_time"=>time(), "create_time"=>time(),
......
...@@ -251,8 +251,10 @@ ...@@ -251,8 +251,10 @@
<div class="show" style="display: none;width: 158px;"> <div class="show" style="display: none;width: 158px;">
<input type="hidden" name="country_name" value=""> <input type="hidden" name="country_name" value="">
<select name="country" lay-ignore="" style="height: 30px;border: 1px solid #eee;background: transparent;width: 100%;"> <select name="country" lay-ignore="" style="height: 30px;border: 1px solid #eee;background: transparent;width: 100%;">
<option data="Afghanistan" value="1">Afghanistan</option> @foreach(\App\Models\Country::getCountryMap() as $cid=>$cname)
<option data="Aland Islands" value="2">Aland Islands</option> <option data=">{{$cname}}" value="{{$cid}}">{{$cname}}</option>
@endforeach
</select> </select>
</div> </div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment