作者 郭盛
1 个管道 的构建 通过 耗费 1 秒

修改订阅消息

... ... @@ -153,12 +153,16 @@ class Order extends Api
"page" => "pages/index/index/",
// 数据
"data" =>[
'key1'=>["value"=>$user['nickname']],
'key2'=>["value"=>$score],
'key3'=>["value"=>"赠送积分成功"]
'thing1'=>["value"=>$user['nickname']],
'character_string2'=>["value"=>$score],
'thing4'=>["value"=>"赠送积分成功"]
],
);
$result = json_decode($this->sends($post_data),true);
// print_r($result);die;
if(!empty($result['errcode'])){
$this->error($result['errmsg']);
}
... ... @@ -173,9 +177,9 @@ class Order extends Api
"page" => "pages/index/index/",
// 数据
"data" =>[
'key1'=>["value"=>$receive['nickname']],
'key2'=>["value"=>$score],
'key3'=>["value"=>"接收积分成功"]
'thing1'=>["value"=>$receive['nickname']],
'character_string2'=>["value"=>$score],
'thing4'=>["value"=>"接收积分成功"]
],
);
$result = json_decode($this->sends($post_data),true);
... ...