...
|
...
|
@@ -131,15 +131,15 @@ class User extends Api |
|
|
$this->success('成功', $return);
|
|
|
}
|
|
|
|
|
|
public function ceshi()
|
|
|
{
|
|
|
$GuanYiCloud = new GuanYiCloud();
|
|
|
$bool = $GuanYiCloud->getvip('oMRWOwVjcIuwpOW1XL4jIn7ngWfU');
|
|
|
if ($bool == 1) {
|
|
|
$GuanYiCloud->addVip('oMRWOwVjcIuwpOW1XL4jIn7ngWfU', 'ceshi');
|
|
|
}
|
|
|
dump($bool);
|
|
|
}
|
|
|
// public function ceshi()
|
|
|
// {
|
|
|
// $GuanYiCloud = new GuanYiCloud();
|
|
|
// $bool = $GuanYiCloud->getvip('oMRWOwVjcIuwpOW1XL4jIn7ngWfU');
|
|
|
// if ($bool == 0) {
|
|
|
// $GuanYiCloud->addVip('oMRWOwVjcIuwpOW1XL4jIn7ngWfU', 'ceshi');
|
|
|
// }
|
|
|
// dump($bool);
|
|
|
// }
|
|
|
|
|
|
/**
|
|
|
* 用户接口
|
...
|
...
|
|