|
@@ -438,15 +438,15 @@ class Model_notice extends Lin_Model
|
|
|
$url .= $link.'&sign='.$sign;
|
|
$url .= $link.'&sign='.$sign;
|
|
|
$headers = array('Content-Type: application/json','x-tts-access-token:'.$shop['token']);
|
|
$headers = array('Content-Type: application/json','x-tts-access-token:'.$shop['token']);
|
|
|
|
|
|
|
|
- $this->logic_ding->sendToDing('测试获取TT的请求参数'.json_encode([
|
|
|
|
|
- 'post'=>$post,
|
|
|
|
|
- 'queryParams'=>$queryParams,
|
|
|
|
|
- 'content'=>$notice['content'],
|
|
|
|
|
- 'shop'=>[
|
|
|
|
|
- 'id'=>$shop['id'],
|
|
|
|
|
- 'name'=>$shop['shopname']
|
|
|
|
|
- ]
|
|
|
|
|
- ],JSON_UNESCAPED_UNICODE));
|
|
|
|
|
|
|
+ // $this->logic_ding->sendToDing('测试获取TT的请求参数'.json_encode([
|
|
|
|
|
+ // 'post'=>$post,
|
|
|
|
|
+ // 'queryParams'=>$queryParams,
|
|
|
|
|
+ // 'content'=>$notice['content'],
|
|
|
|
|
+ // 'shop'=>[
|
|
|
|
|
+ // 'id'=>$shop['id'],
|
|
|
|
|
+ // 'name'=>$shop['shopname']
|
|
|
|
|
+ // ]
|
|
|
|
|
+ // ],JSON_UNESCAPED_UNICODE));
|
|
|
|
|
|
|
|
$res = $this->apitt->su_curl($post,$url,$headers);
|
|
$res = $this->apitt->su_curl($post,$url,$headers);
|
|
|
$res = json_decode($res,true);
|
|
$res = json_decode($res,true);
|