作者 karlet

feat:飞书增加网关策略

... ... @@ -22,6 +22,8 @@ class Feishu{
const url_follow = 'https://open.feishu.cn/open-apis/bot/v2/hook/f30bbb72-091c-499d-a577-43c45dceb158';
//A01-交易策略研发沟通
const url_strategy = 'https://open.feishu.cn/open-apis/bot/v2/hook/53444f37-cfec-420c-a4e6-2f415b908dee';
//网格策略运营群
const url_grid = 'https://open.feishu.cn/open-apis/bot/v2/hook/19471aa1-f926-46d7-a1d5-a367d1449092';
static public function notice($content,$channel_url,$users=[])
{
$userXml = '';
... ...
... ... @@ -31,7 +31,7 @@ class SimpleServerCoroutine
$simpleRequest = new SimpleRequest($requestInfo);
$res = call_user_func($callback, $simpleRequest);
if(empty($res)){
$response->end('');
$response->end(json_encode(['code'=>-1,'msg'=>'nothing return']));
}else{
$response->end($res);
}
... ...