...
|
...
|
@@ -18,7 +18,7 @@ use think\Validate; |
|
|
*/
|
|
|
class User extends Api
|
|
|
{
|
|
|
protected $noNeedLogin = ['third','joinUs','developLogin','ceshi'];
|
|
|
protected $noNeedLogin = ['third','joinUs','developLogin','notice'];
|
|
|
protected $noNeedRight = '*';
|
|
|
|
|
|
public function _initialize()
|
...
|
...
|
@@ -820,7 +820,7 @@ class User extends Api |
|
|
/**
|
|
|
* 测试
|
|
|
*/
|
|
|
public function ceshi(){
|
|
|
public function notice(){
|
|
|
$client = new Client();
|
|
|
$response = $client->request('POST', request()->domain().":2121/", [
|
|
|
'form_params' => [
|
...
|
...
|
|