shish 5 years ago
parent
commit
a1d8223bbe

+ 1 - 1
app-mall/controllers/CustomController.php

@@ -18,7 +18,7 @@ class CustomController extends BaseController
         if (empty($custom)) {
             util::fail('没有找到客户信息');
         }
-        util::success(['custom' => $custom]);
+        util::success($custom);
     }
 
 }

+ 0 - 20
app-mall/controllers/UserController.php

@@ -172,26 +172,6 @@ class UserController extends BaseController
         util::complete('注册成功');
     }
 
-    //用户基本信息和资产 ssh 2019.12.19
-    public function actionMyProfile()
-    {
-        $custom = $this->custom;
-        $growth = $custom['growth'] ?? 0;
-        $extend = $this->sjExtend;
-        $grade = MerchantExtendService::getGradeList($extend, 'asc');
-        //下个等级的积分
-        $nextLevelGrowth = 0;
-        foreach ($grade as $val) {
-            $currentGrowth = $val['growth'];
-            if ($currentGrowth > $growth) {
-                $nextLevelGrowth = $currentGrowth;
-                break;
-            }
-        }
-        $custom['userAsset']['nextLevelGrowth'] = $nextLevelGrowth;
-        util::success($custom);
-    }
-
     //登陆客户的信息 ssh 2020.3.12
     public function actionLoginDetail()
     {

+ 1 - 1
common/components/dict.php

@@ -10,7 +10,7 @@ class dict
     public static $data = [
 
         //需要显示国兰的信息 0不需要 1需要(要审核小程序请显示国兰信息)
-        'showGlInfo' => 1,
+        'showGlInfo' => 0,
         //显示零售和供货商的演示入口
         'showDemo' => 1,
         //零售演示的管理员id