|
|
@ -58,10 +58,10 @@ class Identity extends BaseService |
|
|
|
{ |
|
|
|
{ |
|
|
|
// 当期用户信息 |
|
|
|
// 当期用户信息 |
|
|
|
$userInfo = UserService::getCurrentLoginUser(true); |
|
|
|
$userInfo = UserService::getCurrentLoginUser(true); |
|
|
|
//是否分销商 |
|
|
|
// //是否分销商 |
|
|
|
if (UserService::isDealerMember() || UserService::isStore()) { |
|
|
|
// if (UserService::isDealerMember() || UserService::isStore()) { |
|
|
|
throwError('非法操作'); |
|
|
|
// throwError('非法操作'); |
|
|
|
} |
|
|
|
// } |
|
|
|
// 获取充值方案列表 |
|
|
|
// 获取充值方案列表 |
|
|
|
$model = new \app\api\model\user\Identity(); |
|
|
|
$model = new \app\api\model\user\Identity(); |
|
|
|
$planList = $model->getList(['type' => IdentityEnum::MEMBER]); |
|
|
|
$planList = $model->getList(['type' => IdentityEnum::MEMBER]); |
|
|
|