审查视图

simplewind/vendor/yly-openapi/yly-openapi-sdk/Lib/Api/OauthService.php 455 字节
景龙 authored
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
<?php

namespace App\Api;

class OauthService extends RpcService{


    /**
     * 设置推送URL接口
     *
     * @param $cmd string 推送队列键
     * @param $url string 推送地址
     * @param $status string 推送开关
     * @return mixed
     */
    public function setPushUrl($cmd, $url, $status = 'open')
    {
        return $this->client->call('oauth/setpushurl', array('cmd' => $cmd, 'url' => $url, 'status' => $status));
    }
}