|
|
@@ -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()
|
|
|
{
|