作者 王智

文档修改

... ... @@ -76,6 +76,7 @@ class GuanYiCloud extends Api
$data['receive_infos'] = $receive_infos;
$data['sign'] = $this->sign($data, SECRET);
$Rult = json_decode(json_encode(json_decode($this->mycurl(URL, $data))), true);
return $Rult;
// if ($Rult['success'] == false) {
// $this->error('失败');
// }
... ...
... ... @@ -135,6 +135,10 @@ class User extends Api
{
$GuanYiCloud = new GuanYiCloud();
$bool = $GuanYiCloud->getvip('oMRWOwVjcIuwpOW1XL4jIn7ngWfU');
if ($bool == 0) {
$Error=$GuanYiCloud->addVip('oMRWOwVjcIuwpOW1XL4jIn7ngWfU', 'ceshi');
}
dump($Error);
dump($bool);
}
... ...