|
|
@@ -437,6 +437,12 @@ class Model_notice extends Lin_Model
|
|
|
$sign = $this->apitt->sign($link,$shop['app_secret'],$post);
|
|
|
$url .= $link.'&sign='.$sign;
|
|
|
$headers = array('Content-Type: application/json','x-tts-access-token:'.$shop['token']);
|
|
|
+
|
|
|
+ $this->logic_ding->sendToDing('测试获取TT的请求参数'.json_encode([
|
|
|
+ 'post'=>$post,
|
|
|
+ 'queryParams'=>$queryParams,
|
|
|
+ ],JSON_UNESCAPED_UNICODE));
|
|
|
+
|
|
|
$res = $this->apitt->su_curl($post,$url,$headers);
|
|
|
$res = json_decode($res,true);
|
|
|
if(isset($res['data']['conversation_id']))
|