瀏覽代碼

送货上门优化

shish 1 月之前
父節點
當前提交
d1f6883898
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      app-ghs/controllers/CustomController.php

+ 6 - 0
app-ghs/controllers/CustomController.php

@@ -1094,6 +1094,8 @@ class CustomController extends BaseController
         $id = $get['id'] ?? 0;
         $homeAmount = $get['homeAmount'] ?? 0;
         $homeNum = $get['homeNum'] ?? 0;
+        $homeUnMeet = $get['homeUnMeet'] ?? 2;
+        $homeUnFee = $get['homeUnFee'] ?? 0;
         if (isset($get['homeType'])) {
             //早期系统有带这个参数,来判断
             util::fail('请升级系统');
@@ -1112,9 +1114,13 @@ class CustomController extends BaseController
         }
         $custom->homeAmount = $homeAmount;
         $custom->homeNum = $homeNum;
+        $custom->homeUnMeet = $homeUnMeet;
+        $custom->homeUnFee = $homeUnFee;
         $custom->save();
         $ghs->homeAmount = $homeAmount;
         $ghs->homeNum = $homeNum;
+        $ghs->homeUnMeet = $homeUnMeet;
+        $ghs->homeUnFee = $homeUnFee;
         $ghs->save();
         util::complete('修改成功');
     }