...
|
...
|
@@ -41,7 +41,7 @@ class IndexController extends WeChatBaseController |
|
|
if($data_my_user['status'] == 0 || $data_my_user['status'] == 1 || $data_my_user['status'] == 5 || $data_my_user['status'] == 6){
|
|
|
$data_id = $this -> request -> param();
|
|
|
//判断跳转链接是否存在数据 存在则绑定关系
|
|
|
if(!empty($data_id)){
|
|
|
if(!empty($data_id['my_user_id'])){
|
|
|
//判断上级权限是否存在
|
|
|
$my_user = Db::name('my_user') -> where('id',$data_id['my_user_id']) -> find();
|
|
|
if(empty($my_user)){
|
...
|
...
|
@@ -144,7 +144,7 @@ class IndexController extends WeChatBaseController |
|
|
}else{
|
|
|
$data_id = $this -> request -> param();
|
|
|
//判断跳转链接是否存在数据 如果不存在添加一条自由人用户
|
|
|
if(!empty($data_id)){
|
|
|
if(!empty($data_id['my_user_id'])){
|
|
|
//判断上级权限是否存在
|
|
|
$my_user = Db::name('my_user') -> where('id',$data_id['my_user_id']) -> find();
|
|
|
if(empty($my_user)){
|
...
|
...
|
|