...
|
...
|
@@ -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);
|
...
|
...
|
|