Bläddra i källkod

Merge branch 'v4.7.0dev' of https://gitee.com/ZhongBangKeJi/CRMEB into v4.7.0dev

From-wh 2 år sedan
förälder
incheckning
ab5d4b3eec

+ 10 - 0
crmeb/app/adminapi/controller/v1/product/StoreCategory.php

@@ -57,7 +57,11 @@ class StoreCategory extends AuthController
 
 
     /**
     /**
      * 商品分类搜索
      * 商品分类搜索
+     * @param $type
      * @return mixed
      * @return mixed
+     * @throws \think\db\exception\DataNotFoundException
+     * @throws \think\db\exception\DbException
+     * @throws \think\db\exception\ModelNotFoundException
      */
      */
     public function tree_list($type)
     public function tree_list($type)
     {
     {
@@ -103,6 +107,9 @@ class StoreCategory extends AuthController
     /**
     /**
      * 保存新增分类
      * 保存新增分类
      * @return mixed
      * @return mixed
+     * @throws \think\db\exception\DataNotFoundException
+     * @throws \think\db\exception\DbException
+     * @throws \think\db\exception\ModelNotFoundException
      */
      */
     public function save()
     public function save()
     {
     {
@@ -133,6 +140,9 @@ class StoreCategory extends AuthController
      * 更新分类
      * 更新分类
      * @param $id
      * @param $id
      * @return mixed
      * @return mixed
+     * @throws \think\db\exception\DataNotFoundException
+     * @throws \think\db\exception\DbException
+     * @throws \think\db\exception\ModelNotFoundException
      */
      */
     public function update($id)
     public function update($id)
     {
     {

+ 1 - 1
crmeb/app/services/order/StoreOrderServices.php

@@ -2638,7 +2638,7 @@ HTML;
 
 
                 $data['pay_price'] = $info['pay_price'];
                 $data['pay_price'] = $info['pay_price'];
                 $data['pay_postage'] = $info['pay_postage'];
                 $data['pay_postage'] = $info['pay_postage'];
-                $data['offline_postage'] = sys_config('offline_postage', 0);
+                $data['offline_postage'] = (int)sys_config('offline_postage', 0);
                 $data['invalid_time'] = $time;
                 $data['invalid_time'] = $time;
 
 
                 break;
                 break;

+ 1 - 1
template/admin/src/pages/marketing/live/add_goods.vue

@@ -106,7 +106,7 @@ export default {
       columns1: [
       columns1: [
         { key: 'id', title: '商品ID' },
         { key: 'id', title: '商品ID' },
         { slot: 'img', title: '商品信息' },
         { slot: 'img', title: '商品信息' },
-        { slot: 'price', title: '直播售价' },
+        { key: 'price', title: '直播售价' },
         // {
         // {
         //   key: 'price',
         //   key: 'price',
         //   title: '直播售价',
         //   title: '直播售价',