|
|
@@ -62,6 +62,9 @@ class GoodsController extends webApp
|
|
|
public function freight()
|
|
|
{
|
|
|
$addressId = request()->post('address_id', 0);
|
|
|
+ if($addressId<=0){
|
|
|
+ return showJson(1009, false);
|
|
|
+ }
|
|
|
$info = GoodsService::make()->getFreight($this->userId, $addressId);
|
|
|
return showJson(1010, true, $info);
|
|
|
}
|