diff --git a/application/service/BuyService.php b/application/service/BuyService.php index 074ed557c..7d7e42374 100755 --- a/application/service/BuyService.php +++ b/application/service/BuyService.php @@ -1019,6 +1019,9 @@ class BuyService // 删除购物车 self::BuyCartDelete($params); + // 获取数据库订单信息 + $order = Db::name('Order')->find($order_id); + // 订单添加成功钩子, 不校验返回值 $hook_name = 'plugins_service_buy_order_insert_success'; Hook::listen($hook_name, [ @@ -1031,9 +1034,6 @@ class BuyService 'params' => $params, ]); - // 获取数据库订单信息 - $order = Db::name('Order')->find($order_id); - // 返回信息 $result = [ 'order' => $order, diff --git a/public/appmini/old/toutiao/pages/index/index.json b/public/appmini/old/toutiao/pages/index/index.json index b3298e1be..7d3a94bab 100755 --- a/public/appmini/old/toutiao/pages/index/index.json +++ b/public/appmini/old/toutiao/pages/index/index.json @@ -1,5 +1,9 @@ { "enablePullDownRefresh": true, + "navigationBarBackgroundColor": "#d2364c", + "backgroundColorTop": "#d2364c", + "backgroundColorBottom": "#f5f5f5", + "backgroundTextStyle": "light", "usingComponents": { "component-icon-nav": "/components/icon-nav/icon-nav", "component-banner": "/components/slider/slider" diff --git a/public/appmini/old/toutiao/pages/user/user.json b/public/appmini/old/toutiao/pages/user/user.json index 1e8b450ba..ae3d41bb5 100755 --- a/public/appmini/old/toutiao/pages/user/user.json +++ b/public/appmini/old/toutiao/pages/user/user.json @@ -1,5 +1,9 @@ { "enablePullDownRefresh": true, + "navigationBarBackgroundColor": "#d2364c", + "backgroundColorTop": "#d2364c", + "backgroundColorBottom": "#f5f5f5", + "backgroundTextStyle": "light", "usingComponents": { "component-badge": "/components/badge/badge" }