/** * 绑定app和api的关系 * * @params string app_id 要添加绑定的app * @params string api_id 要添加绑定关系的api * @params string path 要绑定api中的哪个path * @params string limit_count 允许一定时间访问多少次,默认是1000 * @params string limit_seconds 上一条中的“一定时间” * * @return bool true */ public function bind($params) { PrismLibCheckUtil::checknotnull($params['app_id'], 'app_id'); PrismLibCheckUtil::checknotnull($params['api_id'], 'api_id'); PrismLibCheckUtil::checknotnull($params['path'], 'path'); return $this->callPrismApi('/api/platform/manageapp/bind', $params, 'post'); }