|
|
@@ -252,7 +252,6 @@ class PurchaseController extends BaseController
|
|
|
{
|
|
|
$post = Yii::$app->request->post();
|
|
|
$ghsId = $post['ghsId'] ?? 0;
|
|
|
- $ghsId = 31;
|
|
|
//供货商
|
|
|
$ghsInfo = GhsClass::getById($ghsId);
|
|
|
if (empty($ghsInfo)) {
|
|
|
@@ -260,7 +259,7 @@ class PurchaseController extends BaseController
|
|
|
}
|
|
|
//花材信息
|
|
|
$productJson = $post['product'] ?? '';
|
|
|
- $productJson = '[{"productId":31993,"bigNum":1,"smallNum":0}]';
|
|
|
+ // $productJson = '[{"productId":31993,"bigNum":1,"smallNum":0}]';
|
|
|
if (empty($productJson)) {
|
|
|
util::fail('请选择花材');
|
|
|
}
|
|
|
@@ -333,7 +332,7 @@ class PurchaseController extends BaseController
|
|
|
$info['lat'] = $customInfo['lat']??'';;
|
|
|
$info['long'] = $customInfo['long']??'';;
|
|
|
$info['sendTime'] = $sendTime;
|
|
|
-
|
|
|
+
|
|
|
$res = DadaExpressServices::queryDeliverFee($info);
|
|
|
util::success(['sedCost' => $res['fee']]);
|
|
|
|