...
|
...
|
@@ -131,6 +131,13 @@ class User extends Api |
|
|
$this->success('成功', $return);
|
|
|
}
|
|
|
|
|
|
public function ceshi()
|
|
|
{
|
|
|
$GuanYiCloud = new GuanYiCloud();
|
|
|
$bool = $GuanYiCloud->getvip('oMRWOwVjcIuwpOW1XL4jIn7ngWfU');
|
|
|
dump($bool);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 用户接口
|
|
|
* @ApiTitle (绑定手机号)
|
...
|
...
|
@@ -525,7 +532,7 @@ class User extends Api |
|
|
$params = $this->request->param();
|
|
|
$IsInvite1 = Db::name('group')->where('user_id', $UserId)->find();
|
|
|
// $IsInvite2 = Db::name('group')->where('fuser_id', $UserId)->find();
|
|
|
if ($UserId != $params['user_id']&&empty($IsInvite1)) {
|
|
|
if ($UserId != $params['user_id'] && empty($IsInvite1)) {
|
|
|
//添加绑定关系
|
|
|
$IsInvite = Db::name('group')->where('user_id', $UserId)->where('fuser_id', $params['user_id'])->find();
|
|
|
if (!empty($IsInvite)) {
|
...
|
...
|
|