|
@@ -215,8 +215,10 @@ class After extends \app\BaseController
|
|
|
return error_show(1003, "未找到商品数据");
|
|
|
}
|
|
|
$int = isset($goon['cat_id']) && $goon['cat_id'] != 0 ? made($goon['cat_id']) : [];
|
|
|
- $info["addr_cn"]=GetAddr($info['addr_code']);
|
|
|
- $info["addr_code"]=json_decode($info['addr_code'],true);
|
|
|
+ list($a,$b,$c)=explode(",",$info['addr_code']);
|
|
|
+ $addcode =json_encode(["provice_code"=>$a,"city_code"=>$b,"area_code"=>$c]);
|
|
|
+ $info["addr_cn"]=GetAddr($addcode);
|
|
|
+ // $info["addr_code"]=json_decode($addcode,true);
|
|
|
$out =Db::name("order_out")->where(["outCode"=>$info['outCode']])->find();
|
|
|
$info['out_num'] = isset($out['send_num'])?$out['send_num']:'';
|
|
|
// $customer = Db::name("customer_info")->where(["companyNo"=>$info['customer_code']])->find();
|