作者 魏强

接口调试提交

要显示太多修改。

为保证性能只显示 17 of 17+ 个文件。

@@ -168,7 +168,7 @@ class AlipaywapController extends NotifyCommonController @@ -168,7 +168,7 @@ class AlipaywapController extends NotifyCommonController
168 //如果有做过处理,不执行商户的业务程序 168 //如果有做过处理,不执行商户的业务程序
169 $where['order_sn'] = $out_trade_no; 169 $where['order_sn'] = $out_trade_no;
170 // $where['money'] = $data['total_amount']; 170 // $where['money'] = $data['total_amount'];
171 - $res = $this->changeOrderStatus($where,$trade_no,3,'pc支付宝支付'); 171 + $res = $this->changeOrderStatus($where,$trade_no,4,'pc支付宝支付');
172 if(!$res) { 172 if(!$res) {
173 echo 'fail';exit; 173 echo 'fail';exit;
174 } 174 }
@@ -182,7 +182,7 @@ class AlipaywapController extends NotifyCommonController @@ -182,7 +182,7 @@ class AlipaywapController extends NotifyCommonController
182 //如果有做过处理,不执行商户的业务程序 182 //如果有做过处理,不执行商户的业务程序
183 $where['order_sn'] = $out_trade_no; 183 $where['order_sn'] = $out_trade_no;
184 // $where['money'] = $data['total_amount']; 184 // $where['money'] = $data['total_amount'];
185 - $res = $this->changeOrderStatus($where,$trade_no,3,'pc支付宝支付'); 185 + $res = $this->changeOrderStatus($where,$trade_no,4,'pc支付宝支付');
186 if(!$res) { 186 if(!$res) {
187 echo 'fail';exit; 187 echo 'fail';exit;
188 } 188 }
@@ -52,7 +52,7 @@ class IndexController extends CommonController @@ -52,7 +52,7 @@ class IndexController extends CommonController
52 } 52 }
53 // 2.交易流程 53 // 2.交易流程
54 $where_process['status'] = 1; 54 $where_process['status'] = 1;
55 - $where_process['type'] = $request->param('type'); 55 + $where_process['type'] = $request->param('chooseType');
56 $final['process'] = Db::name('Process')->where($where_process) 56 $final['process'] = Db::name('Process')->where($where_process)
57 ->field("content") 57 ->field("content")
58 ->order('create_time desc') 58 ->order('create_time desc')
@@ -180,4 +180,19 @@ class IndexController extends CommonController @@ -180,4 +180,19 @@ class IndexController extends CommonController
180 $this->apiResponse('1','成功',$final); 180 $this->apiResponse('1','成功',$final);
181 } 181 }
182 182
  183 +
  184 +
  185 + /**
  186 + * @title 客服消息
  187 + * @description 接口说明
  188 + * @author 开发者
  189 + * @url /api/portal/Index/conf
  190 + * @method POST
  191 + */
  192 + public function conf(){
  193 + $where_push['id'] = 1;
  194 + $list = Db::name('Conf')->where($where_push)->find();
  195 + $final['content'] = $list;
  196 + $this->apiResponse('1','成功',$final);
  197 + }
183 } 198 }
@@ -51,6 +51,7 @@ class IntermediaryController extends CommonController @@ -51,6 +51,7 @@ class IntermediaryController extends CommonController
51 * @param name:company type:int require:1 default: other: desc:所属公司 51 * @param name:company type:int require:1 default: other: desc:所属公司
52 * @param name:store type:int require:1 default: other: desc:门店 52 * @param name:store type:int require:1 default: other: desc:门店
53 * @param name:quarters type:int require:1 default: other: desc:服务小区 53 * @param name:quarters type:int require:1 default: other: desc:服务小区
  54 + * @param name:uid type:int require:1 default: other:一开始传的推荐人id desc:推荐人id
54 * @param name:connect type:int require:1 default: other:1 登录注册 ,2其他 desc:1 55 * @param name:connect type:int require:1 default: other:1 登录注册 ,2其他 desc:1
55 */ 56 */
56 57
@@ -94,6 +95,7 @@ class IntermediaryController extends CommonController @@ -94,6 +95,7 @@ class IntermediaryController extends CommonController
94 if($is_isset){ 95 if($is_isset){
95 $this->apiResponse('0','您已注册过,请直接登录'); 96 $this->apiResponse('0','您已注册过,请直接登录');
96 } 97 }
  98 +
97 $str = rand(1000,9999).time().rand(100,999); 99 $str = rand(1000,9999).time().rand(100,999);
98 $data['token'] = $this->md5($str); 100 $data['token'] = $this->md5($str);
99 $data['type'] = 2; 101 $data['type'] = 2;
@@ -101,9 +103,56 @@ class IntermediaryController extends CommonController @@ -101,9 +103,56 @@ class IntermediaryController extends CommonController
101 $data['company'] = $request->param('company'); 103 $data['company'] = $request->param('company');
102 $data['store'] = $request->param('store'); 104 $data['store'] = $request->param('store');
103 $data['quarters'] = $request->param('quarters'); 105 $data['quarters'] = $request->param('quarters');
  106 + $add_first = $user->allowField(true)->save($data);
  107 + $uid = $user->id;
  108 +
  109 + // 中介推荐,注册成功,增加中介信誉分
  110 + if(!empty($getParam['parent_id'])){
  111 +// 中介被拉黑情况操作(未完)
  112 + $where_parentAdd['id'] = $getParam['parent_id'];
  113 + $where_parentAdd['type'] = 2;
  114 + $where_reward['type'] = 2;
  115 + $where_reward['status'] = 1;
  116 + $reward = Db::name('Reward')->where($where_reward)->order('create_time')->field('number')->find();
  117 + if($reward){
  118 + $add_agencyScore = $user->where($where_parentAdd)->setInc('reputation',$reward['number']);
  119 + if(!$add_agencyScore){
  120 + $this->apiResponse('0','推荐奖励增加失败');
  121 + }else{
  122 +// 推荐记录表
  123 + $add_log['type'] = 2;
  124 + $add_log['number'] = $reward['number'];
  125 + $add_log['referee'] = $getParam['parent_id'];
  126 + $add_log['recommen'] = $uid;
  127 + $add_log['create_time'] = time();
  128 + $add_log['update_time'] = time();
  129 + $log = Db::name('RewardLog')->insertGetId($add_log);
  130 + if(!$log){
  131 + Db::rollback();
  132 + }
  133 +// 信誉记录表
  134 + $add_startlog['detail'] = "推荐".$getParam['parent_tel'].'注册';
  135 + $add_startlog['star'] = $reward['number'];
  136 + $add_startlog['type'] = 3;
  137 + $add_startlog['create_time'] = time();
  138 + $add_startlog['update_time'] = time();
  139 + $startLog = Db::name('StartDetail')->insertGetId($add_startlog);
  140 + if(!$startLog){
  141 + Db::rollback();
  142 + }
  143 + }
  144 + }else{
  145 + Db::rollback();
  146 + $this->apiResponse('0','推荐奖励获取失败');
  147 + }
  148 + }
104 149
105 - $add = $user->allowField(true)->save($data);  
106 - if($add){ 150 + $url = 'http://bifangjia.cn?uid='.$uid;
  151 + $get_url = $this->shot($url);
  152 + $update_first['link'] = $get_url;
  153 + $update_first['id'] = $uid;
  154 + $add = $user->allowField(true)->save($update_first);
  155 + if($add_first && $add){
107 $this->apiResponse('1','注册成功'); 156 $this->apiResponse('1','注册成功');
108 }else{ 157 }else{
109 $this->apiResponse('0','注册失败'); 158 $this->apiResponse('0','注册失败');
@@ -117,8 +166,15 @@ class IntermediaryController extends CommonController @@ -117,8 +166,15 @@ class IntermediaryController extends CommonController
117 $where_pro['type'] = 2; 166 $where_pro['type'] = 2;
118 $list = Db::name('Protocol')->where($where_pro)->order("update_time desc")->field("title,content")->find(); 167 $list = Db::name('Protocol')->where($where_pro)->order("update_time desc")->field("title,content")->find();
119 // 推荐人(未完) 168 // 推荐人(未完)
120 -  
121 - 169 + $getdata = $this->request->param();
  170 + if(!empty($getdata['uid'])){
  171 + $where_member['id'] = $getdata['uid'];
  172 + $find_parent = Db::name('Member')->where($where_member)->field('id,tel')->find();
  173 + if($find_parent){
  174 + $list['parent'] = $find_parent['tel'];
  175 + $list['parent_id'] = $find_parent['id'];
  176 + }
  177 + }
122 if($list){ 178 if($list){
123 $this->apiResponse('1','成功',$list); 179 $this->apiResponse('1','成功',$list);
124 }else{ 180 }else{
@@ -128,6 +184,13 @@ class IntermediaryController extends CommonController @@ -128,6 +184,13 @@ class IntermediaryController extends CommonController
128 } 184 }
129 } 185 }
130 186
  187 + // 短网址
  188 + function shot($url){
  189 + $jump = "http://suo.im/api.php?url=".$url;
  190 + $shot_val = file_get_contents($jump);
  191 + return $shot_val;
  192 + }
  193 +
131 // 中介个人中心左侧信息 194 // 中介个人中心左侧信息
132 public function left($token){ 195 public function left($token){
133 $where_member['token'] = $token; 196 $where_member['token'] = $token;
@@ -170,6 +233,7 @@ class IntermediaryController extends CommonController @@ -170,6 +233,7 @@ class IntermediaryController extends CommonController
170 $member = $this->left($token); 233 $member = $this->left($token);
171 $size = 2; 234 $size = 2;
172 $all_page = 0; 235 $all_page = 0;
  236 + $res = array();
173 $quarters = explode('+',$member['quarters']); 237 $quarters = explode('+',$member['quarters']);
174 $final['intermediary'] = $member; 238 $final['intermediary'] = $member;
175 $where_need['city'] = $member['city']; 239 $where_need['city'] = $member['city'];
@@ -183,7 +247,7 @@ class IntermediaryController extends CommonController @@ -183,7 +247,7 @@ class IntermediaryController extends CommonController
183 $page = $request->param('page'); 247 $page = $request->param('page');
184 $need_list = Db::name('UserNeed')->where($where_need) 248 $need_list = Db::name('UserNeed')->where($where_need)
185 ->field("id,city,quarters,room,floor,house_type,renovation,quotation_time,create_time,people,pay_time") 249 ->field("id,city,quarters,room,floor,house_type,renovation,quotation_time,create_time,people,pay_time")
186 -// ->limit($size)->page($page) 250 + ->order('pay_time desc')
187 ->select()->toArray(); 251 ->select()->toArray();
188 252
189 if($need_list){ 253 if($need_list){
@@ -200,7 +264,7 @@ class IntermediaryController extends CommonController @@ -200,7 +264,7 @@ class IntermediaryController extends CommonController
200 // 分页 264 // 分页
201 $all_page = count($else_arr); 265 $all_page = count($else_arr);
202 $page = ceil($all_page/$size); 266 $page = ceil($all_page/$size);
203 - 267 + $page = $page?$page:1;
204 if($pageInt <1 || $pageInt >$page ){ 268 if($pageInt <1 || $pageInt >$page ){
205 $this->apiResponse('0','页码错误'); 269 $this->apiResponse('0','页码错误');
206 }else{ 270 }else{
@@ -248,26 +312,33 @@ class IntermediaryController extends CommonController @@ -248,26 +312,33 @@ class IntermediaryController extends CommonController
248 ->find(); 312 ->find();
249 if($need_list){ 313 if($need_list){
250 // 判断是否已购买透视卡 314 // 判断是否已购买透视卡
251 - $where_order['type'] = 3; 315 +// $where_order['type'] = 3;
252 $where_order['need_id'] = $need_id; 316 $where_order['need_id'] = $need_id;
253 - $where_order['user_id'] = $member['id'];  
254 - $is_order = Db::name('Order')->where($where_order)->field('id,lower_price,pay_time')->find(); 317 + $where_order['agency_id'] = $member['id'];
  318 + $is_order = Db::name('See')->where($where_order)->field('id,money,create_time')->find();
255 if($is_order){ 319 if($is_order){
256 $final['is_see'] = 2; 320 $final['is_see'] = 2;
257 - $final['money'] = $is_order['lower_price'];  
258 - $final['pay_time'] = $is_order['pay_time']; 321 + $final['money'] = $is_order['money'];
  322 + $final['pay_time'] = $is_order['create_time'];
259 }else{ 323 }else{
260 $where_agency['need_id'] = $request->param('need_id'); 324 $where_agency['need_id'] = $request->param('need_id');
261 $where_agency['status'] = 2; 325 $where_agency['status'] = 2;
262 - $agency_count = Db::name('Agency')->where($where_agency)->count(); 326 + $agency_middle = Db::name('Agency')->where($where_agency)->field('id,agency_id')->select()->toArray();
  327 + $agency_count = count($agency_middle);
263 if($agency_count >=3){ 328 if($agency_count >=3){
264 - $money = $this->getOrderInfo($token,$need_id);  
265 - $final['is_see'] = 1;  
266 - $final['money'] = $money['money'];  
267 - $final['pay_time'] = $money['pay_time']; 329 + $money = $this->getOrderInfo($token,$need_id);
  330 + $final['is_see'] = 1;
  331 + $final['money'] = $money['money'];
  332 + $final['pay_time'] = $money['pay_time'];
268 }else{ 333 }else{
269 $final['is_see'] = 0; 334 $final['is_see'] = 0;
270 } 335 }
  336 + foreach ($agency_middle as $midk=>$midv){
  337 + if($member['id'] == $midv['agency_id']){
  338 + $final['is_see'] = 0;
  339 + }
  340 + }
  341 +
271 } 342 }
272 $final['intermediary_need'] = $need_list; 343 $final['intermediary_need'] = $need_list;
273 344
@@ -410,6 +481,7 @@ class IntermediaryController extends CommonController @@ -410,6 +481,7 @@ class IntermediaryController extends CommonController
410 ->field("n.city,n.quarters,n.room,n.floor,n.house_type,n.renovation,n.status as need_status,n.create_time as need_time,n.quotation_time,n.id as need_id, 481 ->field("n.city,n.quarters,n.room,n.floor,n.house_type,n.renovation,n.status as need_status,n.create_time as need_time,n.quotation_time,n.id as need_id,
411 a.all_price,a.create_time,a.status,a.id as intermediaryNeed_id,a.pay_time,a.id ,a.refuse_complaint_time,a.choose_time 482 a.all_price,a.create_time,a.status,a.id as intermediaryNeed_id,a.pay_time,a.id ,a.refuse_complaint_time,a.choose_time
412 ") 483 ")
  484 + ->order('create_time desc')
413 ->limit($size)->page($page) 485 ->limit($size)->page($page)
414 ->select()->toArray(); 486 ->select()->toArray();
415 487
@@ -666,6 +738,15 @@ class IntermediaryController extends CommonController @@ -666,6 +738,15 @@ class IntermediaryController extends CommonController
666 $update_need['update_time'] = time(); 738 $update_need['update_time'] = time();
667 $update_need['sure_time'] = time(); 739 $update_need['sure_time'] = time();
668 $add_need = Db::name('UserNeed')->where($where_need)->update($update_need); 740 $add_need = Db::name('UserNeed')->where($where_need)->update($update_need);
  741 +// 增加平台收益
  742 + $add_get['type'] = 4;
  743 + $add_get['agency_id'] = $agency['id'];
  744 + $add_get['create_time'] = time();
  745 + $add_get['update_time'] = time();
  746 + $res_get = Db::name('Get')->insertGetId($add_get);
  747 + if(!$res_get){
  748 + Db::rollback();
  749 + }
669 if($add_agency && $add_need){ 750 if($add_agency && $add_need){
670 // 分别查询用户,中介推荐人 751 // 分别查询用户,中介推荐人
671 $where_m['id'] = $need['user_id']; 752 $where_m['id'] = $need['user_id'];
@@ -97,7 +97,7 @@ class IntermediaryneedController extends CommonController @@ -97,7 +97,7 @@ class IntermediaryneedController extends CommonController
97 } 97 }
98 } 98 }
99 $where_need['quarters'] = array('like',$quarters,'OR'); 99 $where_need['quarters'] = array('like',$quarters,'OR');
100 - $need_list = Db::name('UserNeed')->where($where_need)->field("id,city,quarters,room,floor,house_type,renovation,quotation_time,create_time,people")->limit($size)->page($page)->select()->toArray(); 100 + $need_list = Db::name('UserNeed')->where($where_need)->field("id,city,quarters,room,floor,house_type,renovation,quotation_time,create_time,people")->order('pay_time desc')->limit($size)->page($page)->select()->toArray();
101 $count = count($need_list); 101 $count = count($need_list);
102 $final['all_page'] = ceil($count/$size); 102 $final['all_page'] = ceil($count/$size);
103 103
@@ -220,7 +220,7 @@ class IntermediaryneedController extends CommonController @@ -220,7 +220,7 @@ class IntermediaryneedController extends CommonController
220 $this->apiResponse('0','请选择报价房屋'); 220 $this->apiResponse('0','请选择报价房屋');
221 } 221 }
222 $where_need['id'] = $request->param('need_id'); 222 $where_need['id'] = $request->param('need_id');
223 - $where_need['status'] = 2; 223 + $where_need['status'] = 3;
224 $need = Db::name('UserNeed')->where($where_need)->field("loan,contract")->find(); 224 $need = Db::name('UserNeed')->where($where_need)->field("loan,contract")->find();
225 if(!$need){ 225 if(!$need){
226 $this->apiResponse('0','该需求暂不可报价'); 226 $this->apiResponse('0','该需求暂不可报价');
@@ -14,6 +14,9 @@ use cmf\controller\RestBaseController; @@ -14,6 +14,9 @@ use cmf\controller\RestBaseController;
14 14
15 class ListsController extends RestBaseController 15 class ListsController extends RestBaseController
16 { 16 {
  17 + public function index() {
  18 + var_dump(cache('test'));
  19 + }
17 20
18 /** 21 /**
19 * [推荐文章列表] 22 * [推荐文章列表]
@@ -34,14 +34,16 @@ class NotifyController extends NotifyCommonController @@ -34,14 +34,16 @@ class NotifyController extends NotifyCommonController
34 $data = $base->FromXml($xml); 34 $data = $base->FromXml($xml);
35 if($base->CheckSign() == true){ 35 if($base->CheckSign() == true){
36 if ($data["return_code"] == "SUCCESS") { 36 if ($data["return_code"] == "SUCCESS") {
37 - $where['order_sn'] = $data['attach'];  
38 - if (empty($where['order_sn'])) { 37 + if(!empty($data['attach'])) {
  38 + $where['order_sn'] = $data['attach'];
  39 + }
  40 + if (!empty($data['out_trade_no'])) {
39 $where['order_sn'] = $data['out_trade_no']; 41 $where['order_sn'] = $data['out_trade_no'];
40 } 42 }
41 // $where['money'] = $data['total_fee']/100; 43 // $where['money'] = $data['total_fee']/100;
42 $pay_type = 1; 44 $pay_type = 1;
43 $title = 'pc微信扫码支付'; 45 $title = 'pc微信扫码支付';
44 - if($data["trade_type"] == 'MWEB') { 46 + if(!empty($data["trade_type"]) && $data["trade_type"] == 'MWEB') {
45 $pay_type = 2; 47 $pay_type = 2;
46 $title = '网页H5支付'; 48 $title = '网页H5支付';
47 } 49 }
@@ -58,7 +60,6 @@ class NotifyController extends NotifyCommonController @@ -58,7 +60,6 @@ class NotifyController extends NotifyCommonController
58 * 微信支付退款结果回调 60 * 微信支付退款结果回调
59 */ 61 */
60 public function refund_notify() { 62 public function refund_notify() {
61 - cache('test',1111);  
62 $post = $this->request->param(); 63 $post = $this->request->param();
63 if($post==null){ 64 if($post==null){
64 $post = file_get_contents("php://input"); 65 $post = file_get_contents("php://input");
@@ -69,7 +70,6 @@ class NotifyController extends NotifyCommonController @@ -69,7 +70,6 @@ class NotifyController extends NotifyCommonController
69 if(!empty($post)) { 70 if(!empty($post)) {
70 $xml = $post; //微信的回调数据 71 $xml = $post; //微信的回调数据
71 $data = $this->xmlToArray($xml); 72 $data = $this->xmlToArray($xml);
72 - cache('data',$data);  
73 if($data['return_code'] == 'SUCCESS' && !empty($data['req_info'])) { 73 if($data['return_code'] == 'SUCCESS' && !empty($data['req_info'])) {
74 $key = md5(Config::get('wx_key')); 74 $key = md5(Config::get('wx_key'));
75 $array = $this->xmlToArray($this->refund_decrypt($data['req_info'],$key)); 75 $array = $this->xmlToArray($this->refund_decrypt($data['req_info'],$key));
1 -<?php  
2 -/**  
3 - * Created by PhpStorm.  
4 - * User: 29925  
5 - * Date: 2018/7/21  
6 - * Time: 14:38  
7 - */  
8 -  
9 -namespace api\portal\controller;  
10 -  
11 -use api\portal\model\AgencyModel;  
12 -use api\portal\model\MemberModel;  
13 -use api\portal\model\OrderModel;  
14 -use api\portal\model\UserNeedModel;  
15 -use api\portal\controller\IntermediaryController;  
16 -  
17 -/**  
18 - * @title 订单接口  
19 - * @description 接口说明  
20 - * @group 接口分组  
21 - */  
22 -class OrderController extends CommonController  
23 -{  
24 -  
25 - /**  
26 - * @title 生成订单(需求、中介报价、透视卡)  
27 - * @description 接口说明  
28 - * @author 开发者  
29 - * @url /api/portal/Order/createOrder  
30 - * @method POST  
31 - * @param name:token type:char require:1 default: other: desc:用户token  
32 - * @param name:need_id type:int require:1 default: other: desc:需求(中介报价)ID  
33 - * @param name:_type type:int require:1 default: other: desc:订单类型:1,需求;2,中介报价;3,透视卡  
34 - *  
35 - */  
36 - public function createOrder()  
37 - {  
38 - if($this->request->isPost()) {  
39 - $data = $this->request->param();  
40 - $member_model = new MemberModel();  
41 - $user_id = $member_model->where(['token'=>$data['token']])->value('id');  
42 - $user_need_model = new UserNeedModel();  
43 - $agency_model = new AgencyModel();  
44 - $order_model = new OrderModel();  
45 - if($data['_type'] == 1 || $data['_type'] == 3) {  
46 - $info = $user_need_model->where(['id'=>$data['need_id']])->find();  
47 - if(empty($info['status'])) {  
48 - $this->apiResponse(0,'需求不存在');  
49 - }  
50 - $need_id = $info['id'];  
51 - $money = $info['pay_money'];  
52 - }  
53 - if($data['_type'] == 2) {  
54 - $info = $agency_model->where(['need_id'=>$data['need_id']])->find();  
55 - $need = $user_need_model->where(['id'=>$info['need_id']])->find();  
56 - if($need['status'] != 3) {  
57 - $this->apiResponse(0,'该需求当前状态无法进行报价');  
58 - }  
59 - $need_id = $info['id'];  
60 - $money = $info['deposit'];  
61 - }  
62 - if(($data['_type'] == 1 && $info['status'] == 1) ||  
63 - ($data['_type'] == 3 && $info['status'] == 3) ||  
64 - ($data['_type'] == 2 && $info['status'] == 1)) {  
65 - $orderInfo = $order_model->where(['type'=>$data['_type'],'need_id'=>$need_id,'user_id'=>$user_id])->find();  
66 - if(empty($orderInfo)) {  
67 - $order = [  
68 - 'order_sn' => cmf_get_order_sn(),  
69 - 'user_id' => $user_id,  
70 - 'type' => $data['_type'],  
71 - 'need_id' => $need_id,  
72 - 'is_get' => 2,  
73 - 'money' => $money,  
74 - 'status' => 1,  
75 - 'create_time' => time()  
76 - ];  
77 - $result = $this->validate($order, 'portal/Order');  
78 - if ($result !== true) {  
79 - $this->apiResponse(0,$result);  
80 - }  
81 - $order_model = new OrderModel();  
82 - $insert = $order_model->isUpdate(false)->allowField(true)->insertGetId($order);  
83 - if(!$insert) {  
84 - $this->apiResponse(0,'订单生成失败');  
85 - }  
86 - } else {  
87 - if($orderInfo['status'] == 2 || $orderInfo['status'] == 4) {  
88 - $this->apiResponse(0,'订单已完成');  
89 - }  
90 - $order = $orderInfo;  
91 - }  
92 - $this->apiResponse(1,'订单生成成功',$order['order_sn']);  
93 - } else {  
94 - $this->apiResponse(0,'无法生成订单');  
95 - }  
96 - }  
97 - }  
98 -  
99 - /**  
100 - * @title 选择订单支付方式  
101 - * @description 接口说明  
102 - * @author 开发者  
103 - * @url /api/portal/Order/changePayType  
104 - * @method POST  
105 - * @param name:token type:char require:1 default: other: desc:用户token  
106 - * @param name:order_sn type:char require:1 default: other: desc:订单编号  
107 - * @param name:_type type:int require:1 default: other: desc:支付类型:1,pc微信;2,手机微信;3,pc支付宝;4,手机支付宝  
108 - *  
109 - */  
110 - public function changePayType()  
111 - {  
112 - if($this->request->isPost()) {  
113 - $data = $this->request->param();  
114 - $member_model = new MemberModel();  
115 - $user = $member_model->field(['id,money'])->where(['token'=>$data['token']])->find();  
116 - $order_model = new OrderModel();  
117 - $orderInfo = $order_model->where(['order_sn'=>$data['order_sn'],'user_id'=>$user['id']])->find();  
118 - if(empty($orderInfo['status'])) {  
119 - $this->apiResponse(0,'订单不存在');  
120 - }  
121 - if($orderInfo['status'] == 1) {  
122 - $user_need_model = new UserNeedModel();  
123 - $agency_model = new AgencyModel();  
124 - if($orderInfo['type'] == 1) {  
125 - $info = $user_need_model->where(['id'=>$orderInfo['need_id']])->find();  
126 - $sort = '需求保证金支付';  
127 - }  
128 - if($orderInfo['type'] == 2) {  
129 - $info = $agency_model->where(['id'=>$orderInfo['need_id']])->find();  
130 - $need = $user_need_model->where(['id'=>$info['need_id']])->find();  
131 - if($need['status'] != 3) {  
132 - $this->apiResponse(0,'该需求当前状态无法进行报价');  
133 - }  
134 - $sort = '中介报价保证金支付';  
135 - }  
136 - if($orderInfo['type'] == 3) {  
137 - $info = $user_need_model->where(['id'=>$orderInfo['need_id']])->find();  
138 - $sort = '透视卡支付';  
139 - }  
140 - if(($orderInfo['type'] == 1 && $info['status'] == 1) ||  
141 - ($orderInfo['type'] == 3 && $info['status'] == 3) ||  
142 - ($orderInfo['type'] == 2 && $info['status'] == 1)) {  
143 - if($data['_type'] == 1) {  
144 - $return = $this->wxpay(['order_sn'=>$data['order_sn']],$sort);  
145 - if(empty($return['code_url'])) {  
146 - $this->apiResponse(0,$return['return_msg']);  
147 - } else {  
148 - $code_url = $return['code_url'];  
149 - }  
150 - $qrcode_url = url('portal/Qrcode/qrcode',['data'=>urlencode($code_url)],true,true);  
151 - $this->apiResponse(1,'微信支付',['type'=>1,'url'=>$qrcode_url]);  
152 - } elseif($data['_type'] == 2) {  
153 - $type = [  
154 - 1 => '保证金支付',  
155 - 2 => '中介报价',  
156 - 3 => '透视卡'  
157 - ];  
158 - require_once VENDOR_PATH.'WxpayAPI/WxpayH5.php';  
159 - $scene_info = "{'h5_info': {'type':'Wap','wap_url': 'http://houseprice.w.bronet.cn','wap_name': ".$sort."}}";  
160 - $h5 = new \WxpayH5(config('wx_appid'),config('wx_mch_id'),config('wx_key'),$data['order_sn'],  
161 - $type[$orderInfo['type']],'1',$scene_info);  
162 - $result = $h5->pay();  
163 - if(empty($result['mweb_url'])) {  
164 - $this->apiResponse(0,'生成支付失败');  
165 - }  
166 -// $return = [  
167 -// 'mwen_url' => $result['mweb_url'],  
168 -// 'create_time' => time(),  
169 -// 'over_time'=>time()+5*60  
170 -// ];  
171 - $this->apiResponse(1,'微信H5支付',['type'=>2,'url'=>$result['mweb_url']]);  
172 - } elseif($data['_type'] == 3) {  
173 - $alipay_url = url('portal/Alipay/alipay',['order_sn'=>$data['order_sn'],'name'=>$sort,'price'=>0.01],true,true);  
174 - $this->apiResponse(1,'支付宝支付',['type'=>3,'url'=>$alipay_url]);  
175 - } elseif($data['_type'] == 4) {  
176 - $alipay_url = url('portal/Alipaywap/alipay',['order_sn'=>$data['order_sn'],'name'=>$sort,'price'=>0.01],true,true);  
177 - $this->apiResponse(1,'支付宝手机支付',['type'=>4,'url'=>$alipay_url]);  
178 - }  
179 - } else {  
180 - $this->apiResponse(0,'该订单已失效');  
181 - }  
182 - } else {  
183 - $this->apiResponse(0,'该订单已支付');  
184 - }  
185 - }  
186 - }  
187 -  
188 - /**  
189 - * @title 支付页面订单金额查询  
190 - * @description 接口说明  
191 - * @author 开发者  
192 - * @url /api/portal/Order/getOrderPrice  
193 - * @method POST  
194 - * @param name:token type:char require:1 default: other: desc:用户token  
195 - * @param name:order_sn type:char require:1 default: other: desc:订单编号  
196 - *  
197 - */  
198 - public function getOrderPrice()  
199 - {  
200 - if($this->request->isPost()) {  
201 - $data = $this->request->param();  
202 - $member_model = new MemberModel();  
203 - $user = $member_model->field(['id,money'])->where(['token'=>$data['token']])->find();  
204 - $order_model = new OrderModel();  
205 - $orderInfo = $order_model->where(['order_sn'=>$data['order_sn'],'user_id'=>$user['id']])->find();  
206 - if(empty($orderInfo['status'])) {  
207 - $this->apiResponse(0,'订单不存在');  
208 - }  
209 - if($orderInfo['status'] == 2) {  
210 - $this->apiResponse(0,'订单已付款');  
211 - }  
212 - if($orderInfo['status'] == 4) {  
213 - $this->apiResponse(0,'订单已退款');  
214 - }  
215 - $this->apiResponse(1,'成功',$orderInfo['money']);  
216 - }  
217 - }  
218 -  
219 -  
220 - /**  
221 - * @title 支付页面检测微信支付是否完成  
222 - * @description 接口说明  
223 - * @author 开发者  
224 - * @url /api/portal/Order/checkWechatWebPay  
225 - * @method POST  
226 - * @param name:token type:char require:1 default: other: desc:用户token  
227 - * @param name:order_sn type:char require:1 default: other: desc:订单编号  
228 - *  
229 - */  
230 - public function checkWechatWebPay() {  
231 - if($this->request->isPost()) {  
232 - $data = $this->request->param();  
233 - $member_model = new MemberModel();  
234 - $user = $member_model->field(['id,money'])->where(['token'=>$data['token']])->find();  
235 - $order_sn = $data['order_sn'];  
236 - $order_model = new OrderModel();  
237 - $status = $order_model->where(['order_sn'=>$order_sn])->value('status');  
238 - if(empty($status)) {  
239 - $this->apiResponse(0,'订单不存在');  
240 - }  
241 - if($status == 1 || $status == 9) {  
242 - $this->apiResponse(0,'未支付成功');  
243 - }  
244 - if($status == 2) {  
245 - $this->apiResponse(1,'支付成功');  
246 - }  
247 - }  
248 - }  
249 -  
250 - /**  
251 - * @title 根据订单号查询订单状态,支付结果页面显示不同内容  
252 - * @description 接口说明  
253 - * @author 开发者  
254 - * @url /api/portal/Order/getOrderType  
255 - * @method POST  
256 - * @param name:token type:char require:1 default: other: desc:用户token  
257 - * @param name:order_sn type:char require:1 default: other: desc:订单编号  
258 - *  
259 - */  
260 - public function getOrderType() {  
261 - if($this->request->isPost()) {  
262 - $data = $this->request->param();  
263 - $member_model = new MemberModel();  
264 - $user = $member_model->field(['id,money'])->where(['token'=>$data['token']])->find();  
265 - $order_sn = $data['order_sn'];  
266 - $order_model = new OrderModel();  
267 - $type = $order_model->where(['order_sn'=>$order_sn,'user_id'=>$user['id'],'status'=>2])->value('type');  
268 - if(empty($type)) {  
269 - $this->apiResponse(0,'订单未支付');  
270 - }  
271 - $name = '';  
272 - if($type == 1) {  
273 - $name = '需求押金缴纳成功';  
274 - }  
275 - if($type == 2) {  
276 - $name = '中介押金缴纳成功';  
277 - }  
278 - if($type == 3) {  
279 - $name = '透视卡支付成功';  
280 - }  
281 - $this->apiResponse(1,'成功', $name);  
282 - }  
283 - }  
284 -  
285 - /**  
286 - * @title 根据订单号查询订单信息(购买透视卡查询到的最低价)  
287 - * @description 接口说明  
288 - * @author 开发者  
289 - * @url /api/portal/Order/getOrderInfo  
290 - * @method POST  
291 - * @param name:token type:char require:1 default: other: desc:用户token  
292 - * @param name:need_id type:int require:1 default: other: desc:需求ID  
293 - *  
294 - */  
295 - public function getOrderInfo($token,$need_id) {  
296 -// if($this->request->isPost()) {  
297 - $member_model = new MemberModel();  
298 - $user = $member_model->field(['id,money'])->where(['token'=>$token])->find();  
299 - $order_model = new OrderModel();  
300 - $array = $order_model->field('pay_time,lower_price')->where(['need_id'=>$need_id,'user_id'=>$user['id'],'type'=>3,'status'=>2])->find();  
301 - if(empty($array)) {  
302 - return false;  
303 - }  
304 - return $array;  
305 -// }  
306 - } 1 +<?php
  2 +/**
  3 + * Created by PhpStorm.
  4 + * User: 29925
  5 + * Date: 2018/7/21
  6 + * Time: 14:38
  7 + */
  8 +
  9 +namespace api\portal\controller;
  10 +
  11 +use api\portal\model\AgencyModel;
  12 +use api\portal\model\MemberModel;
  13 +use api\portal\model\OrderModel;
  14 +use api\portal\model\UserNeedModel;
  15 +use api\portal\controller\IntermediaryController;
  16 +
  17 +/**
  18 + * @title 订单接口
  19 + * @description 接口说明
  20 + * @group 接口分组
  21 + */
  22 +class OrderController extends CommonController
  23 +{
  24 +
  25 + /**
  26 + * @title 生成订单(需求、中介报价、透视卡)
  27 + * @description 接口说明
  28 + * @author 开发者
  29 + * @url /api/portal/Order/createOrder
  30 + * @method POST
  31 + * @param name:token type:char require:1 default: other: desc:用户token
  32 + * @param name:need_id type:int require:1 default: other: desc:需求(中介报价)ID
  33 + * @param name:_type type:int require:1 default: other: desc:订单类型:1,需求;2,中介报价;3,透视卡
  34 + *
  35 + */
  36 + public function createOrder()
  37 + {
  38 + if($this->request->isPost()) {
  39 + $data = $this->request->param();
  40 + $member_model = new MemberModel();
  41 + $user_id = $member_model->where(['token'=>$data['token']])->value('id');
  42 + $user_need_model = new UserNeedModel();
  43 + $agency_model = new AgencyModel();
  44 + $order_model = new OrderModel();
  45 + if($data['_type'] == 1 || $data['_type'] == 3) {
  46 + $info = $user_need_model->where(['id'=>$data['need_id']])->find();
  47 + if(empty($info['status'])) {
  48 + $this->apiResponse(0,'需求不存在');
  49 + }
  50 + $need_id = $info['id'];
  51 + $money = $info['pay_money'];
  52 + }
  53 + if($data['_type'] == 2) {
  54 + $info = $agency_model->where(['need_id'=>$data['need_id'],'agency_id'=>$user_id])->find();
  55 + $need = $user_need_model->where(['id'=>$info['need_id']])->find();
  56 + if($need['status'] != 3) {
  57 + $this->apiResponse(0,'该需求当前状态无法进行报价');
  58 + }
  59 + $need_id = $info['id'];
  60 + $money = $info['deposit'];
  61 + }
  62 + if(($data['_type'] == 1 && $info['status'] == 1) ||
  63 + ($data['_type'] == 3 && $info['status'] == 3) ||
  64 + ($data['_type'] == 2 && $info['status'] == 1)) {
  65 +
  66 + $orderInfo = $order_model->where(['type'=>$data['_type'],'need_id'=>$need_id,'user_id'=>$user_id])->find();
  67 + if(empty($orderInfo)) {
  68 + $order = [
  69 + 'order_sn' => cmf_get_order_sn(),
  70 + 'user_id' => $user_id,
  71 + 'type' => $data['_type'],
  72 + 'need_id' => $need_id,
  73 + 'is_get' => 2,
  74 + 'money' => $money,
  75 + 'status' => 1,
  76 + 'create_time' => time()
  77 + ];
  78 + $result = $this->validate($order, 'portal/Order');
  79 + if ($result !== true) {
  80 + $this->apiResponse(0,$result);
  81 + }
  82 + $order_model = new OrderModel();
  83 + $insert = $order_model->isUpdate(false)->allowField(true)->insertGetId($order);
  84 + if(!$insert) {
  85 + $this->apiResponse(0,'订单生成失败');
  86 + }
  87 + } else {
  88 + if($orderInfo['status'] == 2 || $orderInfo['status'] == 4) {
  89 + $this->apiResponse(0,'订单已完成');
  90 + }
  91 + $order = $orderInfo;
  92 + }
  93 + $this->apiResponse(1,'订单生成成功',$order['order_sn']);
  94 + } else {
  95 + $this->apiResponse(0,'无法生成订单');
  96 + }
  97 + }
  98 + }
  99 +
  100 + /**
  101 + * @title 选择订单支付方式
  102 + * @description 接口说明
  103 + * @author 开发者
  104 + * @url /api/portal/Order/changePayType
  105 + * @method POST
  106 + * @param name:token type:char require:1 default: other: desc:用户token
  107 + * @param name:order_sn type:char require:1 default: other: desc:订单编号
  108 + * @param name:_type type:int require:1 default: other: desc:支付类型:1,pc微信;2,手机微信;3,pc支付宝;4,手机支付宝
  109 + *
  110 + */
  111 + public function changePayType()
  112 + {
  113 + if($this->request->isPost()) {
  114 + $data = $this->request->param();
  115 + $member_model = new MemberModel();
  116 + $user = $member_model->field(['id,money'])->where(['token'=>$data['token']])->find();
  117 + $order_model = new OrderModel();
  118 + $orderInfo = $order_model->where(['order_sn'=>$data['order_sn'],'user_id'=>$user['id']])->find();
  119 + if(empty($orderInfo['status'])) {
  120 + $this->apiResponse(0,'订单不存在');
  121 + }
  122 + if($orderInfo['status'] == 1) {
  123 + $user_need_model = new UserNeedModel();
  124 + $agency_model = new AgencyModel();
  125 + if($orderInfo['type'] == 1) {
  126 + $info = $user_need_model->where(['id'=>$orderInfo['need_id']])->find();
  127 + $sort = '需求保证金支付';
  128 + }
  129 + if($orderInfo['type'] == 2) {
  130 + $info = $agency_model->where(['id'=>$orderInfo['need_id']])->find();
  131 + $need = $user_need_model->where(['id'=>$info['need_id']])->find();
  132 + if($need['status'] != 3) {
  133 + $this->apiResponse(0,'该需求当前状态无法进行报价');
  134 + }
  135 + $sort = '中介报价保证金支付';
  136 + }
  137 + if($orderInfo['type'] == 3) {
  138 + $info = $user_need_model->where(['id'=>$orderInfo['need_id']])->find();
  139 + $sort = '透视卡支付';
  140 + }
  141 + if(($orderInfo['type'] == 1 && $info['status'] == 1) ||
  142 + ($orderInfo['type'] == 3 && $info['status'] == 3) ||
  143 + ($orderInfo['type'] == 2 && $info['status'] == 1)) {
  144 + if($data['_type'] == 1) {
  145 + $return = $this->wxpay(['order_sn'=>$data['order_sn']],$sort);
  146 + if(empty($return['code_url'])) {
  147 + $this->apiResponse(0,$return['return_msg']);
  148 + } else {
  149 + $code_url = $return['code_url'];
  150 + }
  151 + $qrcode_url = url('portal/Qrcode/qrcode',['data'=>urlencode($code_url)],true,true);
  152 + $this->apiResponse(1,'微信支付',['type'=>1,'url'=>$qrcode_url]);
  153 + } elseif($data['_type'] == 2) {
  154 + $type = [
  155 + 1 => '保证金支付',
  156 + 2 => '中介报价',
  157 + 3 => '透视卡'
  158 + ];
  159 + require_once VENDOR_PATH.'WxpayAPI/WxpayH5.php';
  160 + $scene_info = "{'h5_info': {'type':'Wap','wap_url': 'http://houseprice.w.bronet.cn','wap_name': ".$sort."}}";
  161 + $h5 = new \WxpayH5(config('wx_appid'),config('wx_mch_id'),config('wx_key'),$data['order_sn'],
  162 + $type[$orderInfo['type']],'1',$scene_info);
  163 + $result = $h5->pay();
  164 + if(empty($result['mweb_url'])) {
  165 + $this->apiResponse(0,'生成支付失败');
  166 + }
  167 +// $return = [
  168 +// 'mwen_url' => $result['mweb_url'],
  169 +// 'create_time' => time(),
  170 +// 'over_time'=>time()+5*60
  171 +// ];
  172 + $this->apiResponse(1,'微信H5支付',['type'=>2,'url'=>$result['mweb_url']]);
  173 + } elseif($data['_type'] == 3) {
  174 + $alipay_url = url('portal/Alipay/alipay',['order_sn'=>$data['order_sn'],'name'=>$sort,'price'=>0.01],true,true);
  175 + $this->apiResponse(1,'支付宝支付',['type'=>3,'url'=>$alipay_url]);
  176 + } elseif($data['_type'] == 4) {
  177 + $alipay_url = url('portal/Alipaywap/alipay',['order_sn'=>$data['order_sn'],'name'=>$sort,'price'=>0.01],true,true);
  178 + $this->apiResponse(1,'支付宝手机支付',['type'=>4,'url'=>$alipay_url]);
  179 + }
  180 + } else {
  181 + $this->apiResponse(0,'该订单已失效');
  182 + }
  183 + } else {
  184 + $this->apiResponse(0,'该订单已支付');
  185 + }
  186 + }
  187 + }
  188 +
  189 + /**
  190 + * @title 支付页面订单金额查询
  191 + * @description 接口说明
  192 + * @author 开发者
  193 + * @url /api/portal/Order/getOrderPrice
  194 + * @method POST
  195 + * @param name:token type:char require:1 default: other: desc:用户token
  196 + * @param name:order_sn type:char require:1 default: other: desc:订单编号
  197 + *
  198 + */
  199 + public function getOrderPrice()
  200 + {
  201 + if($this->request->isPost()) {
  202 + $data = $this->request->param();
  203 + $member_model = new MemberModel();
  204 + $user = $member_model->field(['id,money'])->where(['token'=>$data['token']])->find();
  205 + $order_model = new OrderModel();
  206 + $orderInfo = $order_model->where(['order_sn'=>$data['order_sn'],'user_id'=>$user['id']])->find();
  207 + if(empty($orderInfo['status'])) {
  208 + $this->apiResponse(0,'订单不存在');
  209 + }
  210 + if($orderInfo['status'] == 2) {
  211 + $this->apiResponse(0,'订单已付款');
  212 + }
  213 + if($orderInfo['status'] == 4) {
  214 + $this->apiResponse(0,'订单已退款');
  215 + }
  216 + $this->apiResponse(1,'成功',$orderInfo['money']);
  217 + }
  218 + }
  219 +
  220 +
  221 + /**
  222 + * @title 支付页面检测微信支付是否完成
  223 + * @description 接口说明
  224 + * @author 开发者
  225 + * @url /api/portal/Order/checkWechatWebPay
  226 + * @method POST
  227 + * @param name:token type:char require:1 default: other: desc:用户token
  228 + * @param name:order_sn type:char require:1 default: other: desc:订单编号
  229 + *
  230 + */
  231 + public function checkWechatWebPay() {
  232 + if($this->request->isPost()) {
  233 + $data = $this->request->param();
  234 + $member_model = new MemberModel();
  235 + $user = $member_model->field(['id,money'])->where(['token'=>$data['token']])->find();
  236 + $order_sn = $data['order_sn'];
  237 + $order_model = new OrderModel();
  238 + $status = $order_model->where(['order_sn'=>$order_sn])->value('status');
  239 + if(empty($status)) {
  240 + $this->apiResponse(0,'订单不存在');
  241 + }
  242 + if($status == 1 || $status == 9) {
  243 + $this->apiResponse(0,'未支付成功');
  244 + }
  245 + if($status == 2) {
  246 + $this->apiResponse(1,'支付成功');
  247 + }
  248 + }
  249 + }
  250 +
  251 + /**
  252 + * @title 根据订单号查询订单状态,支付结果页面显示不同内容
  253 + * @description 接口说明
  254 + * @author 开发者
  255 + * @url /api/portal/Order/getOrderType
  256 + * @method POST
  257 + * @param name:token type:char require:1 default: other: desc:用户token
  258 + * @param name:order_sn type:char require:1 default: other: desc:订单编号
  259 + *
  260 + */
  261 + public function getOrderType() {
  262 + if($this->request->isPost()) {
  263 + $data = $this->request->param();
  264 + $member_model = new MemberModel();
  265 + $user = $member_model->field(['id,money'])->where(['token'=>$data['token']])->find();
  266 + $order_sn = $data['order_sn'];
  267 + $order_model = new OrderModel();
  268 + $type = $order_model->where(['order_sn'=>$order_sn,'user_id'=>$user['id'],'status'=>2])->value('type');
  269 + if(empty($type)) {
  270 + $this->apiResponse(0,'订单未支付');
  271 + }
  272 + $name = '';
  273 + if($type == 1) {
  274 + $name = '需求押金缴纳成功';
  275 + }
  276 + if($type == 2) {
  277 + $name = '中介押金缴纳成功';
  278 + }
  279 + if($type == 3) {
  280 + $name = '透视卡支付成功';
  281 + }
  282 + $this->apiResponse(1,'成功', $name);
  283 + }
  284 + }
  285 +
  286 + /**
  287 + * @title 根据订单号查询订单信息(购买透视卡查询到的最低价)
  288 + * @description 接口说明
  289 + * @author 开发者
  290 + * @url /api/portal/Order/getOrderInfo
  291 + * @method POST
  292 + * @param name:token type:char require:1 default: other: desc:用户token
  293 + * @param name:need_id type:int require:1 default: other: desc:需求ID
  294 + *
  295 + */
  296 + public function getOrderInfo($token,$need_id) {
  297 +// if($this->request->isPost()) {
  298 + $member_model = new MemberModel();
  299 + $user = $member_model->field(['id,money'])->where(['token'=>$token])->find();
  300 + $order_model = new OrderModel();
  301 + $array = $order_model->field('pay_time,lower_price')->where(['need_id'=>$need_id,'user_id'=>$user['id'],'type'=>3,'status'=>2])->find();
  302 + if(empty($array)) {
  303 + return false;
  304 + }
  305 + return $array;
  306 +// }
  307 + }
307 } 308 }
@@ -695,6 +695,19 @@ class ThirdsendController extends HomeBaseController @@ -695,6 +695,19 @@ class ThirdsendController extends HomeBaseController
695 if (!$agency_result) { 695 if (!$agency_result) {
696 Db::rollback(); 696 Db::rollback();
697 } 697 }
  698 +// 增加平台收益
  699 + $add_get['type'] = 1;
  700 + $add_get['agency_id'] = 1;
  701 + foreach ($agency_list as $agencyk=>$agencyv){
  702 + $agency_idar[] = $agencyv['id'];
  703 + }
  704 + $add_get['agency_id'] = implode(',',$agency_idar);
  705 + $add_get['create_time'] = time();
  706 + $add_get['update_time'] = time();
  707 + $res_get = Db::name('Get')->insertGetId($add_get);
  708 + if (!$res_get) {
  709 + Db::rollback();
  710 + }
698 } 711 }
699 $where_needUpdate['id'] = $needv['id']; 712 $where_needUpdate['id'] = $needv['id'];
700 $needUpdate['status'] = 6; 713 $needUpdate['status'] = 6;
@@ -877,7 +890,12 @@ class ThirdsendController extends HomeBaseController @@ -877,7 +890,12 @@ class ThirdsendController extends HomeBaseController
877 'more' => json_encode($result) 890 'more' => json_encode($result)
878 ]; 891 ];
879 $refund_result = $refund_model->insertGetId($insert); 892 $refund_result = $refund_model->insertGetId($insert);
880 - if(!$refund_result) { 893 + $update = [
  894 + 'status' => 4,
  895 + 'refund_time' => strtotime($result->gmt_refund_pay)
  896 + ];
  897 + $order_result = Db::name('Order')->where(['id'=>$orderInfo['id']])->update($update);
  898 + if(!$refund_result || !$order_result) {
881 return false; 899 return false;
882 } 900 }
883 return true; 901 return true;
@@ -164,6 +164,7 @@ class UserController extends CommonController @@ -164,6 +164,7 @@ class UserController extends CommonController
164 * @param name:code type:int require:1 default: other: desc:验证码 164 * @param name:code type:int require:1 default: other: desc:验证码
165 * @param name:parent_id type:int require:1 default: other: desc:推荐人id 165 * @param name:parent_id type:int require:1 default: other: desc:推荐人id
166 * @param name:parent_tel type:int require:1 default: other: desc:推荐人手机号 166 * @param name:parent_tel type:int require:1 default: other: desc:推荐人手机号
  167 + * @param name:uid type:int require:1 default: other:一开始传的推荐人id desc:推荐人id
167 * @param name:connect type:int require:1 default: other:1 登录注册 ,2其他 desc:1 168 * @param name:connect type:int require:1 default: other:1 登录注册 ,2其他 desc:1
168 * @return data:'token' 169 * @return data:'token'
169 */ 170 */
@@ -386,8 +387,15 @@ class UserController extends CommonController @@ -386,8 +387,15 @@ class UserController extends CommonController
386 $memberModel = new MemberModel(); 387 $memberModel = new MemberModel();
387 $where_member['tel'] = $tel; 388 $where_member['tel'] = $tel;
388 $where_member['password'] = $this->md5($password); 389 $where_member['password'] = $this->md5($password);
389 - $where_member['type'] = $getData['gener']; 390 +// $where_member['type'] = $getData['gener'];
390 $uid = Db::name('Member')->where($where_member)->field('id,token,type,login_time')->find(); 391 $uid = Db::name('Member')->where($where_member)->field('id,token,type,login_time')->find();
  392 + if($uid['type'] != $getData['gener']){
  393 + if($uid['type'] == 1){
  394 + $this->apiResponse('0','请去用户登录页面登录');
  395 + }else if($uid['type'] == 2){
  396 + $this->apiResponse('0','请去中介登录页面登录');
  397 + }
  398 + }
391 if($uid){ 399 if($uid){
392 // 登录重置token 400 // 登录重置token
393 $token_str = rand(1000,9999).time().rand(100,999); 401 $token_str = rand(1000,9999).time().rand(100,999);
@@ -500,6 +508,13 @@ class UserController extends CommonController @@ -500,6 +508,13 @@ class UserController extends CommonController
500 $data = $this->request->param(); 508 $data = $this->request->param();
501 $user = $this->myleft($data['token']); 509 $user = $this->myleft($data['token']);
502 if(!empty($data['newTel'])){ 510 if(!empty($data['newTel'])){
  511 +// 查询是否已绑定其他账号
  512 + $where_isfind['tel'] = $data['newTel'];
  513 + $where_isfind['status'] = array('neq',9);
  514 + $find_one = Db::name('Member')->where($where_isfind)->field('id')->find();
  515 + if($find_one){
  516 + $this->apiResponse('0','当前手机号已绑定账户!');
  517 + }
503 if(empty($data['code'])){ 518 if(empty($data['code'])){
504 $this->apiResponse('0','验证码不能为空'); 519 $this->apiResponse('0','验证码不能为空');
505 } 520 }
@@ -1099,12 +1114,13 @@ class UserController extends CommonController @@ -1099,12 +1114,13 @@ class UserController extends CommonController
1099 $where_ag['id'] = $data['intermediary_id']; 1114 $where_ag['id'] = $data['intermediary_id'];
1100 $add['status'] = 5; 1115 $add['status'] = 5;
1101 $add['update_time'] = time(); 1116 $add['update_time'] = time();
1102 - $add['count_deal'] = $is_isset['count_deal']+1; 1117 +// $add['count_deal'] = $is_isset['count_deal']+1;
1103 $need_update['choose_time'] = time(); 1118 $need_update['choose_time'] = time();
1104 $save = Db::name('Agency')->where($where_ag)->update($add); 1119 $save = Db::name('Agency')->where($where_ag)->update($add);
1105 if($save){ 1120 if($save){
1106 $where_unchoose = [ 1121 $where_unchoose = [
1107 'a.need_id' => $data['need_id'], 1122 'a.need_id' => $data['need_id'],
  1123 + 'a.status' => 4,
1108 'a.id' => ['neq',$data['intermediary_id']] 1124 'a.id' => ['neq',$data['intermediary_id']]
1109 ]; 1125 ];
1110 $agency_unchoose = Db::name('Agency')->alias('a') 1126 $agency_unchoose = Db::name('Agency')->alias('a')
@@ -1497,9 +1513,10 @@ class UserController extends CommonController @@ -1497,9 +1513,10 @@ class UserController extends CommonController
1497 if($share){ 1513 if($share){
1498 foreach ($share as $k=>$v){ 1514 foreach ($share as $k=>$v){
1499 if($v['type'] == 1){ 1515 if($v['type'] == 1){
1500 - $final['content'] = $v; 1516 + $final['content'] = htmlspecialchars_decode($v['content']);
1501 }else if($v['type'] == 2){ 1517 }else if($v['type'] == 2){
1502 $final['box'] = $v; 1518 $final['box'] = $v;
  1519 + $final['box']['content'] = htmlspecialchars_decode($v['content']);
1503 }else if($v['type'] == 3){ 1520 }else if($v['type'] == 3){
1504 $final['pic'] = cmf_get_image_url($v['content']); 1521 $final['pic'] = cmf_get_image_url($v['content']);
1505 } 1522 }
@@ -124,8 +124,9 @@ class UserneedController extends CommonController @@ -124,8 +124,9 @@ class UserneedController extends CommonController
124 } 124 }
125 $where_code['tel'] = $data['tel']; 125 $where_code['tel'] = $data['tel'];
126 $where_code['type'] = 3; 126 $where_code['type'] = 3;
  127 + $where_code['status'] = 1;
127 $where_code['create_time'] = array('egt',(time()-300)); 128 $where_code['create_time'] = array('egt',(time()-300));
128 - $find_code = Db::name('Code')->where($where_code)->order('create_time desc')->field('code')->find(); 129 + $find_code = Db::name('Code')->where($where_code)->order('create_time')->field('code')->find();
129 if(!$find_code){ 130 if(!$find_code){
130 Db::rollback(); 131 Db::rollback();
131 $this->apiResponse('0','验证码错误,请重新获取'); 132 $this->apiResponse('0','验证码错误,请重新获取');
@@ -246,8 +247,9 @@ class UserneedController extends CommonController @@ -246,8 +247,9 @@ class UserneedController extends CommonController
246 } 247 }
247 $where_code['tel'] = $data['tel']; 248 $where_code['tel'] = $data['tel'];
248 $where_code['type'] = 3; 249 $where_code['type'] = 3;
  250 + $where_code['status'] = 1;
249 $where_code['create_time'] = array('egt',(time()-300)); 251 $where_code['create_time'] = array('egt',(time()-300));
250 - $find_code = Db::name('Code')->where($where_code)->order('create_time desc')->field('code')->find(); 252 + $find_code = Db::name('Code')->where($where_code)->order('create_time ')->field('code')->find();
251 if(!$find_code){ 253 if(!$find_code){
252 254
253 $this->apiResponse('0','验证码错误,请重新获取'); 255 $this->apiResponse('0','验证码错误,请重新获取');
@@ -188,12 +188,52 @@ class CooperationController extends AdminBaseController @@ -188,12 +188,52 @@ class CooperationController extends AdminBaseController
188 public function conf(){ 188 public function conf(){
189 $data = $this->request->param(); 189 $data = $this->request->param();
190 if($this->request->post()){ 190 if($this->request->post()){
191 - 191 + if(empty($data['id'])){
  192 + $add = $data;
  193 + $add['qrshare'] = $this->createQRcode($add['share']);
  194 + $add['create_time'] = time();
  195 + $add['update_time'] = time();
  196 + $res = Db::name('Conf')->insertGetId($add);
  197 + }else{
  198 + $add = $data;
  199 + $add['update_time'] = time();
  200 + $where_save['id'] = $data['id'];
  201 + $res = Db::name('Conf')->where($where_save)->update($add);
  202 + }
  203 + if($res){
  204 + $this->success('成功');
  205 + }else{
  206 + $this->error('失败');
  207 + }
192 } 208 }
193 - $this->assign('list',array()); 209 + $where_conf['id'] = 1;
  210 + $find_one = Db::name('Conf')->where($where_conf)->find();
  211 + $this->assign('list',$find_one);
194 return $this->fetch(); 212 return $this->fetch();
195 } 213 }
196 214
  215 +
  216 + /**
  217 + * 生成二维码
  218 + * $param url 地址
  219 + */
  220 + public function createQRcode($url) {
  221 + require VENDOR_PATH.'WxpayAPI/example/phpqrcode/phpqrcode.php';
  222 + $QRcode = new \QRcode();
  223 + $errorCorrectionLevel = 'L'; //容错级别
  224 + $matrixPointSize = 5; //生成图片大小
  225 + //生成二维码图片
  226 + $data = './upload/';
  227 + $flodername = 'qrcode/' . date("Ymd", time());
  228 + $png = uniqid() . '.png';
  229 + $filename = $data.$flodername . '/' . $png;
  230 + if (!file_exists($data.$flodername)) {
  231 + mkdir($data.$flodername, 0777, true);
  232 + }
  233 + $QRcode->png($url, $filename, $errorCorrectionLevel, $matrixPointSize);
  234 + return $flodername . '/' . $png;
  235 + }
  236 +
197 // 推广内容 237 // 推广内容
198 public function push(){ 238 public function push(){
199 $data = $this->request->param(); 239 $data = $this->request->param();
@@ -165,7 +165,6 @@ return array ( @@ -165,7 +165,6 @@ return array (
165 'PORTAL_COOPERATION_PUSH' => '推广内容', 165 'PORTAL_COOPERATION_PUSH' => '推广内容',
166 'PORTAL_COOPERATION_VIDEO' => '两分钟视频', 166 'PORTAL_COOPERATION_VIDEO' => '两分钟视频',
167 'PORTAL_NEED_INDEX' => '需求管理', 167 'PORTAL_NEED_INDEX' => '需求管理',
168 - 'PORTAL_NEW_CODE' => '二维码',  
169 'PORTAL_NEW_INDEX' => '最新成交公布', 168 'PORTAL_NEW_INDEX' => '最新成交公布',
170 'PORTAL_PROCESS_INDEX' => '交易流程', 169 'PORTAL_PROCESS_INDEX' => '交易流程',
171 'PORTAL_REFUND_INDEX' => '退款管理', 170 'PORTAL_REFUND_INDEX' => '退款管理',
@@ -11,45 +11,87 @@ @@ -11,45 +11,87 @@
11 <li><a href="">网站配置</a></li> 11 <li><a href="">网站配置</a></li>
12 <!--<li class="active"><a href="{:url('Reward/add')}">添加信誉奖励</a></li>--> 12 <!--<li class="active"><a href="{:url('Reward/add')}">添加信誉奖励</a></li>-->
13 </ul> 13 </ul>
14 - <form action="{:url('Reward/add')}" method="post" class="form-horizontal js-ajax-form margin-top-20" enctype="multipart/form-data" > 14 + <form action="{:url('Cooperation/conf')}" method="post" class="form-horizontal js-ajax-form margin-top-20" enctype="multipart/form-data" >
15 <div class="row"> 15 <div class="row">
16 <div class="col-md-9"> 16 <div class="col-md-9">
17 <table class="table table-bordered"> 17 <table class="table table-bordered">
18 <input class="form-control" type="hidden" name="id" 18 <input class="form-control" type="hidden" name="id"
19 - value=""/> 19 + value="{$list.id}"/>
20 20
21 <tr> 21 <tr>
22 <th width="10%">咨询电话</th> 22 <th width="10%">咨询电话</th>
23 - <td><input class="form-control" type="text" name="content"  
24 - value="" placeholder="请输入咨询电话"/> 23 + <td><input class="form-control" type="text" name="web_tel"
  24 + value="{$list.web_tel}" placeholder="请输入咨询电话"/>
25 25
26 </td> 26 </td>
27 </tr> 27 </tr>
28 - <tr>  
29 - <th width="10%">微信公众号</th>  
30 - <td><input class="form-control" type="text" name="content"  
31 - value="" placeholder="请输入微信公众号"/>  
32 28
  29 + <tr>
  30 + <th>微信公众号</th>
  31 + <td>
  32 + <div style="text-align: center;">
  33 + <input type="hidden" name="wx_public" id="thumbnail" value="{$list.wx_public}" >
  34 + <a href="javascript:uploadOneImage('图片上传','#thumbnail');">
  35 + <empty name="list['wx_public']">
  36 + <img src="__TMPL__/public/assets/images/default-thumbnail.png"
  37 + id="thumbnail-preview"
  38 + width="135" style="cursor: pointer"/>
  39 + <else/>
  40 + <img src="{:cmf_get_image_preview_url($list.wx_public)}"
  41 + id="thumbnail-preview"
  42 + width="135" style="cursor: pointer"/>
  43 + </empty>
  44 + </a>
  45 + <input type="button" class="btn btn-sm btn-cancel-thumbnail" value="取消图片">
  46 + </div>
33 </td> 47 </td>
34 </tr> 48 </tr>
35 <tr> 49 <tr>
36 - <th width="10%">微信客服</th>  
37 - <td><input class="form-control" type="text" name="content"  
38 - value="" placeholder="请输入微信客服"/>  
39 - 50 + <th>微信客服</th>
  51 + <td>
  52 + <div style="text-align: center;">
  53 + <input type="hidden" name="wx_service" id="thumbnail2" value="{$list.wx_service}" >
  54 + <a href="javascript:uploadOneImage('图片上传','#thumbnail2');">
  55 + <empty name="list['wx_service']">
  56 + <img src="__TMPL__/public/assets/images/default-thumbnail.png"
  57 + id="thumbnail2-preview"
  58 + width="135" style="cursor: pointer"/>
  59 + <else/>
  60 + <img src="{:cmf_get_image_preview_url($list.wx_service)}"
  61 + id="thumbnail2-preview"
  62 + width="135" style="cursor: pointer"/>
  63 + </empty>
  64 + </a>
  65 + <input type="button" class="btn btn-sm btn-cancel-thumbnail2" value="取消图片">
  66 + </div>
40 </td> 67 </td>
41 </tr> 68 </tr>
  69 +
  70 + <!--<tr>-->
  71 + <!--<th width="10%">微信公众号</th>-->
  72 + <!--<td><input class="form-control" type="text" name="wx_public"-->
  73 + <!--value="" placeholder="请输入微信公众号"/>-->
  74 +
  75 + <!--</td>-->
  76 + <!--</tr>-->
  77 + <!--<tr>-->
  78 + <!--<th width="10%">微信客服</th>-->
  79 + <!--<td><input class="form-control" type="text" name="wx_service"-->
  80 + <!--value="" placeholder="请输入微信客服"/>-->
  81 +
  82 + <!--</td>-->
  83 + <!--</tr>-->
42 <tr> 84 <tr>
43 <th width="10%">分享</th> 85 <th width="10%">分享</th>
44 - <td><input class="form-control" type="text" name="content"  
45 - value="" placeholder="请输入分享"/> 86 + <td><input class="form-control" type="text" name="share"
  87 + value="{$list.share}" placeholder="请输入分享"/>
46 88
47 </td> 89 </td>
48 </tr> 90 </tr>
49 <tr> 91 <tr>
50 <th width="10%">电话</th> 92 <th width="10%">电话</th>
51 - <td><input class="form-control" type="text" name="content"  
52 - value="" placeholder="请输入电话"/> 93 + <td><input class="form-control" type="text" name="tel"
  94 + value="{$list.tel}" placeholder="请输入电话"/>
53 95
54 </td> 96 </td>
55 </tr> 97 </tr>
@@ -57,7 +99,7 @@ @@ -57,7 +99,7 @@
57 <div class="form-group"> 99 <div class="form-group">
58 <div class="col-sm-offset-2 col-sm-10"> 100 <div class="col-sm-offset-2 col-sm-10">
59 <button type="submit" class="btn btn-primary js-ajax-submit">{:lang('ADD')}</button> 101 <button type="submit" class="btn btn-primary js-ajax-submit">{:lang('ADD')}</button>
60 - <a class="btn btn-default" href="{:url('Reward/index')}">{:lang('BACK')}</a> 102 + <a class="btn btn-default" href="{:url('Cooperation/conf')}">{:lang('BACK')}</a>
61 </div> 103 </div>
62 </div> 104 </div>
63 </div> 105 </div>
@@ -85,6 +127,10 @@ @@ -85,6 +127,10 @@
85 $('#thumbnail-preview').attr('src', '__TMPL__/public/assets/images/default-thumbnail.png'); 127 $('#thumbnail-preview').attr('src', '__TMPL__/public/assets/images/default-thumbnail.png');
86 $('#thumbnail').val(''); 128 $('#thumbnail').val('');
87 }); 129 });
  130 + $('.btn-cancel-thumbnail1').click(function () {
  131 + $('#thumbnail-preview1').attr('src', '__TMPL__/public/assets/images/default-thumbnail.png');
  132 + $('#thumbnail').val('');
  133 + });
88 134
89 }); 135 });
90 136
@@ -47,7 +47,7 @@ @@ -47,7 +47,7 @@
47 </tr> 47 </tr>
48 48
49 <tr> 49 <tr>
50 - <th></th> 50 + <th>内容</th>
51 <td> 51 <td>
52 <script type="text/plain" id="content" name="content" ><php>echo htmlspecialchars_decode($list['content']);</php></script> 52 <script type="text/plain" id="content" name="content" ><php>echo htmlspecialchars_decode($list['content']);</php></script>
53 </td> 53 </td>
1 -<?php  
2 -/**  
3 - * Created by PhpStorm.  
4 - * User: 29925  
5 - * Date: 2018/7/21  
6 - * Time: 11:39  
7 - */  
8 -  
9 -/*  
10 - * 微信退款  
11 - */  
12 -class WxRefund {  
13 -  
14 -  
15 - protected $appid;  
16 - protected $mch_id;  
17 - protected $key;  
18 - protected $transaction_id;  
19 - protected $out_refund_no;  
20 - protected $total_fee;  
21 - protected $refund_fee;  
22 - protected $refund_desc;  
23 - function __construct($appid, $mch_id, $key, $transaction_id, $out_refund_no, $total_fee, $refund_fee, $refund_desc) {  
24 - $this->appid = $appid;  
25 - $this->mch_id = $mch_id;  
26 - $this->key = $key;  
27 - $this->transaction_id = $transaction_id;  
28 - $this->out_refund_no = $out_refund_no;  
29 - $this->total_fee = $total_fee;  
30 - $this->refund_fee = $refund_fee;  
31 - $this->refund_desc = $refund_desc;  
32 - }  
33 -  
34 -  
35 - public function pay() {  
36 - //微信退款  
37 - $return = $this->weixinrefund();  
38 - return $return;  
39 - }  
40 -  
41 -  
42 - //退款接口  
43 - private function refund() {  
44 - $url = 'https://api.mch.weixin.qq.com/secapi/pay/refund';  
45 - $parameters = array(  
46 - 'appid' => $this->appid, //appID  
47 - 'mch_id' => $this->mch_id, //商户号  
48 - 'nonce_str' => $this->createNoncestr(), //随机字符串  
49 - 'transaction_id' => $this->transaction_id,  
50 -// 'out_trade_no' => '2015450806125348', //商户订单号  
51 - 'out_refund_no'=> $this->out_refund_no,  
52 -// 'total_fee' => floatval(0.01 * 100), //总金额 单位 分  
53 - 'total_fee' => $this->total_fee,  
54 - 'refund_fee' => $this->refund_fee,  
55 - 'notify_url' => url('portal/Notify/notify', '', '', true), //通知地址 确保外网能正常访问  
56 - 'refund_desc' => $this->refund_desc  
57 - );  
58 - //统一下单签名  
59 - $parameters['sign'] = $this->getSign($parameters);  
60 - $xmlData = $this->arrayToXmlT($parameters);  
61 - $return = $this->xmlToArray($this->postXmlCurl($xmlData, $url, 60,1));  
62 - return $return;  
63 - }  
64 -  
65 - private static function postXmlCurl($xml, $url, $second = 30,$pem = null)  
66 - {  
67 - $ch = curl_init();  
68 - //设置超时  
69 - curl_setopt($ch, CURLOPT_TIMEOUT, $second);  
70 - curl_setopt($ch, CURLOPT_URL, $url);  
71 - curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);  
72 - curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE); //严格校验  
73 - //设置header  
74 - curl_setopt($ch, CURLOPT_HEADER, FALSE);  
75 - //要求结果为字符串且输出到屏幕上  
76 - curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);  
77 - //post提交方式  
78 - curl_setopt($ch, CURLOPT_POST, TRUE);  
79 - curl_setopt($ch, CURLOPT_POSTFIELDS, $xml);  
80 - if($pem) {  
81 - //以下是证书相关代码  
82 - curl_setopt($ch,CURLOPT_SSLCERTTYPE,'PEM');  
83 - curl_setopt($ch,CURLOPT_SSLCERT,VENDOR_PATH.'WxpayAPI/cert/apiclient_cert.pem');//绝对路径  
84 - curl_setopt($ch,CURLOPT_SSLKEYTYPE,'PEM');  
85 - curl_setopt($ch,CURLOPT_SSLKEY,VENDOR_PATH.'WxpayAPI/cert/apiclient_key.pem');//绝对路径  
86 - }  
87 -  
88 - curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 20);  
89 - curl_setopt($ch, CURLOPT_TIMEOUT, 40);  
90 - set_time_limit(0);  
91 -  
92 -  
93 - //运行curl  
94 - $data = curl_exec($ch);  
95 - //返回结果  
96 - if ($data) {  
97 - curl_close($ch);  
98 - return $data;  
99 - } else {  
100 - $error = curl_errno($ch);  
101 - curl_close($ch);  
102 - return $error;  
103 -// throw new WxPayException("curl出错,错误码:$error");  
104 - }  
105 - }  
106 -  
107 - //数组转换成xml  
108 - private function arrayToXml($arr) {  
109 - $xml = "<root>";  
110 - foreach ($arr as $key => $val) {  
111 - if (is_array($val)) {  
112 - $xml .= "<" . $key . ">" . arrayToXml($val) . "</" . $key . ">";  
113 - } else {  
114 - $xml .= "<" . $key . ">" . $val . "</" . $key . ">";  
115 - }  
116 - }  
117 - $xml .= "</root>";  
118 - return $xml;  
119 - }  
120 -  
121 - //数组转换成xml  
122 - private function arrayToXmlT($arr) {  
123 - $xml = "<xml>";  
124 - foreach ($arr as $key => $val) {  
125 - if (is_array($val)) {  
126 - $xml .= "<" . $key . ">" . arrayToXmlT($val) . "</" . $key . ">";  
127 - } else {  
128 - $xml .= "<" . $key . ">" . $val . "</" . $key . ">";  
129 - }  
130 - }  
131 - $xml .= "</xml>";  
132 - return $xml;  
133 - }  
134 -  
135 -  
136 - //xml转换成数组  
137 - private function xmlToArray($xml) {  
138 -  
139 -  
140 - //禁止引用外部xml实体  
141 -  
142 -  
143 - libxml_disable_entity_loader(true);  
144 -  
145 -  
146 - $xmlstring = simplexml_load_string($xml, 'SimpleXMLElement', LIBXML_NOCDATA);  
147 -  
148 -  
149 - $val = json_decode(json_encode($xmlstring), true);  
150 -  
151 -  
152 - return $val;  
153 - }  
154 -  
155 -  
156 - //微信接口  
157 - private function weixinrefund() {  
158 - //退款接口  
159 - $refund = $this->refund();  
160 - return $refund;  
161 -// print_r($unifiedorder);  
162 - $parameters = array(  
163 - 'appId' => $this->appid, //小程序ID  
164 - 'timeStamp' => '' . time() . '', //时间戳  
165 - 'nonceStr' => $this->createNoncestr(), //随机串  
166 - 'package' => 'prepay_id=' . $refund['prepay_id'], //数据包  
167 - 'signType' => 'MD5'//签名方式  
168 - );  
169 - //签名  
170 - $parameters['paySign'] = $this->getSign($parameters);  
171 - return $parameters;  
172 - }  
173 -  
174 -  
175 - //作用:产生随机字符串,不长于32位  
176 - private function createNoncestr($length = 32) {  
177 - $chars = "abcdefghijklmnopqrstuvwxyz0123456789";  
178 - $str = "";  
179 - for ($i = 0; $i < $length; $i++) {  
180 - $str .= substr($chars, mt_rand(0, strlen($chars) - 1), 1);  
181 - }  
182 - return $str;  
183 - }  
184 -  
185 -  
186 - //作用:生成签名  
187 - private function getSign($Obj) {  
188 - foreach ($Obj as $k => $v) {  
189 - $Parameters[$k] = $v;  
190 - }  
191 - //签名步骤一:按字典序排序参数  
192 - ksort($Parameters);  
193 - $String = $this->formatBizQueryParaMap($Parameters, false);  
194 - //签名步骤二:在string后加入KEY  
195 - $String = $String . "&key=" . $this->key;  
196 - //签名步骤三:MD5加密  
197 - $String = md5($String);  
198 - //签名步骤四:所有字符转为大写  
199 - $result_ = strtoupper($String);  
200 - return $result_;  
201 - }  
202 -  
203 -  
204 - ///作用:格式化参数,签名过程需要使用  
205 - private function formatBizQueryParaMap($paraMap, $urlencode) {  
206 - $buff = "";  
207 - ksort($paraMap);  
208 - foreach ($paraMap as $k => $v) {  
209 - if ($urlencode) {  
210 - $v = urlencode($v);  
211 - }  
212 - $buff .= $k . "=" . $v . "&";  
213 - }  
214 - $reqPar = "";  
215 - if (strlen($buff) > 0) {  
216 - $reqPar = substr($buff, 0, strlen($buff) - 1);  
217 - }  
218 - return $reqPar;  
219 - }  
220 -  
221 -  
222 -} 1 +<?php
  2 +/**
  3 + * Created by PhpStorm.
  4 + * User: 29925
  5 + * Date: 2018/7/21
  6 + * Time: 11:39
  7 + */
  8 +
  9 +/*
  10 + * 微信退款
  11 + */
  12 +class WxRefund {
  13 +
  14 +
  15 + protected $appid;
  16 + protected $mch_id;
  17 + protected $key;
  18 + protected $transaction_id;
  19 + protected $out_refund_no;
  20 + protected $total_fee;
  21 + protected $refund_fee;
  22 + protected $refund_desc;
  23 + function __construct($appid, $mch_id, $key, $transaction_id, $out_refund_no, $total_fee, $refund_fee, $refund_desc) {
  24 + $this->appid = $appid;
  25 + $this->mch_id = $mch_id;
  26 + $this->key = $key;
  27 + $this->transaction_id = $transaction_id;
  28 + $this->out_refund_no = $out_refund_no;
  29 + $this->total_fee = $total_fee;
  30 + $this->refund_fee = $refund_fee;
  31 + $this->refund_desc = $refund_desc;
  32 + }
  33 +
  34 +
  35 + public function pay() {
  36 + //微信退款
  37 + $return = $this->weixinrefund();
  38 + return $return;
  39 + }
  40 +
  41 +
  42 + //退款接口
  43 + private function refund() {
  44 + $url = 'https://api.mch.weixin.qq.com/secapi/pay/refund';
  45 + $parameters = array(
  46 + 'appid' => $this->appid, //appID
  47 + 'mch_id' => $this->mch_id, //商户号
  48 + 'nonce_str' => $this->createNoncestr(), //随机字符串
  49 + 'transaction_id' => $this->transaction_id,
  50 +// 'out_trade_no' => '2015450806125348', //商户订单号
  51 + 'out_refund_no'=> $this->out_refund_no,
  52 +// 'total_fee' => floatval(0.01 * 100), //总金额 单位 分
  53 + 'total_fee' => $this->total_fee,
  54 + 'refund_fee' => $this->refund_fee,
  55 + 'notify_url' => 'http://'.$_SERVER['HTTP_HOST'].'/api/portal/notify/refund_notify', //通知地址 确保外网能正常访问
  56 + 'refund_desc' => $this->refund_desc
  57 + );
  58 + //统一下单签名
  59 + $parameters['sign'] = $this->getSign($parameters);
  60 + $xmlData = $this->arrayToXmlT($parameters);
  61 + $return = $this->xmlToArray($this->postXmlCurl($xmlData, $url, 60,1));
  62 + return $return;
  63 + }
  64 +
  65 + private static function postXmlCurl($xml, $url, $second = 30,$pem = null)
  66 + {
  67 + $ch = curl_init();
  68 + //设置超时
  69 + curl_setopt($ch, CURLOPT_TIMEOUT, $second);
  70 + curl_setopt($ch, CURLOPT_URL, $url);
  71 + curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
  72 + curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE); //严格校验
  73 + //设置header
  74 + curl_setopt($ch, CURLOPT_HEADER, FALSE);
  75 + //要求结果为字符串且输出到屏幕上
  76 + curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
  77 + //post提交方式
  78 + curl_setopt($ch, CURLOPT_POST, TRUE);
  79 + curl_setopt($ch, CURLOPT_POSTFIELDS, $xml);
  80 + if($pem) {
  81 + //以下是证书相关代码
  82 + curl_setopt($ch,CURLOPT_SSLCERTTYPE,'PEM');
  83 + curl_setopt($ch,CURLOPT_SSLCERT,VENDOR_PATH.'WxpayAPI/cert/apiclient_cert.pem');//绝对路径
  84 + curl_setopt($ch,CURLOPT_SSLKEYTYPE,'PEM');
  85 + curl_setopt($ch,CURLOPT_SSLKEY,VENDOR_PATH.'WxpayAPI/cert/apiclient_key.pem');//绝对路径
  86 + }
  87 +
  88 + curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 20);
  89 + curl_setopt($ch, CURLOPT_TIMEOUT, 40);
  90 + set_time_limit(0);
  91 +
  92 +
  93 + //运行curl
  94 + $data = curl_exec($ch);
  95 + //返回结果
  96 + if ($data) {
  97 + curl_close($ch);
  98 + return $data;
  99 + } else {
  100 + $error = curl_errno($ch);
  101 + curl_close($ch);
  102 + return $error;
  103 +// throw new WxPayException("curl出错,错误码:$error");
  104 + }
  105 + }
  106 +
  107 + //数组转换成xml
  108 + private function arrayToXml($arr) {
  109 + $xml = "<root>";
  110 + foreach ($arr as $key => $val) {
  111 + if (is_array($val)) {
  112 + $xml .= "<" . $key . ">" . arrayToXml($val) . "</" . $key . ">";
  113 + } else {
  114 + $xml .= "<" . $key . ">" . $val . "</" . $key . ">";
  115 + }
  116 + }
  117 + $xml .= "</root>";
  118 + return $xml;
  119 + }
  120 +
  121 + //数组转换成xml
  122 + private function arrayToXmlT($arr) {
  123 + $xml = "<xml>";
  124 + foreach ($arr as $key => $val) {
  125 + if (is_array($val)) {
  126 + $xml .= "<" . $key . ">" . arrayToXmlT($val) . "</" . $key . ">";
  127 + } else {
  128 + $xml .= "<" . $key . ">" . $val . "</" . $key . ">";
  129 + }
  130 + }
  131 + $xml .= "</xml>";
  132 + return $xml;
  133 + }
  134 +
  135 +
  136 + //xml转换成数组
  137 + private function xmlToArray($xml) {
  138 +
  139 +
  140 + //禁止引用外部xml实体
  141 +
  142 +
  143 + libxml_disable_entity_loader(true);
  144 +
  145 +
  146 + $xmlstring = simplexml_load_string($xml, 'SimpleXMLElement', LIBXML_NOCDATA);
  147 +
  148 +
  149 + $val = json_decode(json_encode($xmlstring), true);
  150 +
  151 +
  152 + return $val;
  153 + }
  154 +
  155 +
  156 + //微信接口
  157 + private function weixinrefund() {
  158 + //退款接口
  159 + $refund = $this->refund();
  160 + return $refund;
  161 +// print_r($unifiedorder);
  162 + $parameters = array(
  163 + 'appId' => $this->appid, //小程序ID
  164 + 'timeStamp' => '' . time() . '', //时间戳
  165 + 'nonceStr' => $this->createNoncestr(), //随机串
  166 + 'package' => 'prepay_id=' . $refund['prepay_id'], //数据包
  167 + 'signType' => 'MD5'//签名方式
  168 + );
  169 + //签名
  170 + $parameters['paySign'] = $this->getSign($parameters);
  171 + return $parameters;
  172 + }
  173 +
  174 +
  175 + //作用:产生随机字符串,不长于32位
  176 + private function createNoncestr($length = 32) {
  177 + $chars = "abcdefghijklmnopqrstuvwxyz0123456789";
  178 + $str = "";
  179 + for ($i = 0; $i < $length; $i++) {
  180 + $str .= substr($chars, mt_rand(0, strlen($chars) - 1), 1);
  181 + }
  182 + return $str;
  183 + }
  184 +
  185 +
  186 + //作用:生成签名
  187 + private function getSign($Obj) {
  188 + foreach ($Obj as $k => $v) {
  189 + $Parameters[$k] = $v;
  190 + }
  191 + //签名步骤一:按字典序排序参数
  192 + ksort($Parameters);
  193 + $String = $this->formatBizQueryParaMap($Parameters, false);
  194 + //签名步骤二:在string后加入KEY
  195 + $String = $String . "&key=" . $this->key;
  196 + //签名步骤三:MD5加密
  197 + $String = md5($String);
  198 + //签名步骤四:所有字符转为大写
  199 + $result_ = strtoupper($String);
  200 + return $result_;
  201 + }
  202 +
  203 +
  204 + ///作用:格式化参数,签名过程需要使用
  205 + private function formatBizQueryParaMap($paraMap, $urlencode) {
  206 + $buff = "";
  207 + ksort($paraMap);
  208 + foreach ($paraMap as $k => $v) {
  209 + if ($urlencode) {
  210 + $v = urlencode($v);
  211 + }
  212 + $buff .= $k . "=" . $v . "&";
  213 + }
  214 + $reqPar = "";
  215 + if (strlen($buff) > 0) {
  216 + $reqPar = substr($buff, 0, strlen($buff) - 1);
  217 + }
  218 + return $reqPar;
  219 + }
  220 +
  221 +
  222 +}
1 -<?php  
2 -/**  
3 - * Created by PhpStorm.  
4 - * User: 29925  
5 - * Date: 2018/7/21  
6 - * Time: 11:39  
7 - */  
8 -  
9 -/*  
10 - * 微信H5支付  
11 - */  
12 -class WxpayH5 {  
13 -  
14 -  
15 - protected $appid;  
16 - protected $mch_id;  
17 - protected $key;  
18 - protected $out_trade_no;  
19 - protected $body;  
20 - protected $total_fee;  
21 - protected $scene_info;  
22 - function __construct($appid, $mch_id, $key,$out_trade_no,$body,$total_fee,$scene_info) {  
23 - $this->appid = $appid;  
24 - $this->mch_id = $mch_id;  
25 - $this->key = $key;  
26 - $this->out_trade_no = $out_trade_no;  
27 - $this->body = $body;  
28 - $this->total_fee = $total_fee;  
29 - $this->scene_info = $scene_info;  
30 - }  
31 -  
32 -  
33 - public function pay() {  
34 - //H5支付接口  
35 - $return = $this->weixinapp();  
36 - return $return;  
37 - }  
38 -  
39 -  
40 - //H5支付接口  
41 - private function unifiedorder() {  
42 - $url = 'https://api.mch.weixin.qq.com/pay/unifiedorder';  
43 - $parameters = array(  
44 - 'appid' => $this->appid, //appID  
45 - 'mch_id' => $this->mch_id, //商户号  
46 - 'nonce_str' => $this->createNoncestr(), //随机字符串  
47 -// 'body' => 'test', //商品描述  
48 - 'body' => $this->body,  
49 -// 'out_trade_no' => '2015450806125348', //商户订单号  
50 - 'out_trade_no'=> $this->out_trade_no,  
51 -// 'total_fee' => floatval(0.01 * 100), //总金额 单位 分  
52 - 'total_fee' => $this->total_fee,  
53 -// 'spbill_create_ip' => $_SERVER['REMOTE_ADDR'], //终端IP  
54 - 'spbill_create_ip' => $_SERVER['REMOTE_ADDR'], //终端IP  
55 - 'notify_url' => url('portal/Notify/notify', '', '', true), //通知地址 确保外网能正常访问  
56 - 'trade_type' => 'MWEB',//交易类型  
57 - 'scene_info' => $this->scene_info  
58 - );  
59 - //统一下单签名  
60 - $parameters['sign'] = $this->getSign($parameters);  
61 - $xmlData = $this->arrayToXml($parameters);  
62 - $return = $this->xmlToArray($this->postXmlCurl($xmlData, $url, 60));  
63 - return $return;  
64 - }  
65 -  
66 - private static function postXmlCurl($xml, $url, $second = 30,$pem = null)  
67 - {  
68 - $ch = curl_init();  
69 - //设置超时  
70 - curl_setopt($ch, CURLOPT_TIMEOUT, $second);  
71 - curl_setopt($ch, CURLOPT_URL, $url);  
72 - curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);  
73 - curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE); //严格校验  
74 - //设置header  
75 - curl_setopt($ch, CURLOPT_HEADER, FALSE);  
76 - //要求结果为字符串且输出到屏幕上  
77 - curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);  
78 - //post提交方式  
79 - curl_setopt($ch, CURLOPT_POST, TRUE);  
80 - curl_setopt($ch, CURLOPT_POSTFIELDS, $xml);  
81 - if($pem) {  
82 - //以下是证书相关代码  
83 - curl_setopt($ch,CURLOPT_SSLCERTTYPE,'PEM');  
84 - curl_setopt($ch,CURLOPT_SSLCERT,VENDOR_PATH.'wxpay/cert/apiclient_cert.pem');//绝对路径  
85 - curl_setopt($ch,CURLOPT_SSLKEYTYPE,'PEM');  
86 - curl_setopt($ch,CURLOPT_SSLKEY,VENDOR_PATH.'wxpay/cert/apiclient_key.pem');//绝对路径  
87 - }  
88 -  
89 - curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 20);  
90 - curl_setopt($ch, CURLOPT_TIMEOUT, 40);  
91 - set_time_limit(0);  
92 -  
93 -  
94 - //运行curl  
95 - $data = curl_exec($ch);  
96 - //返回结果  
97 - if ($data) {  
98 - curl_close($ch);  
99 - return $data;  
100 - } else {  
101 - $error = curl_errno($ch);  
102 - curl_close($ch);  
103 - throw new WxPayException("curl出错,错误码:$error");  
104 - }  
105 - }  
106 -  
107 - //数组转换成xml  
108 - private function arrayToXml($arr) {  
109 - $xml = "<root>";  
110 - foreach ($arr as $key => $val) {  
111 - if (is_array($val)) {  
112 - $xml .= "<" . $key . ">" . arrayToXml($val) . "</" . $key . ">";  
113 - } else {  
114 - $xml .= "<" . $key . ">" . $val . "</" . $key . ">";  
115 - }  
116 - }  
117 - $xml .= "</root>";  
118 - return $xml;  
119 - }  
120 -  
121 - //数组转换成xml  
122 - private function arrayToXmlT($arr) {  
123 - $xml = "<xml>";  
124 - foreach ($arr as $key => $val) {  
125 - if (is_array($val)) {  
126 - $xml .= "<" . $key . ">" . arrayToXmlT($val) . "</" . $key . ">";  
127 - } else {  
128 - $xml .= "<" . $key . ">" . $val . "</" . $key . ">";  
129 - }  
130 - }  
131 - $xml .= "</xml>";  
132 - return $xml;  
133 - }  
134 -  
135 -  
136 - //xml转换成数组  
137 - private function xmlToArray($xml) {  
138 -  
139 -  
140 - //禁止引用外部xml实体  
141 -  
142 -  
143 - libxml_disable_entity_loader(true);  
144 -  
145 -  
146 - $xmlstring = simplexml_load_string($xml, 'SimpleXMLElement', LIBXML_NOCDATA);  
147 -  
148 -  
149 - $val = json_decode(json_encode($xmlstring), true);  
150 -  
151 -  
152 - return $val;  
153 - }  
154 -  
155 -  
156 - //H5支付接口  
157 - private function weixinapp() {  
158 - //H5支付接口  
159 - $unifiedorder = $this->unifiedorder();  
160 - return $unifiedorder;  
161 -// print_r($unifiedorder);  
162 - $parameters = array(  
163 - 'appId' => $this->appid, //appID  
164 - 'timeStamp' => '' . time() . '', //时间戳  
165 - 'nonceStr' => $this->createNoncestr(), //随机串  
166 - 'package' => 'prepay_id=' . $unifiedorder['prepay_id'], //数据包  
167 - 'signType' => 'MD5'//签名方式  
168 - );  
169 - //签名  
170 - $parameters['paySign'] = $this->getSign($parameters);  
171 - return $parameters;  
172 - }  
173 -  
174 -  
175 - //作用:产生随机字符串,不长于32位  
176 - private function createNoncestr($length = 32) {  
177 - $chars = "abcdefghijklmnopqrstuvwxyz0123456789";  
178 - $str = "";  
179 - for ($i = 0; $i < $length; $i++) {  
180 - $str .= substr($chars, mt_rand(0, strlen($chars) - 1), 1);  
181 - }  
182 - return $str;  
183 - }  
184 -  
185 -  
186 - //作用:生成签名  
187 - private function getSign($Obj) {  
188 - foreach ($Obj as $k => $v) {  
189 - $Parameters[$k] = $v;  
190 - }  
191 - //签名步骤一:按字典序排序参数  
192 - ksort($Parameters);  
193 - $String = $this->formatBizQueryParaMap($Parameters, false);  
194 - //签名步骤二:在string后加入KEY  
195 - $String = $String . "&key=" . $this->key;  
196 - //签名步骤三:MD5加密  
197 - $String = md5($String);  
198 - //签名步骤四:所有字符转为大写  
199 - $result_ = strtoupper($String);  
200 - return $result_;  
201 - }  
202 -  
203 -  
204 - ///作用:格式化参数,签名过程需要使用  
205 - private function formatBizQueryParaMap($paraMap, $urlencode) {  
206 - $buff = "";  
207 - ksort($paraMap);  
208 - foreach ($paraMap as $k => $v) {  
209 - if ($urlencode) {  
210 - $v = urlencode($v);  
211 - }  
212 - $buff .= $k . "=" . $v . "&";  
213 - }  
214 - $reqPar = "";  
215 - if (strlen($buff) > 0) {  
216 - $reqPar = substr($buff, 0, strlen($buff) - 1);  
217 - }  
218 - return $reqPar;  
219 - }  
220 -  
221 -  
222 -} 1 +<?php
  2 +/**
  3 + * Created by PhpStorm.
  4 + * User: 29925
  5 + * Date: 2018/7/21
  6 + * Time: 11:39
  7 + */
  8 +
  9 +/*
  10 + * 微信H5支付
  11 + */
  12 +class WxpayH5 {
  13 +
  14 +
  15 + protected $appid;
  16 + protected $mch_id;
  17 + protected $key;
  18 + protected $out_trade_no;
  19 + protected $body;
  20 + protected $total_fee;
  21 + protected $scene_info;
  22 + function __construct($appid, $mch_id, $key,$out_trade_no,$body,$total_fee,$scene_info) {
  23 + $this->appid = $appid;
  24 + $this->mch_id = $mch_id;
  25 + $this->key = $key;
  26 + $this->out_trade_no = $out_trade_no;
  27 + $this->body = $body;
  28 + $this->total_fee = $total_fee;
  29 + $this->scene_info = $scene_info;
  30 + }
  31 +
  32 +
  33 + public function pay() {
  34 + //H5支付接口
  35 + $return = $this->weixinapp();
  36 + return $return;
  37 + }
  38 +
  39 +
  40 + //H5支付接口
  41 + private function unifiedorder() {
  42 + $url = 'https://api.mch.weixin.qq.com/pay/unifiedorder';
  43 + $parameters = array(
  44 + 'appid' => $this->appid, //appID
  45 + 'mch_id' => $this->mch_id, //商户号
  46 + 'nonce_str' => $this->createNoncestr(), //随机字符串
  47 +// 'body' => 'test', //商品描述
  48 + 'body' => $this->body,
  49 +// 'out_trade_no' => '2015450806125348', //商户订单号
  50 + 'out_trade_no'=> $this->out_trade_no,
  51 +// 'total_fee' => floatval(0.01 * 100), //总金额 单位 分
  52 + 'total_fee' => $this->total_fee,
  53 +// 'spbill_create_ip' => $_SERVER['REMOTE_ADDR'], //终端IP
  54 + 'spbill_create_ip' => $_SERVER['REMOTE_ADDR'], //终端IP
  55 + 'notify_url' => 'http://'.$_SERVER['HTTP_HOST'].'/api/portal/Notify/notify', //通知地址 确保外网能正常访问
  56 + 'trade_type' => 'MWEB',//交易类型
  57 + 'scene_info' => $this->scene_info
  58 + );
  59 + //统一下单签名
  60 + $parameters['sign'] = $this->getSign($parameters);
  61 + $xmlData = $this->arrayToXml($parameters);
  62 + $return = $this->xmlToArray($this->postXmlCurl($xmlData, $url, 60));
  63 + return $return;
  64 + }
  65 +
  66 + private static function postXmlCurl($xml, $url, $second = 30,$pem = null)
  67 + {
  68 + $ch = curl_init();
  69 + //设置超时
  70 + curl_setopt($ch, CURLOPT_TIMEOUT, $second);
  71 + curl_setopt($ch, CURLOPT_URL, $url);
  72 + curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
  73 + curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE); //严格校验
  74 + //设置header
  75 + curl_setopt($ch, CURLOPT_HEADER, FALSE);
  76 + //要求结果为字符串且输出到屏幕上
  77 + curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
  78 + //post提交方式
  79 + curl_setopt($ch, CURLOPT_POST, TRUE);
  80 + curl_setopt($ch, CURLOPT_POSTFIELDS, $xml);
  81 + if($pem) {
  82 + //以下是证书相关代码
  83 + curl_setopt($ch,CURLOPT_SSLCERTTYPE,'PEM');
  84 + curl_setopt($ch,CURLOPT_SSLCERT,VENDOR_PATH.'wxpay/cert/apiclient_cert.pem');//绝对路径
  85 + curl_setopt($ch,CURLOPT_SSLKEYTYPE,'PEM');
  86 + curl_setopt($ch,CURLOPT_SSLKEY,VENDOR_PATH.'wxpay/cert/apiclient_key.pem');//绝对路径
  87 + }
  88 +
  89 + curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 20);
  90 + curl_setopt($ch, CURLOPT_TIMEOUT, 40);
  91 + set_time_limit(0);
  92 +
  93 +
  94 + //运行curl
  95 + $data = curl_exec($ch);
  96 + //返回结果
  97 + if ($data) {
  98 + curl_close($ch);
  99 + return $data;
  100 + } else {
  101 + $error = curl_errno($ch);
  102 + curl_close($ch);
  103 + throw new WxPayException("curl出错,错误码:$error");
  104 + }
  105 + }
  106 +
  107 + //数组转换成xml
  108 + private function arrayToXml($arr) {
  109 + $xml = "<root>";
  110 + foreach ($arr as $key => $val) {
  111 + if (is_array($val)) {
  112 + $xml .= "<" . $key . ">" . arrayToXml($val) . "</" . $key . ">";
  113 + } else {
  114 + $xml .= "<" . $key . ">" . $val . "</" . $key . ">";
  115 + }
  116 + }
  117 + $xml .= "</root>";
  118 + return $xml;
  119 + }
  120 +
  121 + //数组转换成xml
  122 + private function arrayToXmlT($arr) {
  123 + $xml = "<xml>";
  124 + foreach ($arr as $key => $val) {
  125 + if (is_array($val)) {
  126 + $xml .= "<" . $key . ">" . arrayToXmlT($val) . "</" . $key . ">";
  127 + } else {
  128 + $xml .= "<" . $key . ">" . $val . "</" . $key . ">";
  129 + }
  130 + }
  131 + $xml .= "</xml>";
  132 + return $xml;
  133 + }
  134 +
  135 +
  136 + //xml转换成数组
  137 + private function xmlToArray($xml) {
  138 +
  139 +
  140 + //禁止引用外部xml实体
  141 +
  142 +
  143 + libxml_disable_entity_loader(true);
  144 +
  145 +
  146 + $xmlstring = simplexml_load_string($xml, 'SimpleXMLElement', LIBXML_NOCDATA);
  147 +
  148 +
  149 + $val = json_decode(json_encode($xmlstring), true);
  150 +
  151 +
  152 + return $val;
  153 + }
  154 +
  155 +
  156 + //H5支付接口
  157 + private function weixinapp() {
  158 + //H5支付接口
  159 + $unifiedorder = $this->unifiedorder();
  160 + return $unifiedorder;
  161 +// print_r($unifiedorder);
  162 + $parameters = array(
  163 + 'appId' => $this->appid, //appID
  164 + 'timeStamp' => '' . time() . '', //时间戳
  165 + 'nonceStr' => $this->createNoncestr(), //随机串
  166 + 'package' => 'prepay_id=' . $unifiedorder['prepay_id'], //数据包
  167 + 'signType' => 'MD5'//签名方式
  168 + );
  169 + //签名
  170 + $parameters['paySign'] = $this->getSign($parameters);
  171 + return $parameters;
  172 + }
  173 +
  174 +
  175 + //作用:产生随机字符串,不长于32位
  176 + private function createNoncestr($length = 32) {
  177 + $chars = "abcdefghijklmnopqrstuvwxyz0123456789";
  178 + $str = "";
  179 + for ($i = 0; $i < $length; $i++) {
  180 + $str .= substr($chars, mt_rand(0, strlen($chars) - 1), 1);
  181 + }
  182 + return $str;
  183 + }
  184 +
  185 +
  186 + //作用:生成签名
  187 + private function getSign($Obj) {
  188 + foreach ($Obj as $k => $v) {
  189 + $Parameters[$k] = $v;
  190 + }
  191 + //签名步骤一:按字典序排序参数
  192 + ksort($Parameters);
  193 + $String = $this->formatBizQueryParaMap($Parameters, false);
  194 + //签名步骤二:在string后加入KEY
  195 + $String = $String . "&key=" . $this->key;
  196 + //签名步骤三:MD5加密
  197 + $String = md5($String);
  198 + //签名步骤四:所有字符转为大写
  199 + $result_ = strtoupper($String);
  200 + return $result_;
  201 + }
  202 +
  203 +
  204 + ///作用:格式化参数,签名过程需要使用
  205 + private function formatBizQueryParaMap($paraMap, $urlencode) {
  206 + $buff = "";
  207 + ksort($paraMap);
  208 + foreach ($paraMap as $k => $v) {
  209 + if ($urlencode) {
  210 + $v = urlencode($v);
  211 + }
  212 + $buff .= $k . "=" . $v . "&";
  213 + }
  214 + $reqPar = "";
  215 + if (strlen($buff) > 0) {
  216 + $reqPar = substr($buff, 0, strlen($buff) - 1);
  217 + }
  218 + return $reqPar;
  219 + }
  220 +
  221 +
  222 +}
@@ -2175,3 +2175,1536 @@ @@ -2175,3 +2175,1536 @@
2175 'sign_type' => 'RSA2', 2175 'sign_type' => 'RSA2',
2176 'seller_id' => '2088131533026493', 2176 'seller_id' => '2088131533026493',
2177 ) 2177 )
  2178 +2018-08-04 09:18:54 {"product_code":"FAST_INSTANT_TRADE_PAY","body":"","subject":"需求保证金支付","total_amount":"0.01","out_trade_no":"2018080498101102"}
  2179 +2018-08-04 09:18:54 response: '<form id=\'alipaysubmit\' name=\'alipaysubmit\' action=\'https://openapi.alipay.com/gateway.do?charset=UTF-8\' method=\'POST\'><input type=\'hidden\' name=\'biz_content\' value=\'{"product_code":"FAST_INSTANT_TRADE_PAY","body":"","subject":"需求保证金支付","total_amount":"0.01","out_trade_no":"2018080498101102"}\'/><input type=\'hidden\' name=\'app_id\' value=\'2018062560425105\'/><input type=\'hidden\' name=\'version\' value=\'1.0\'/><input type=\'hidden\' name=\'format\' value=\'json\'/><input type=\'hidden\' name=\'sign_type\' value=\'RSA2\'/><input type=\'hidden\' name=\'method\' value=\'alipay.trade.page.pay\'/><input type=\'hidden\' name=\'timestamp\' value=\'2018-08-04 09:18:54\'/><input type=\'hidden\' name=\'alipay_sdk\' value=\'alipay-sdk-php-20161101\'/><input type=\'hidden\' name=\'notify_url\' value=\'http://houseprice.w.bronet.cn/api/portal/Alipay/notify_url\'/><input type=\'hidden\' name=\'return_url\' value=\'http://houseprice.w.bronet.cn/api/portal/Alipay/return_url\'/><input type=\'hidden\' name=\'charset\' value=\'UTF-8\'/><input type=\'hidden\' name=\'sign\' value=\'mkVmp8ff5SJVVGM8pG/RdJnpNKg0GpvRt8IhWD+Ftp6x3K8RZ3AeJBFqD3iIGzPc+f6dUZz0CKRkV7AVQcaKBCS/iCWn0/Yi9o+GL9u3A4WzooabhZMictNJXEvxW4SjR6Wkl18806FDcS4OozU3KuYlFuYnNDQBSmbfQS1HI1c5g0kG0VqTRG8LVk8vUkFpItEF//rBiTXTi1YelW8yQwCFKYNqy4H8HWAPyfDlpu+7UR2O4YvJ64+n3PHyXm/rOTYkjmf7Zdoc69YmgEX+qPXqdZRIBnLCVypir6ME/ISCb43Aal8hvG6N/mN9REW8lBp6oW+I+gUAXVHhZy3jrw==\'/><input type=\'submit\' value=\'ok\' style=\'display:none;\'\'></form><script>document.forms[\'alipaysubmit\'].submit();</script>'
  2180 +2018-08-04 09:19:07 array (
  2181 + 'gmt_create' => '2018-08-04 09:19:03',
  2182 + 'charset' => 'UTF-8',
  2183 + 'gmt_payment' => '2018-08-04 09:19:06',
  2184 + 'notify_time' => '2018-08-04 09:19:07',
  2185 + 'subject' => '需求保证金支付',
  2186 + 'sign' => 'dBpd4xdpwvodSVzGZFmSVNwDwZis+Vjg8pQGStVrVGcrAIXdbfDtklFJkR9GRhbEwfr3n+3Rp4xOULLm+iIwZ8pnE6FtnOpqWUdOetrIHzdxj5SPrNRICU1qD4wia6c3z+SGnJW9Wk11LJSoW/+QkseELfCzFojVOmw2bp1HESeuvXz+Sm+TdyYtdTfZF6jqsEUstRwHayWQEV1PJuievakumNOlDKpTZVLpyntbjm4SSnm5R/p+h3er+Oaranutp6MjzdnPrDkiLb/XkZ+0K7QA2X+98oo/pt55GBCuFU9tM4PnQOZFnyPICodNPudez/aZpxOHIPfbKbUoZebgdw==',
  2187 + 'buyer_id' => '2088222054754412',
  2188 + 'invoice_amount' => '0.01',
  2189 + 'version' => '1.0',
  2190 + 'notify_id' => '86bcc663df43bfb41f45f6af0af0fe2j61',
  2191 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  2192 + 'notify_type' => 'trade_status_sync',
  2193 + 'out_trade_no' => '2018080498101102',
  2194 + 'total_amount' => '0.01',
  2195 + 'trade_status' => 'TRADE_SUCCESS',
  2196 + 'trade_no' => '2018080421001004410521485181',
  2197 + 'auth_app_id' => '2018062560425105',
  2198 + 'receipt_amount' => '0.01',
  2199 + 'point_amount' => '0.00',
  2200 + 'app_id' => '2018062560425105',
  2201 + 'buyer_pay_amount' => '0.01',
  2202 + 'sign_type' => 'RSA2',
  2203 + 'seller_id' => '2088131533026493',
  2204 +)
  2205 +2018-08-04 09:20:07 {"out_trade_no":"2018080498101102","trade_no":"2018080421001004410521485181","refund_amount":"0.01","out_request_no":"","refund_reason":"报价人数不足"}
  2206 +2018-08-04 09:20:08 response: stdClass::__set_state(array(
  2207 + 'alipay_trade_refund_response' =>
  2208 + stdClass::__set_state(array(
  2209 + 'code' => '10000',
  2210 + 'msg' => 'Success',
  2211 + 'buyer_logon_id' => '252***@qq.com',
  2212 + 'buyer_user_id' => '2088222054754412',
  2213 + 'fund_change' => 'Y',
  2214 + 'gmt_refund_pay' => '2018-08-04 09:20:08',
  2215 + 'out_trade_no' => '2018080498101102',
  2216 + 'refund_fee' => '0.01',
  2217 + 'send_back_fee' => '0.00',
  2218 + 'trade_no' => '2018080421001004410521485181',
  2219 + )),
  2220 + 'sign' => 'jaPSYSg0J7PWdLNp193tCGEfls0Z4sWySVf7M3swPK4pwSviY0W0LNPGgOLpJ9gfbOWgPMd5MtEd4z3gyHF1+HoUwWgPDcqOMLm2nGjCXe2pwExafthFwsAxP3GWhmlLimrWUxVjKViANGd7JBxblEge2KVtbJdF9SaW3N9hV23fwxW9wWqbWmI8cczh1Vo/OqwgGTCf2SuZFPZ8j4nU5bpVgHHGOYfy7ee7hRyhvL3jGu6B69xX2Ic5blheoyZJJ9dIOrETk/df4S4xlCN8LGd2Uwxwh7OQFihk1a8gGYHCp4CLkLrw4mPlIZovtxGxQXVUJBg0FUjs3KD7zDQT6A==',
  2221 +))
  2222 +2018-08-04 09:23:21 array (
  2223 + 'gmt_create' => '2018-08-04 09:19:03',
  2224 + 'charset' => 'UTF-8',
  2225 + 'gmt_payment' => '2018-08-04 09:19:06',
  2226 + 'notify_time' => '2018-08-04 09:23:21',
  2227 + 'subject' => '需求保证金支付',
  2228 + 'sign' => 'Fm7uY36Nf0nN+pSvPgPN6ktlBV18d9WMtPD+wniBE5Um3ho2SM+qH0SdBrbXBWWNR90pP5RdnIzJwiyq6KDgkAaRRNEv2KUUmueGxPKMgauwLj/N83k1Fd5Nb5i40tyIU3z1k4zdRt4yVt20S8jnU9R9LFu3nOFzyBioEp5Vp0LiVkVaDc9D6V9n/UPmLz/aQ0TgNz/5BPilsBChxeIMyPx0Nek2Fynwn8U8fJf9LvOuNRpyfFsHO+uXI0IlXct3haosc7Qkg0Uf7qnXqzIbw0Umrnv37uR/0qlgLJ7FE94G6A+7EzHPU8UojiSQCzn6XeXLVdtUenX8RR05T7bjCA==',
  2229 + 'buyer_id' => '2088222054754412',
  2230 + 'invoice_amount' => '0.01',
  2231 + 'version' => '1.0',
  2232 + 'notify_id' => '86bcc663df43bfb41f45f6af0af0fe2j61',
  2233 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  2234 + 'notify_type' => 'trade_status_sync',
  2235 + 'out_trade_no' => '2018080498101102',
  2236 + 'total_amount' => '0.01',
  2237 + 'trade_status' => 'TRADE_SUCCESS',
  2238 + 'trade_no' => '2018080421001004410521485181',
  2239 + 'auth_app_id' => '2018062560425105',
  2240 + 'receipt_amount' => '0.01',
  2241 + 'point_amount' => '0.00',
  2242 + 'app_id' => '2018062560425105',
  2243 + 'buyer_pay_amount' => '0.01',
  2244 + 'sign_type' => 'RSA2',
  2245 + 'seller_id' => '2088131533026493',
  2246 +)
  2247 +2018-08-04 09:24:54 {"product_code":"FAST_INSTANT_TRADE_PAY","body":"","subject":"需求保证金支付","total_amount":"0.01","out_trade_no":"2018080451101985"}
  2248 +2018-08-04 09:24:54 response: '<form id=\'alipaysubmit\' name=\'alipaysubmit\' action=\'https://openapi.alipay.com/gateway.do?charset=UTF-8\' method=\'POST\'><input type=\'hidden\' name=\'biz_content\' value=\'{"product_code":"FAST_INSTANT_TRADE_PAY","body":"","subject":"需求保证金支付","total_amount":"0.01","out_trade_no":"2018080451101985"}\'/><input type=\'hidden\' name=\'app_id\' value=\'2018062560425105\'/><input type=\'hidden\' name=\'version\' value=\'1.0\'/><input type=\'hidden\' name=\'format\' value=\'json\'/><input type=\'hidden\' name=\'sign_type\' value=\'RSA2\'/><input type=\'hidden\' name=\'method\' value=\'alipay.trade.page.pay\'/><input type=\'hidden\' name=\'timestamp\' value=\'2018-08-04 09:24:54\'/><input type=\'hidden\' name=\'alipay_sdk\' value=\'alipay-sdk-php-20161101\'/><input type=\'hidden\' name=\'notify_url\' value=\'http://houseprice.w.bronet.cn/api/portal/Alipay/notify_url\'/><input type=\'hidden\' name=\'return_url\' value=\'http://houseprice.w.bronet.cn/api/portal/Alipay/return_url\'/><input type=\'hidden\' name=\'charset\' value=\'UTF-8\'/><input type=\'hidden\' name=\'sign\' value=\'x4LUw0cCWVlL1QVOtc228OaXj5lch68yK6GbTmnZjpKKcfnTvRCIOiqGK9l9+0MK293nAMoNnpNFFKGZYpMdoVyrc0UiXx+4eZ2WDnx4zea/4COkD1c3o1kAQJd99ePYXIhLYbrzJ0xKKc+Ovs7ogp2Jx3wWw5zf/s7DbbxwCqEy4STlFOvKpjoosx5u6xKMW9z9xDfIbpwwk0RELdEVHOZbjufFQK/71ahgkhE+bnfVwCPFv0gHHf84iCYrR4arjckUoTk665/S5XoBSgnY7n8dQeu4Jk4q3CyGUtotq1pZJ6dFxOYsYfKd1SOHoJTtdvpEbWioZU0aai9NCS2hlQ==\'/><input type=\'submit\' value=\'ok\' style=\'display:none;\'\'></form><script>document.forms[\'alipaysubmit\'].submit();</script>'
  2249 +2018-08-04 09:25:02 array (
  2250 + 'gmt_create' => '2018-08-04 09:24:59',
  2251 + 'charset' => 'UTF-8',
  2252 + 'gmt_payment' => '2018-08-04 09:25:02',
  2253 + 'notify_time' => '2018-08-04 09:25:02',
  2254 + 'subject' => '需求保证金支付',
  2255 + 'sign' => 'el9k5sY2tgw3h4/6rSGQaDZgdbRxpRx3noPvs5OmHupeuZUYaxWDPCnlFlS8b+5kcTA47rKUpSIRSFzJXUdbXnSAvHGGQIBgZ6dJ2353CixEj2mOB+2B7GQtswGwix4O9z+JukiGeAjeckDwAILXK6kwoTlSBdUyEXvJPThEtD/B8WNAGq6N1j74iVFeDAWDEqalwH75DevnFDfExMyZwKA+56SPwY+NjhJlFRYohP2X1aIPKD36AOeGf/WuJK43a7APIGIqHDy6FWQv3r9jOqYuy9KxE0rh/SZrTqLdHE8XCZMGJCjesxnWnCcVuj/gqP4V4RjTyXpMdQry1FMnMg==',
  2256 + 'buyer_id' => '2088222054754412',
  2257 + 'invoice_amount' => '0.01',
  2258 + 'version' => '1.0',
  2259 + 'notify_id' => '943db8fbd8634316ea2a0fdc0849b7dj61',
  2260 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  2261 + 'notify_type' => 'trade_status_sync',
  2262 + 'out_trade_no' => '2018080451101985',
  2263 + 'total_amount' => '0.01',
  2264 + 'trade_status' => 'TRADE_SUCCESS',
  2265 + 'trade_no' => '2018080421001004410521107930',
  2266 + 'auth_app_id' => '2018062560425105',
  2267 + 'receipt_amount' => '0.01',
  2268 + 'point_amount' => '0.00',
  2269 + 'app_id' => '2018062560425105',
  2270 + 'buyer_pay_amount' => '0.01',
  2271 + 'sign_type' => 'RSA2',
  2272 + 'seller_id' => '2088131533026493',
  2273 +)
  2274 +2018-08-04 09:25:38 {"out_trade_no":"2018080451101985","trade_no":"2018080421001004410521107930","refund_amount":"0.01","out_request_no":"","refund_reason":"报价人数不足"}
  2275 +2018-08-04 09:25:39 response: stdClass::__set_state(array(
  2276 + 'alipay_trade_refund_response' =>
  2277 + stdClass::__set_state(array(
  2278 + 'code' => '10000',
  2279 + 'msg' => 'Success',
  2280 + 'buyer_logon_id' => '252***@qq.com',
  2281 + 'buyer_user_id' => '2088222054754412',
  2282 + 'fund_change' => 'Y',
  2283 + 'gmt_refund_pay' => '2018-08-04 09:25:38',
  2284 + 'out_trade_no' => '2018080451101985',
  2285 + 'refund_fee' => '0.01',
  2286 + 'send_back_fee' => '0.00',
  2287 + 'trade_no' => '2018080421001004410521107930',
  2288 + )),
  2289 + 'sign' => 'MI043x1tzYk78sXRB4o27G9r113fnBH9w6dIi7CLnn0/4ak9iRRy3+eAywLwq+qwLFZyongIFAdIVMWHLvCHbH9suQuDV1STGPG2UgXxpghUsLQqTdedFXXTydoCxz5kCUVOn9pCfA9aPscjwZvUOHBBcD/iRcyBQwe5cFzV4Xd76om1BKhtlJvqL6UZTCvFu1Bnmv2+X6qa0LUJj2SzTCsE6/F65Tz7Ze2w0FHtRw5PscyIa7U48i7MPP1SsbTzUBgtUxSMEAP0ce5kTvNOjEGQs0OUxgcTIRCBbdAxLEb36UlDlxxCm1UDzBXrmdMY3lXJ6UQz4Qr6ZVt6gX3Rrw==',
  2290 +))
  2291 +2018-08-04 09:29:09 array (
  2292 + 'gmt_create' => '2018-08-04 09:24:59',
  2293 + 'charset' => 'UTF-8',
  2294 + 'gmt_payment' => '2018-08-04 09:25:02',
  2295 + 'notify_time' => '2018-08-04 09:29:09',
  2296 + 'subject' => '需求保证金支付',
  2297 + 'sign' => 'Igzza4iRpY7Z/PtSff4vE0tffGSjVd7EQ7LN/sYFIJJVrqHxuyloEyNYOWoiBU3xv6mCXApXVe130kZOTuYTTQ+fd1iDT+pP7OsuRq8xWb92hR2MrZT3KoKIn9cE6t5Nb7Rxq/mFoMaW3lG85sfuShP6ZSSWpQmFRz7aJftFS3KXxVPk+VYAykrk79ZA3U6HSrapvahmdZlU2h+XDj8BlEcrSG322VyYSIvD36datWNg2SwfL0j9KXUFClVNd5HXt6ICb3xHmhi4A/FKDcaiyYHVBBTK9+6kfLsFG2FW+1BZkKb2g8Z0DPuIpxbbhcStNMH+8KGVW0bV+B45PNbogA==',
  2298 + 'buyer_id' => '2088222054754412',
  2299 + 'invoice_amount' => '0.01',
  2300 + 'version' => '1.0',
  2301 + 'notify_id' => '943db8fbd8634316ea2a0fdc0849b7dj61',
  2302 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  2303 + 'notify_type' => 'trade_status_sync',
  2304 + 'out_trade_no' => '2018080451101985',
  2305 + 'total_amount' => '0.01',
  2306 + 'trade_status' => 'TRADE_SUCCESS',
  2307 + 'trade_no' => '2018080421001004410521107930',
  2308 + 'auth_app_id' => '2018062560425105',
  2309 + 'receipt_amount' => '0.01',
  2310 + 'point_amount' => '0.00',
  2311 + 'app_id' => '2018062560425105',
  2312 + 'buyer_pay_amount' => '0.01',
  2313 + 'sign_type' => 'RSA2',
  2314 + 'seller_id' => '2088131533026493',
  2315 +)
  2316 +2018-08-04 09:33:17 array (
  2317 + 'gmt_create' => '2018-08-04 09:19:03',
  2318 + 'charset' => 'UTF-8',
  2319 + 'gmt_payment' => '2018-08-04 09:19:06',
  2320 + 'notify_time' => '2018-08-04 09:33:17',
  2321 + 'subject' => '需求保证金支付',
  2322 + 'sign' => 'Y01ZWtgAPdg5FNLeSBKjp2W6XY3c2TYIc5pg3cHUNclucR+4Eqa6c4f0Vkpit+nOn9fGtM9BkV8cmcHKSlkdpYZ/paLAfZ41Is/Vsfy3kCGbJoagQlzbkjif6aHV54Qwk4qTNvBV5RCk5vmkHIUh1LejT7KR/Z1g5h4CXxOna8WwNR+CIH0K+jDBrHivZSUkN9lIT1oKauQp6WUmLdxybWGxdu2lf8w6TYe3294L0h3aGG3Nk9F9+NpxUv7TOOuJopbK6/MIl3bqG6kU/MjJK2cDTJiwvwWzzhQYsdOoQvEddHAH9EDgakkQFOXCU74J6BnJAAPCH8jJkeiqaZJbpw==',
  2323 + 'buyer_id' => '2088222054754412',
  2324 + 'invoice_amount' => '0.01',
  2325 + 'version' => '1.0',
  2326 + 'notify_id' => '86bcc663df43bfb41f45f6af0af0fe2j61',
  2327 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  2328 + 'notify_type' => 'trade_status_sync',
  2329 + 'out_trade_no' => '2018080498101102',
  2330 + 'total_amount' => '0.01',
  2331 + 'trade_status' => 'TRADE_SUCCESS',
  2332 + 'trade_no' => '2018080421001004410521485181',
  2333 + 'auth_app_id' => '2018062560425105',
  2334 + 'receipt_amount' => '0.01',
  2335 + 'point_amount' => '0.00',
  2336 + 'app_id' => '2018062560425105',
  2337 + 'buyer_pay_amount' => '0.01',
  2338 + 'sign_type' => 'RSA2',
  2339 + 'seller_id' => '2088131533026493',
  2340 +)
  2341 +2018-08-04 09:39:19 array (
  2342 + 'gmt_create' => '2018-08-04 09:24:59',
  2343 + 'charset' => 'UTF-8',
  2344 + 'gmt_payment' => '2018-08-04 09:25:02',
  2345 + 'notify_time' => '2018-08-04 09:39:19',
  2346 + 'subject' => '需求保证金支付',
  2347 + 'sign' => 'YqpPbCW4epR1MKU1ym6kmst2uWc0egL+/K8HE08mnYxrKGCn+K3ga9cq2b5yreuAEX4eQ9YpKfb+tf+49zrvn63jWR+uKpcseXPSMh5KHEmQ7+DLyrAkAnz5ftp6CJFxLWkwlH5B2czGz8JejuJBO4uu9fjfAxuoAqpnpfH4aC5OpoX8dx5FlnX7KsbotpIFhar+lqWOKVo0185uc8PrJKRFdBjzfkcCO7eGtDsyDuG9ToCuEyWeSbN0OzzDqbAhsImKo4BS0dKJAxUuEM7LfC9VOknuuCMg8hPsVzQfUWP2PUSlqx0gqqZE7VyRJgZhHFghcycK76V+TCz8yR9Auw==',
  2348 + 'buyer_id' => '2088222054754412',
  2349 + 'invoice_amount' => '0.01',
  2350 + 'version' => '1.0',
  2351 + 'notify_id' => '943db8fbd8634316ea2a0fdc0849b7dj61',
  2352 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  2353 + 'notify_type' => 'trade_status_sync',
  2354 + 'out_trade_no' => '2018080451101985',
  2355 + 'total_amount' => '0.01',
  2356 + 'trade_status' => 'TRADE_SUCCESS',
  2357 + 'trade_no' => '2018080421001004410521107930',
  2358 + 'auth_app_id' => '2018062560425105',
  2359 + 'receipt_amount' => '0.01',
  2360 + 'point_amount' => '0.00',
  2361 + 'app_id' => '2018062560425105',
  2362 + 'buyer_pay_amount' => '0.01',
  2363 + 'sign_type' => 'RSA2',
  2364 + 'seller_id' => '2088131533026493',
  2365 +)
  2366 +2018-08-04 09:43:30 array (
  2367 + 'gmt_create' => '2018-08-04 09:19:03',
  2368 + 'charset' => 'UTF-8',
  2369 + 'gmt_payment' => '2018-08-04 09:19:06',
  2370 + 'notify_time' => '2018-08-04 09:43:30',
  2371 + 'subject' => '需求保证金支付',
  2372 + 'sign' => 'Xwhy9F/rAKQRgZaq6jtNA0fqUHS/AhraA5+wijeAAUhk2S4rhqskrW5ne89j11vBf45nTYTyzuRTZuxOzwEYya0oBhmOF0MI5MdGHJg7peqVZRynPGDLlNZ5b9EmTbTPshtyCZ2XLI7MyZCfMfmMpY+6SO8FmEOaR0fW9GhGh2JYehmL0olsuM7yjrEZNRhEAp2zzbLM1zuRNeCn+FUzqY2M6ZjeSi3ScbAmq+juH/HTjLiOeSYkwUBVYSHCBHczqap4TiDneoB4YS/lHT/lG0YVgHf+rJ/OAsmpnKqDPuHQF5G8vEODIsRm59Gx7sTx8RFKfF+R3l/IxLg9WXkpRQ==',
  2373 + 'buyer_id' => '2088222054754412',
  2374 + 'invoice_amount' => '0.01',
  2375 + 'version' => '1.0',
  2376 + 'notify_id' => '86bcc663df43bfb41f45f6af0af0fe2j61',
  2377 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  2378 + 'notify_type' => 'trade_status_sync',
  2379 + 'out_trade_no' => '2018080498101102',
  2380 + 'total_amount' => '0.01',
  2381 + 'trade_status' => 'TRADE_SUCCESS',
  2382 + 'trade_no' => '2018080421001004410521485181',
  2383 + 'auth_app_id' => '2018062560425105',
  2384 + 'receipt_amount' => '0.01',
  2385 + 'point_amount' => '0.00',
  2386 + 'app_id' => '2018062560425105',
  2387 + 'buyer_pay_amount' => '0.01',
  2388 + 'sign_type' => 'RSA2',
  2389 + 'seller_id' => '2088131533026493',
  2390 +)
  2391 +2018-08-04 09:49:12 array (
  2392 + 'gmt_create' => '2018-08-04 09:24:59',
  2393 + 'charset' => 'UTF-8',
  2394 + 'gmt_payment' => '2018-08-04 09:25:02',
  2395 + 'notify_time' => '2018-08-04 09:49:12',
  2396 + 'subject' => '需求保证金支付',
  2397 + 'sign' => 'AeLU/NpVrDvNwx5oZti4gPMoIQvFMg1NFTREWlZ9SMzhNpcxC/lgNFilNQURZioMnx5KNMULGl1Xu8cFvXvLiwLyrAwDAf78ZVvlm8xRon5f5e7JWwKWM96cDvp/jvPgTw/bpC2imt8FJ7HkHlBYhJR3vxiA32Hod7ucQvPrFbe9aftvkdsTMmQVV0YBshzNsAV3y9KF9EKsSU/oNTG6SMU+I25IjRz0Ot+OunNp9z9HzmzPioX0F5SFrTYFEICCZ/8bldBlgs+dDn799CiCdpuFixp0XRexZtlBPsq3Llwbt6a6ZV9rnHPENiLcJOmIE5pPC4fNsrp+WS0eKdixiw==',
  2398 + 'buyer_id' => '2088222054754412',
  2399 + 'invoice_amount' => '0.01',
  2400 + 'version' => '1.0',
  2401 + 'notify_id' => '943db8fbd8634316ea2a0fdc0849b7dj61',
  2402 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  2403 + 'notify_type' => 'trade_status_sync',
  2404 + 'out_trade_no' => '2018080451101985',
  2405 + 'total_amount' => '0.01',
  2406 + 'trade_status' => 'TRADE_SUCCESS',
  2407 + 'trade_no' => '2018080421001004410521107930',
  2408 + 'auth_app_id' => '2018062560425105',
  2409 + 'receipt_amount' => '0.01',
  2410 + 'point_amount' => '0.00',
  2411 + 'app_id' => '2018062560425105',
  2412 + 'buyer_pay_amount' => '0.01',
  2413 + 'sign_type' => 'RSA2',
  2414 + 'seller_id' => '2088131533026493',
  2415 +)
  2416 +2018-08-04 10:22:53 {"out_trade_no":"2018080298101102","trade_no":"2018080221001004320592933411","refund_amount":"0.01","out_request_no":"","refund_reason":"报价人数不足"}
  2417 +2018-08-04 10:22:54 response: stdClass::__set_state(array(
  2418 + 'alipay_trade_refund_response' =>
  2419 + stdClass::__set_state(array(
  2420 + 'code' => '10000',
  2421 + 'msg' => 'Success',
  2422 + 'buyer_logon_id' => '182****4482',
  2423 + 'buyer_user_id' => '2088412545492325',
  2424 + 'fund_change' => 'Y',
  2425 + 'gmt_refund_pay' => '2018-08-04 10:22:54',
  2426 + 'out_trade_no' => '2018080298101102',
  2427 + 'refund_fee' => '0.01',
  2428 + 'send_back_fee' => '0.00',
  2429 + 'trade_no' => '2018080221001004320592933411',
  2430 + )),
  2431 + 'sign' => 'hFzp6IbojePqrVfw5fAB5GBUJNggGeM4JSbObUn4EV3oTTev/Lw4qV5XcPc3xq1iEIONUtkDfCtUYAwwRZtVBW+Eb9OKbbGs45Z8kNBtZBXT0GQbsPNrWwh9YLsLUL4b3atnbJif4rS8qPJ2nO+8gHZrok6R7VabpF3izLM+SE5cUS9q+WKTA9qohdoyqk7YoXH7OpigdPoKF7OovdT52jgElm6M9PDhArqxU1yo2UmeCYBanfktOMMrMkEYE2LbFFbduTjjrCKICzdwz5JiA4aJqZeB4YFKZ1+1gjd/g0m8n2cbD4VhUZfQai5FcPhy2tpV7DXBncEWbcH4lbQNkw==',
  2432 +))
  2433 +2018-08-04 10:25:31 {"out_trade_no":"2018080298975598","trade_no":"2018080221001004320593667783","refund_amount":"0.01","out_request_no":"","refund_reason":"报价人数不足"}
  2434 +2018-08-04 10:25:32 response: stdClass::__set_state(array(
  2435 + 'alipay_trade_refund_response' =>
  2436 + stdClass::__set_state(array(
  2437 + 'code' => '10000',
  2438 + 'msg' => 'Success',
  2439 + 'buyer_logon_id' => '182****4482',
  2440 + 'buyer_user_id' => '2088412545492325',
  2441 + 'fund_change' => 'Y',
  2442 + 'gmt_refund_pay' => '2018-08-04 10:25:32',
  2443 + 'out_trade_no' => '2018080298975598',
  2444 + 'refund_fee' => '0.01',
  2445 + 'send_back_fee' => '0.00',
  2446 + 'trade_no' => '2018080221001004320593667783',
  2447 + )),
  2448 + 'sign' => 'bxSJ2oxYRip0G7JIgGMdh4KJbZTEOAZAiU5Lo0HtJOaItsaKWFvesClfTj6VficOXUDHtCc3Syr/blL4AmTf5m9QKe+vcVir2JT950itB1ocFO7YTQr3odq9cMZLvUNqEmjG9xISpKuYzgUNBItB0Gkf17jHLiJNPYjrWbGaxC678wdEm00LDF/Wm7OE+qaUXnEb9l1gnu7T8v+hJ/ssJkkWlRXcaBYFbq+VKkysF8KDUd+jnjgnm1yHIcFVPWEDO/Vk8fLb7HZ5QWr9bNu85o/9xAMArH5x/qcE7vzBGhTSkjlQw9Z15kEkfyl7w8gCYBWxB3uD30ujkt0YFP/S0g==',
  2449 +))
  2450 +2018-08-04 10:33:51 {"product_code":"FAST_INSTANT_TRADE_PAY","body":"","subject":"需求保证金支付","total_amount":"0.01","out_trade_no":"2018080410049505"}
  2451 +2018-08-04 10:33:51 response: '<form id=\'alipaysubmit\' name=\'alipaysubmit\' action=\'https://openapi.alipay.com/gateway.do?charset=UTF-8\' method=\'POST\'><input type=\'hidden\' name=\'biz_content\' value=\'{"product_code":"FAST_INSTANT_TRADE_PAY","body":"","subject":"需求保证金支付","total_amount":"0.01","out_trade_no":"2018080410049505"}\'/><input type=\'hidden\' name=\'app_id\' value=\'2018062560425105\'/><input type=\'hidden\' name=\'version\' value=\'1.0\'/><input type=\'hidden\' name=\'format\' value=\'json\'/><input type=\'hidden\' name=\'sign_type\' value=\'RSA2\'/><input type=\'hidden\' name=\'method\' value=\'alipay.trade.page.pay\'/><input type=\'hidden\' name=\'timestamp\' value=\'2018-08-04 10:33:51\'/><input type=\'hidden\' name=\'alipay_sdk\' value=\'alipay-sdk-php-20161101\'/><input type=\'hidden\' name=\'notify_url\' value=\'http://houseprice.w.bronet.cn/api/portal/Alipay/notify_url\'/><input type=\'hidden\' name=\'return_url\' value=\'http://houseprice.w.bronet.cn/api/portal/Alipay/return_url\'/><input type=\'hidden\' name=\'charset\' value=\'UTF-8\'/><input type=\'hidden\' name=\'sign\' value=\'qJ+kpHcFj856GPdce4khdY3A76lgM5vmeJ5Opnbcvv6A/zRB8Zt5JdgttsMXQMiNiCiaDBOpeTukltzsC4bVlopdaN6UdYl0I65ZuHoZY38zMXowrezNBNAFSIvNnwmhQ8qd5dBr1FfKJmetO6Y0yq+pCgftvqBdxqVR5wVFIyVFFeJPGMROBLWyymRuBEye4+T0j8EXhTjmqMbVFSwF5dRvEcK3w15A5QFeQoKoKu/Fq/w+rxCDLR45DIGNaoYeDPJaLPV60qeTq+0ArDuEWxMk6fPq2hSeKtiw4QuSzO/zbTWZGW6VBrOR76lehRo9+/k4i61I+OOVvwk7YETUcQ==\'/><input type=\'submit\' value=\'ok\' style=\'display:none;\'\'></form><script>document.forms[\'alipaysubmit\'].submit();</script>'
  2452 +2018-08-04 10:34:15 array (
  2453 + 'gmt_create' => '2018-08-04 10:34:07',
  2454 + 'charset' => 'UTF-8',
  2455 + 'gmt_payment' => '2018-08-04 10:34:14',
  2456 + 'notify_time' => '2018-08-04 10:34:15',
  2457 + 'subject' => '需求保证金支付',
  2458 + 'sign' => 'Lf1z6fH8oYh8f2qYvvKHBObvXfT+4JieC0JQR9yjgLqw7xao8aMmEjrVI7OD8YDwEZUtZ48ZbwRGxkbHAtZ7Hb4DJUbZkjXJ4LNCTE3sfHNNTRyCKieTF7GCBGG8bvKNGhYatCpPHoVRq2c5yzLgxzEEsBMP9R87AAWujNEtkw8DBBIFFTNsz8xXUb0hSBtEGh/Z84Bu8uGa2ZTcguBEVrHwMm5ksg+WB2tEAsXOxYAzGyhyziqo3npRUaNi4znjL6MtW82+NwUkMNrUJeSXWnKkv8qqmVH2Hv1tg13/QVPR7EAw9+DOmi+gJ6n1ZvwPMEu+T7x2+f+pnVrdmiBYhQ==',
  2459 + 'buyer_id' => '2088412545492325',
  2460 + 'invoice_amount' => '0.01',
  2461 + 'version' => '1.0',
  2462 + 'notify_id' => '1c5ab2eebe61b038c0c84223b1ab0f2ih1',
  2463 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  2464 + 'notify_type' => 'trade_status_sync',
  2465 + 'out_trade_no' => '2018080410049505',
  2466 + 'total_amount' => '0.01',
  2467 + 'trade_status' => 'TRADE_SUCCESS',
  2468 + 'trade_no' => '2018080421001004320500086009',
  2469 + 'auth_app_id' => '2018062560425105',
  2470 + 'receipt_amount' => '0.01',
  2471 + 'point_amount' => '0.00',
  2472 + 'app_id' => '2018062560425105',
  2473 + 'buyer_pay_amount' => '0.01',
  2474 + 'sign_type' => 'RSA2',
  2475 + 'seller_id' => '2088131533026493',
  2476 +)
  2477 +2018-08-04 10:38:26 array (
  2478 + 'gmt_create' => '2018-08-04 10:34:07',
  2479 + 'charset' => 'UTF-8',
  2480 + 'gmt_payment' => '2018-08-04 10:34:14',
  2481 + 'notify_time' => '2018-08-04 10:38:25',
  2482 + 'subject' => '需求保证金支付',
  2483 + 'sign' => 'LUErtddrL5ZYhoU5AfFha3lTlaWF/uSlMJ79g5gY11APkdL+gGFU4mtO4/49ri7bUrJ3E7YJHaGx9QQyWb8C/r0dD7XKkcaMVe0QdD5SBtfgta8F2MmYxAOdCTgQTp7sTwS7F3dUzG+fb55kpoPr7rJDqZ4G0fkiGRIVYVHM1WJkaEpFWwCHoonC0Jba0dT1FLdfvKNSHISJA0x8hni2/pWkNT+LLZRwn6BZLP5kwTvpzjsG+Y2KD8ch+cVY8z6eRH4TJ/6VmN/sbVSFm21bq1W9/9ILT3L9HpFJVxHtxvgc48jzqBGdZlLR+hwGv3oCNQY9+tVmwxQY80P0qtAnGQ==',
  2484 + 'buyer_id' => '2088412545492325',
  2485 + 'invoice_amount' => '0.01',
  2486 + 'version' => '1.0',
  2487 + 'notify_id' => '1c5ab2eebe61b038c0c84223b1ab0f2ih1',
  2488 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  2489 + 'notify_type' => 'trade_status_sync',
  2490 + 'out_trade_no' => '2018080410049505',
  2491 + 'total_amount' => '0.01',
  2492 + 'trade_status' => 'TRADE_SUCCESS',
  2493 + 'trade_no' => '2018080421001004320500086009',
  2494 + 'auth_app_id' => '2018062560425105',
  2495 + 'receipt_amount' => '0.01',
  2496 + 'point_amount' => '0.00',
  2497 + 'app_id' => '2018062560425105',
  2498 + 'buyer_pay_amount' => '0.01',
  2499 + 'sign_type' => 'RSA2',
  2500 + 'seller_id' => '2088131533026493',
  2501 +)
  2502 +2018-08-04 10:43:05 array (
  2503 + 'gmt_create' => '2018-08-04 09:19:03',
  2504 + 'charset' => 'UTF-8',
  2505 + 'gmt_payment' => '2018-08-04 09:19:06',
  2506 + 'notify_time' => '2018-08-04 10:43:05',
  2507 + 'subject' => '需求保证金支付',
  2508 + 'sign' => 'RYoxtco51vOxnNO3MeYQvMU4jNmXWnmqxBxeShO1JRuBXDGpHQ4B/176bW6r5+mH53tryAYFJXmpxaS+ONMEbRxeyaGDuU5gCyRvuQ4TG91APgl8LHOzi/SBAmGfe9QRWZ1U1xQcsp+2fsyJ0+VbDSB/zgTBEszJ5PFNaENU9OU8Nnr1gGr3iErHtgcTQz9jUhGdeBsgLDsenKP3xDRi/qZjDASdbTBTNg5mP3KEDk7MeVglLkIEXMXpwSPmnaI3cd2dH28fAl1GDzZM63tRhzB79SyW2tL1Jvs659o4A2fM0gHAOaCqWWqSWq7mMFZxo+n7EVLS8YM9LrV+17Zpqw==',
  2509 + 'buyer_id' => '2088222054754412',
  2510 + 'invoice_amount' => '0.01',
  2511 + 'version' => '1.0',
  2512 + 'notify_id' => '86bcc663df43bfb41f45f6af0af0fe2j61',
  2513 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  2514 + 'notify_type' => 'trade_status_sync',
  2515 + 'out_trade_no' => '2018080498101102',
  2516 + 'total_amount' => '0.01',
  2517 + 'trade_status' => 'TRADE_SUCCESS',
  2518 + 'trade_no' => '2018080421001004410521485181',
  2519 + 'auth_app_id' => '2018062560425105',
  2520 + 'receipt_amount' => '0.01',
  2521 + 'point_amount' => '0.00',
  2522 + 'app_id' => '2018062560425105',
  2523 + 'buyer_pay_amount' => '0.01',
  2524 + 'sign_type' => 'RSA2',
  2525 + 'seller_id' => '2088131533026493',
  2526 +)
  2527 +2018-08-04 10:48:32 array (
  2528 + 'gmt_create' => '2018-08-04 10:34:07',
  2529 + 'charset' => 'UTF-8',
  2530 + 'gmt_payment' => '2018-08-04 10:34:14',
  2531 + 'notify_time' => '2018-08-04 10:48:32',
  2532 + 'subject' => '需求保证金支付',
  2533 + 'sign' => 'OC9BU2jLswA4ZHWuxmLHeSscxOaCIosjQwpMS2702yy9tOXvH/otBte81GAIK1L0RKuuSaQ8nV9295lKORjHhR6fsnRftVDAtrt8mRBgWm05IbUUztd83jn0uaokF0gO8wOeW9bfuy8kABsJwcz17HrqfzSyvSY1ey7/kI3jRxncdfBKUGxPgPZS1ev3bqUfyaRyQ87SVPko/k5zmQQ5SF1SL0OH9jLjbezE+7nkAJbUK7Nx2j7s9UAzwmCW2ZOvXdOHhSn1xkDEeB3u1HrjN2yhQcpJd2Y7JDWEcgQBoIsTIfCr6A/ntHPA4ucUB7qvYizwpSz4mEiRY2yWu/1KPQ==',
  2534 + 'buyer_id' => '2088412545492325',
  2535 + 'invoice_amount' => '0.01',
  2536 + 'version' => '1.0',
  2537 + 'notify_id' => '1c5ab2eebe61b038c0c84223b1ab0f2ih1',
  2538 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  2539 + 'notify_type' => 'trade_status_sync',
  2540 + 'out_trade_no' => '2018080410049505',
  2541 + 'total_amount' => '0.01',
  2542 + 'trade_status' => 'TRADE_SUCCESS',
  2543 + 'trade_no' => '2018080421001004320500086009',
  2544 + 'auth_app_id' => '2018062560425105',
  2545 + 'receipt_amount' => '0.01',
  2546 + 'point_amount' => '0.00',
  2547 + 'app_id' => '2018062560425105',
  2548 + 'buyer_pay_amount' => '0.01',
  2549 + 'sign_type' => 'RSA2',
  2550 + 'seller_id' => '2088131533026493',
  2551 +)
  2552 +2018-08-04 10:49:37 array (
  2553 + 'gmt_create' => '2018-08-04 09:24:59',
  2554 + 'charset' => 'UTF-8',
  2555 + 'gmt_payment' => '2018-08-04 09:25:02',
  2556 + 'notify_time' => '2018-08-04 10:49:37',
  2557 + 'subject' => '需求保证金支付',
  2558 + 'sign' => 'gZQy1Iurf0MyZL7u4oUm5MfDuvtsijnM1GgJMIaMZGnWCXZaHABn2dAyxwRfRpiW6eA6ORt3ceAUkzZ17C3qsxlftqj7Pvxs6/BKSDp0bRn1DuxS/XIEZt31eNuceYp5p0qW9jRSaAZ6mndN1OcKArrCpR4YOJ8YJTjaDBTLopk4PhNyDUPXZBLvrzUPDJ9FJlgHQayDNjS9qlxZQGXAp1KGUD14pKnMBCU579fSFo/Sn+tfPizSoGE5x4NCazbSNmqh0aZRHUS/NGxk1Okf/nhyzcuMRSrdtG8Hlj15EzIb5k1lXzQKCltSoFV54ooE9txP5PTreAWvnilUTSNksA==',
  2559 + 'buyer_id' => '2088222054754412',
  2560 + 'invoice_amount' => '0.01',
  2561 + 'version' => '1.0',
  2562 + 'notify_id' => '943db8fbd8634316ea2a0fdc0849b7dj61',
  2563 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  2564 + 'notify_type' => 'trade_status_sync',
  2565 + 'out_trade_no' => '2018080451101985',
  2566 + 'total_amount' => '0.01',
  2567 + 'trade_status' => 'TRADE_SUCCESS',
  2568 + 'trade_no' => '2018080421001004410521107930',
  2569 + 'auth_app_id' => '2018062560425105',
  2570 + 'receipt_amount' => '0.01',
  2571 + 'point_amount' => '0.00',
  2572 + 'app_id' => '2018062560425105',
  2573 + 'buyer_pay_amount' => '0.01',
  2574 + 'sign_type' => 'RSA2',
  2575 + 'seller_id' => '2088131533026493',
  2576 +)
  2577 +2018-08-04 10:58:29 array (
  2578 + 'gmt_create' => '2018-08-04 10:34:07',
  2579 + 'charset' => 'UTF-8',
  2580 + 'gmt_payment' => '2018-08-04 10:34:14',
  2581 + 'notify_time' => '2018-08-04 10:58:29',
  2582 + 'subject' => '需求保证金支付',
  2583 + 'sign' => 'Rn5cJF9y8cyeBJTz971d5QfA2Jsfv+8djwFFpd3FyI+subBZFiRzTXXGG7nnej0oGm+w7V7L27PtXXqPgZ0FmZf21id1c1/opIbVFW0k6Toaw+jSP0tD9cW1WfEYH+eiOmarLse5+akVB0CdchyoE3f2ysRt+nzYJYkY7s//k9yY31LGv1X8jU9BrAPPQxMzOrV81nSqjznt7uJcAdMko7usVagBWfuhHjgDpRmvAzqOaZ2/mbo6geAanpENmCELDgPbe3jwMe+KlHPgFwWvQMYvqLABed687TA7cLZehi7GWFSCB2e+qghoUeRu2twH/koLIqWwEA0dtuLWfGdUzg==',
  2584 + 'buyer_id' => '2088412545492325',
  2585 + 'invoice_amount' => '0.01',
  2586 + 'version' => '1.0',
  2587 + 'notify_id' => '1c5ab2eebe61b038c0c84223b1ab0f2ih1',
  2588 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  2589 + 'notify_type' => 'trade_status_sync',
  2590 + 'out_trade_no' => '2018080410049505',
  2591 + 'total_amount' => '0.01',
  2592 + 'trade_status' => 'TRADE_SUCCESS',
  2593 + 'trade_no' => '2018080421001004320500086009',
  2594 + 'auth_app_id' => '2018062560425105',
  2595 + 'receipt_amount' => '0.01',
  2596 + 'point_amount' => '0.00',
  2597 + 'app_id' => '2018062560425105',
  2598 + 'buyer_pay_amount' => '0.01',
  2599 + 'sign_type' => 'RSA2',
  2600 + 'seller_id' => '2088131533026493',
  2601 +)
  2602 +2018-08-04 11:58:40 array (
  2603 + 'gmt_create' => '2018-08-04 10:34:07',
  2604 + 'charset' => 'UTF-8',
  2605 + 'gmt_payment' => '2018-08-04 10:34:14',
  2606 + 'notify_time' => '2018-08-04 11:58:40',
  2607 + 'subject' => '需求保证金支付',
  2608 + 'sign' => 'iGWIuLrtHTB6D+QDteTyPPxW8Xe5tb3VMydqzqZU7JZfwO013487ByV90/49FcP/rgcs+M9jSC42cJC3V72jN2M7mnBiiAm7sumzNI1mLvzYWSY2R5rpojFvERvEmJXHEkKA1lbfhe5q+MvFZLGUNYCfMlaQeaJVpBkC6gSc88Nls0dmYq+t8KC/PDLmZPiopkJNiGqvh4oQ1P0bfOkv7gn3yPEPv/eYCPnAfQDx0I7xvD2Ul4u1y+rlftHQiQDEI0OXyOEPxyHXvkHuaIS5kLEFDtj2Q185bvy7bLeWGP2Otxp59g6ZuKuI8siuBLuXj13EN2eXSLIn9xRYP33lkA==',
  2609 + 'buyer_id' => '2088412545492325',
  2610 + 'invoice_amount' => '0.01',
  2611 + 'version' => '1.0',
  2612 + 'notify_id' => '1c5ab2eebe61b038c0c84223b1ab0f2ih1',
  2613 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  2614 + 'notify_type' => 'trade_status_sync',
  2615 + 'out_trade_no' => '2018080410049505',
  2616 + 'total_amount' => '0.01',
  2617 + 'trade_status' => 'TRADE_SUCCESS',
  2618 + 'trade_no' => '2018080421001004320500086009',
  2619 + 'auth_app_id' => '2018062560425105',
  2620 + 'receipt_amount' => '0.01',
  2621 + 'point_amount' => '0.00',
  2622 + 'app_id' => '2018062560425105',
  2623 + 'buyer_pay_amount' => '0.01',
  2624 + 'sign_type' => 'RSA2',
  2625 + 'seller_id' => '2088131533026493',
  2626 +)
  2627 +2018-08-04 12:43:41 array (
  2628 + 'gmt_create' => '2018-08-04 09:19:03',
  2629 + 'charset' => 'UTF-8',
  2630 + 'gmt_payment' => '2018-08-04 09:19:06',
  2631 + 'notify_time' => '2018-08-04 12:43:41',
  2632 + 'subject' => '需求保证金支付',
  2633 + 'sign' => 'c+5m8tXRyKmYOo5m0wPiQwR/DS8ANQwp6vdB1j1+fadqvKG9YSgY0erqhs3JWHMcPG4syrGcb7sCJ3bTGCrBi/KVf4YhkJeyQT6sq+OzmIbEDWYT/akQp1DPLK9BLAZE/w1XdSpp7nTP+b2N6TOtj3dyTyj6E2PD0gUMiCEtspg4iIHmtgdFnMpooVi3S9AWhYwe4oB+MdPm5nTvwzVwQ81y0GZ7p69sykBTH1Hebrteaxu4K7c81xqV2QuyRc/EQHMoQwQeoIG5iypc5EhGVCbPJAgrsoX6CvsHHDP6tzqvQuq7q0kiAXKQAnlPlwvuGpiaCWP7cmvr5ojlvQn0Rw==',
  2634 + 'buyer_id' => '2088222054754412',
  2635 + 'invoice_amount' => '0.01',
  2636 + 'version' => '1.0',
  2637 + 'notify_id' => '86bcc663df43bfb41f45f6af0af0fe2j61',
  2638 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  2639 + 'notify_type' => 'trade_status_sync',
  2640 + 'out_trade_no' => '2018080498101102',
  2641 + 'total_amount' => '0.01',
  2642 + 'trade_status' => 'TRADE_SUCCESS',
  2643 + 'trade_no' => '2018080421001004410521485181',
  2644 + 'auth_app_id' => '2018062560425105',
  2645 + 'receipt_amount' => '0.01',
  2646 + 'point_amount' => '0.00',
  2647 + 'app_id' => '2018062560425105',
  2648 + 'buyer_pay_amount' => '0.01',
  2649 + 'sign_type' => 'RSA2',
  2650 + 'seller_id' => '2088131533026493',
  2651 +)
  2652 +2018-08-04 12:49:05 array (
  2653 + 'gmt_create' => '2018-08-04 09:24:59',
  2654 + 'charset' => 'UTF-8',
  2655 + 'gmt_payment' => '2018-08-04 09:25:02',
  2656 + 'notify_time' => '2018-08-04 12:49:05',
  2657 + 'subject' => '需求保证金支付',
  2658 + 'sign' => 'VllcgGhsn65z79Zf9dmkOZtY+3lnBPsbQk+nj2M8Ol9DI60zeH1oDwNuDB7u7s+Xc7OHtuNIDGkgTFGQGLvewFKW+WY/nvgZZ/FVJMzlfylHq+LxBkN8OTzzHPdoa5Zlt/PTkkCcGzR/yoMkfzgAVrjKoD5liT7FYwwXvWmJYRiNCbOgx83HYs10IXYFI2VCL+PwFjGekoTdyJU2y8FfGiNO0pYQW8CQq6IfV4VBi2cg0zXmS1fR6yL1WFSN5FfQLcqSntdPC27aX2fbrhy/fPYVYeXKEL4e+ms+8LWL36KmeB4Xgx6OVqhL0406fPw5CK0P73tSJAhUM5S4NHNfRw==',
  2659 + 'buyer_id' => '2088222054754412',
  2660 + 'invoice_amount' => '0.01',
  2661 + 'version' => '1.0',
  2662 + 'notify_id' => '943db8fbd8634316ea2a0fdc0849b7dj61',
  2663 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  2664 + 'notify_type' => 'trade_status_sync',
  2665 + 'out_trade_no' => '2018080451101985',
  2666 + 'total_amount' => '0.01',
  2667 + 'trade_status' => 'TRADE_SUCCESS',
  2668 + 'trade_no' => '2018080421001004410521107930',
  2669 + 'auth_app_id' => '2018062560425105',
  2670 + 'receipt_amount' => '0.01',
  2671 + 'point_amount' => '0.00',
  2672 + 'app_id' => '2018062560425105',
  2673 + 'buyer_pay_amount' => '0.01',
  2674 + 'sign_type' => 'RSA2',
  2675 + 'seller_id' => '2088131533026493',
  2676 +)
  2677 +2018-08-04 13:47:58 {"product_code":"FAST_INSTANT_TRADE_PAY","body":"","subject":"中介报价保证金支付","total_amount":"0.01","out_trade_no":"2018080448571025"}
  2678 +2018-08-04 13:47:58 response: '<form id=\'alipaysubmit\' name=\'alipaysubmit\' action=\'https://openapi.alipay.com/gateway.do?charset=UTF-8\' method=\'POST\'><input type=\'hidden\' name=\'biz_content\' value=\'{"product_code":"FAST_INSTANT_TRADE_PAY","body":"","subject":"中介报价保证金支付","total_amount":"0.01","out_trade_no":"2018080448571025"}\'/><input type=\'hidden\' name=\'app_id\' value=\'2018062560425105\'/><input type=\'hidden\' name=\'version\' value=\'1.0\'/><input type=\'hidden\' name=\'format\' value=\'json\'/><input type=\'hidden\' name=\'sign_type\' value=\'RSA2\'/><input type=\'hidden\' name=\'method\' value=\'alipay.trade.page.pay\'/><input type=\'hidden\' name=\'timestamp\' value=\'2018-08-04 13:47:58\'/><input type=\'hidden\' name=\'alipay_sdk\' value=\'alipay-sdk-php-20161101\'/><input type=\'hidden\' name=\'notify_url\' value=\'http://houseprice.w.bronet.cn/api/portal/Alipay/notify_url\'/><input type=\'hidden\' name=\'return_url\' value=\'http://houseprice.w.bronet.cn/api/portal/Alipay/return_url\'/><input type=\'hidden\' name=\'charset\' value=\'UTF-8\'/><input type=\'hidden\' name=\'sign\' value=\'uvezVvaf0lvHOZAuHBv6pYUVTC5Dh6LcLp1YbG2gyPYcX8eFPi3eTHNp+utDF0czHNnwXHMwp14hsXhg1Hjfm/j89GfNJLi+JphDnFXrYDnic6Eewhxp0P/7TbB01hESgW70AZO3ELGFLc/sx4GHmpXPRPTkeiShyKel+F5iBzr5KN/rQa9sewaH53LHD0MDRa3M4PDOgz+yQBrbnOveCNY4VqMmjKwtZNwtySd9e8GUB4adYSTiW1pFiqO9yTAfBPLFiNtJFHyyZKSDcNVOlfFNwwh9xFNXV4idpYcqJAczejVLDnegtDy00Gtd9AGZ7aRDdYcyN6JmF/0TKlmy+w==\'/><input type=\'submit\' value=\'ok\' style=\'display:none;\'\'></form><script>document.forms[\'alipaysubmit\'].submit();</script>'
  2679 +2018-08-04 13:48:49 array (
  2680 + 'gmt_create' => '2018-08-04 13:48:11',
  2681 + 'charset' => 'UTF-8',
  2682 + 'gmt_payment' => '2018-08-04 13:48:48',
  2683 + 'notify_time' => '2018-08-04 13:48:49',
  2684 + 'subject' => '中介报价保证金支付',
  2685 + 'sign' => 'Jo2KFXp9SK4fS0JxBzupbwi06ylAMKWG2/WtrjQS3raQhySH7q8LfDbI/E+AVGTQrz5jkIydSdAU1/3/m9LBwupDAQVUbPYudKldCHT7MhuE1zSc5Vs3gJVy+auQAk2VquIqTElVcZkvrMLkFrIIVc/hfM5bmIHulwJFjJnAfVQ0XNPIQTuQWSuuJIdIFHRL1PcHfsMwv8/QK5iz6+4WFQPV+iD6vCaG0s1q8+SNp0ZxaOXOzI5cQB88r8yqTiXDnEXQ3UFh4D79x759Il3nlL47wx5MucfRKUZH90ShHW1SduvDBoLanUAjFqKlxStDFOCkh2L3nqJ8MbLwAsz17g==',
  2686 + 'buyer_id' => '2088412545492325',
  2687 + 'invoice_amount' => '0.01',
  2688 + 'version' => '1.0',
  2689 + 'notify_id' => '87baaab264587788bccb96218d2502bih1',
  2690 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  2691 + 'notify_type' => 'trade_status_sync',
  2692 + 'out_trade_no' => '2018080448571025',
  2693 + 'total_amount' => '0.01',
  2694 + 'trade_status' => 'TRADE_SUCCESS',
  2695 + 'trade_no' => '2018080421001004320500694355',
  2696 + 'auth_app_id' => '2018062560425105',
  2697 + 'receipt_amount' => '0.01',
  2698 + 'point_amount' => '0.00',
  2699 + 'app_id' => '2018062560425105',
  2700 + 'buyer_pay_amount' => '0.01',
  2701 + 'sign_type' => 'RSA2',
  2702 + 'seller_id' => '2088131533026493',
  2703 +)
  2704 +2018-08-04 13:52:38 array (
  2705 + 'gmt_create' => '2018-08-04 13:48:11',
  2706 + 'charset' => 'UTF-8',
  2707 + 'gmt_payment' => '2018-08-04 13:48:48',
  2708 + 'notify_time' => '2018-08-04 13:52:38',
  2709 + 'subject' => '中介报价保证金支付',
  2710 + 'sign' => 'WuNoyYa6cWixmO17zpMqRtlQQEUPv7DduujJIIhtegMgGkmoMonS9Pui5phYUreXcVHiY+U6XfPehWCmUEOQPK2meZtupI1GNZpNm/c70ep1OGK1EtXi1joLMCW+v2A0UG8M2ENUd1+qEMEnvyGTSegSHcdVYelfWriBbm1+0b0HAeRzVuo0v65sxLWuzZbeBy854MiXElE7cFi1pdzN17B7+MO1dnOhhQ2d2C4IaMq/1H8wlFguAc0XwTrmF+dIKYLxi2YH6MllNcg0mUqD7EKPU7Y/g9OytSDbJ3rHujpLRVKAkeQrTccdJW3nGWJiYuZQqN+2MdYqKZTjSrPMQA==',
  2711 + 'buyer_id' => '2088412545492325',
  2712 + 'invoice_amount' => '0.01',
  2713 + 'version' => '1.0',
  2714 + 'notify_id' => '87baaab264587788bccb96218d2502bih1',
  2715 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  2716 + 'notify_type' => 'trade_status_sync',
  2717 + 'out_trade_no' => '2018080448571025',
  2718 + 'total_amount' => '0.01',
  2719 + 'trade_status' => 'TRADE_SUCCESS',
  2720 + 'trade_no' => '2018080421001004320500694355',
  2721 + 'auth_app_id' => '2018062560425105',
  2722 + 'receipt_amount' => '0.01',
  2723 + 'point_amount' => '0.00',
  2724 + 'app_id' => '2018062560425105',
  2725 + 'buyer_pay_amount' => '0.01',
  2726 + 'sign_type' => 'RSA2',
  2727 + 'seller_id' => '2088131533026493',
  2728 +)
  2729 +2018-08-04 13:58:36 array (
  2730 + 'gmt_create' => '2018-08-04 10:34:07',
  2731 + 'charset' => 'UTF-8',
  2732 + 'gmt_payment' => '2018-08-04 10:34:14',
  2733 + 'notify_time' => '2018-08-04 13:58:35',
  2734 + 'subject' => '需求保证金支付',
  2735 + 'sign' => 'LjaaoQp+5L/kEPbWjgn3DdzmbSsHBCtjq6jzdyeKvch8bB2xUpQRaHM+LPEdPW1Tbyiyxrmtd+LrbE68sz4Wt8Xw49DBjTLlhHdjy5Lup6U86gSHSVrkLPzBnw+Ppy/8Kvyhq1d3Ry2r/dncwJrK3LSgI0z4UOyYQ/i8eROXXUGYi+C3DM20G7LTY47zMQqRpJlG63+zHU7IWrhhfpSFz9B8oNQs0xILGJo6v/zEOk/7U+ptQ/r64lbOF5ThwbwBTT+u1tHVTMZmcBAN5Or0F+WhGsiyIlnd3rCJwo/GUhooF/ojuhx6hPe0Nmx3HxNM8YRz6DSfbeOeMl6/JvOzpg==',
  2736 + 'buyer_id' => '2088412545492325',
  2737 + 'invoice_amount' => '0.01',
  2738 + 'version' => '1.0',
  2739 + 'notify_id' => '1c5ab2eebe61b038c0c84223b1ab0f2ih1',
  2740 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  2741 + 'notify_type' => 'trade_status_sync',
  2742 + 'out_trade_no' => '2018080410049505',
  2743 + 'total_amount' => '0.01',
  2744 + 'trade_status' => 'TRADE_SUCCESS',
  2745 + 'trade_no' => '2018080421001004320500086009',
  2746 + 'auth_app_id' => '2018062560425105',
  2747 + 'receipt_amount' => '0.01',
  2748 + 'point_amount' => '0.00',
  2749 + 'app_id' => '2018062560425105',
  2750 + 'buyer_pay_amount' => '0.01',
  2751 + 'sign_type' => 'RSA2',
  2752 + 'seller_id' => '2088131533026493',
  2753 +)
  2754 +2018-08-04 13:59:58 {"product_code":"FAST_INSTANT_TRADE_PAY","body":"","subject":"需求保证金支付","total_amount":"0.01","out_trade_no":"2018080455551005"}
  2755 +2018-08-04 13:59:58 response: '<form id=\'alipaysubmit\' name=\'alipaysubmit\' action=\'https://openapi.alipay.com/gateway.do?charset=UTF-8\' method=\'POST\'><input type=\'hidden\' name=\'biz_content\' value=\'{"product_code":"FAST_INSTANT_TRADE_PAY","body":"","subject":"需求保证金支付","total_amount":"0.01","out_trade_no":"2018080455551005"}\'/><input type=\'hidden\' name=\'app_id\' value=\'2018062560425105\'/><input type=\'hidden\' name=\'version\' value=\'1.0\'/><input type=\'hidden\' name=\'format\' value=\'json\'/><input type=\'hidden\' name=\'sign_type\' value=\'RSA2\'/><input type=\'hidden\' name=\'method\' value=\'alipay.trade.page.pay\'/><input type=\'hidden\' name=\'timestamp\' value=\'2018-08-04 13:59:58\'/><input type=\'hidden\' name=\'alipay_sdk\' value=\'alipay-sdk-php-20161101\'/><input type=\'hidden\' name=\'notify_url\' value=\'http://houseprice.w.bronet.cn/api/portal/Alipay/notify_url\'/><input type=\'hidden\' name=\'return_url\' value=\'http://houseprice.w.bronet.cn/api/portal/Alipay/return_url\'/><input type=\'hidden\' name=\'charset\' value=\'UTF-8\'/><input type=\'hidden\' name=\'sign\' value=\'UWCgtSPWdZ6iD8S6JpIpILLNcghlrnJr2eplO1lf6iAHETLI8V7q5dw/dAYlzq9dJzRcz0Etat/SzF9dzcoquLCFnLC40fq1kunlfOWdE2YR/no6Qrygg9dlcbEOE2HfNS0wk3yAP3FUdKq+PtpeEWck4PR99ZkV5QIhM8rbIV+rMhRrSKJIvDVBvRaKHtJKQMpwA/G4GddqFd3N9jgt3sFbGRulA+J+gO1wOL9/cPbzUK+x6DS968nvZjL9llPeqq4LamjSaIdbw7jxjyjR2Vt18gm59enelQLhxBLpPhocy6pbVydmvyTVdcGFpmDVU6nvD9I4FVlJHFjbLLOR4A==\'/><input type=\'submit\' value=\'ok\' style=\'display:none;\'\'></form><script>document.forms[\'alipaysubmit\'].submit();</script>'
  2756 +2018-08-04 14:00:17 array (
  2757 + 'gmt_create' => '2018-08-04 14:00:11',
  2758 + 'charset' => 'UTF-8',
  2759 + 'gmt_payment' => '2018-08-04 14:00:16',
  2760 + 'notify_time' => '2018-08-04 14:00:16',
  2761 + 'subject' => '需求保证金支付',
  2762 + 'sign' => 'KGpybnJvuveVFgmaoySZsdjoHP4q7DPVTNqq07QNDPKAEzIs+FG7M1GUM0ISzaMgfM9CDepqqJUwoPm2dX5iSIhlH0mHuSslco5fxNTCb1RZ8EwkQUeeoueKQwKgea5KVoISqoB/n+CvsQsvRR1NVpDg7fWWPg5d2JQ3MnYiCIAGjGQJuCmKhvxykgnZzH9MMmbQOHUxr02Q+OtHgX/Sk0hLsi6xN+A1Y71dG+gvcO5Zz2ojyKoyDk0Oz24/R+E1CcB/A7eiBpuVVwULdznNB+/UFTvvbU2t1cmKavFik4+/5V3K9xYptNroxKGMybqJyxV3STtaKt9fKgtBoT6GKg==',
  2763 + 'buyer_id' => '2088412545492325',
  2764 + 'invoice_amount' => '0.01',
  2765 + 'version' => '1.0',
  2766 + 'notify_id' => '87edc16692040816f549d0c6b03c37eih1',
  2767 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  2768 + 'notify_type' => 'trade_status_sync',
  2769 + 'out_trade_no' => '2018080455551005',
  2770 + 'total_amount' => '0.01',
  2771 + 'trade_status' => 'TRADE_SUCCESS',
  2772 + 'trade_no' => '2018080421001004320500694573',
  2773 + 'auth_app_id' => '2018062560425105',
  2774 + 'receipt_amount' => '0.01',
  2775 + 'point_amount' => '0.00',
  2776 + 'app_id' => '2018062560425105',
  2777 + 'buyer_pay_amount' => '0.01',
  2778 + 'sign_type' => 'RSA2',
  2779 + 'seller_id' => '2088131533026493',
  2780 +)
  2781 +2018-08-04 14:01:03 {"product_code":"FAST_INSTANT_TRADE_PAY","body":"","subject":"中介报价保证金支付","total_amount":"0.01","out_trade_no":"2018080410048504"}
  2782 +2018-08-04 14:01:03 response: '<form id=\'alipaysubmit\' name=\'alipaysubmit\' action=\'https://openapi.alipay.com/gateway.do?charset=UTF-8\' method=\'POST\'><input type=\'hidden\' name=\'biz_content\' value=\'{"product_code":"FAST_INSTANT_TRADE_PAY","body":"","subject":"中介报价保证金支付","total_amount":"0.01","out_trade_no":"2018080410048504"}\'/><input type=\'hidden\' name=\'app_id\' value=\'2018062560425105\'/><input type=\'hidden\' name=\'version\' value=\'1.0\'/><input type=\'hidden\' name=\'format\' value=\'json\'/><input type=\'hidden\' name=\'sign_type\' value=\'RSA2\'/><input type=\'hidden\' name=\'method\' value=\'alipay.trade.page.pay\'/><input type=\'hidden\' name=\'timestamp\' value=\'2018-08-04 14:01:03\'/><input type=\'hidden\' name=\'alipay_sdk\' value=\'alipay-sdk-php-20161101\'/><input type=\'hidden\' name=\'notify_url\' value=\'http://houseprice.w.bronet.cn/api/portal/Alipay/notify_url\'/><input type=\'hidden\' name=\'return_url\' value=\'http://houseprice.w.bronet.cn/api/portal/Alipay/return_url\'/><input type=\'hidden\' name=\'charset\' value=\'UTF-8\'/><input type=\'hidden\' name=\'sign\' value=\'huiKmFNpU7+YyX4f7ps5VrPz+g7yHQjqIfiWBnHGL5FL8lCa8m6VbmiEuGxJolnEVdfwO4kbC+lPXecP4vlFN6wvJgBBRZe74vcEQZjSPHfowOOPnjwCZd7Yrp6xbX3sO2u8XLvnivY1ybuXsDX33Pto2r6J/FvXsLXKfw1w1ZTY2eaTKzYA3+pze575HeENiO7Pqfpn3tDZJpUmOp0IhDoc89bkPssK4FL6iieFWbd6eX3hUZsCJApFVyOTOTUDQbNfJLfem+L5nIHJFGcmdLIojDCLeEYqQSbgf1+EFsQVapFiyr/c1DBarmj8gdvSKtYNYpHZqtZ937Lu8bHciQ==\'/><input type=\'submit\' value=\'ok\' style=\'display:none;\'\'></form><script>document.forms[\'alipaysubmit\'].submit();</script>'
  2783 +2018-08-04 14:01:13 array (
  2784 + 'gmt_create' => '2018-08-04 14:01:08',
  2785 + 'charset' => 'UTF-8',
  2786 + 'gmt_payment' => '2018-08-04 14:01:12',
  2787 + 'notify_time' => '2018-08-04 14:01:13',
  2788 + 'subject' => '中介报价保证金支付',
  2789 + 'sign' => 'OfyCzVqHYNCrTqOAKNUZbZEYFxRv13UbitjLweuva7RjKT1yVOM+5M50v7Wh3uBKQG+cPxiHLjOf9osxYxR/QItJ6wj59SoUPWbuI69NAGzj+HyOUS8KEaKSiSuK+WR2cwKRuHUQNu6CGWZbbXUsNUfcbXma5HDKee9l8MIUDB8T6XZxu0z3jUVY1asPS6LESKzW+dyHXHl6wEgiiuIX4tKV/GtesoyH9uXP316Ywbk2OvtwrMOGQ6oTb3PrTrIIgZ9tLz1BUPu9Ba1EQpJhnl6Yz9Z/OTPe3VsHeAW0bilAOJrzN/nXGw4VhV4k3SfPXV62opkkwMKCOaSnUJxyaw==',
  2790 + 'buyer_id' => '2088412545492325',
  2791 + 'invoice_amount' => '0.01',
  2792 + 'version' => '1.0',
  2793 + 'notify_id' => 'ee0de28632318c3f09b90c1a853b5bfih1',
  2794 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  2795 + 'notify_type' => 'trade_status_sync',
  2796 + 'out_trade_no' => '2018080410048504',
  2797 + 'total_amount' => '0.01',
  2798 + 'trade_status' => 'TRADE_SUCCESS',
  2799 + 'trade_no' => '2018080421001004320500101282',
  2800 + 'auth_app_id' => '2018062560425105',
  2801 + 'receipt_amount' => '0.01',
  2802 + 'point_amount' => '0.00',
  2803 + 'app_id' => '2018062560425105',
  2804 + 'buyer_pay_amount' => '0.01',
  2805 + 'sign_type' => 'RSA2',
  2806 + 'seller_id' => '2088131533026493',
  2807 +)
  2808 +2018-08-04 14:02:34 array (
  2809 + 'gmt_create' => '2018-08-04 13:48:11',
  2810 + 'charset' => 'UTF-8',
  2811 + 'gmt_payment' => '2018-08-04 13:48:48',
  2812 + 'notify_time' => '2018-08-04 14:02:34',
  2813 + 'subject' => '中介报价保证金支付',
  2814 + 'sign' => 'NgtNhe3OSH7JZoGPrlAldEUpv5ygsL+nGKXGyZgf/4eWp2DMy8rfQAXyTCbS+jnG1xCGwP11DZ/kD/EexIBmVC+SFtzwmZyORc7nXdMq/xMmmxpP7K+24/cqofSR0j2eLrqoi/3W3n6FbDBnSrqL8Q+IK+RKDaiPsXHt6Il4eFTbseUEiTimXeSOElaUfPjRGFAoF0xtPl6/SQ+pu+8OJ5SScFYey8VCDdwF6zVVrWyTdtGEVV2fVOT7+FHYlXZhkx52Akl32hCAikfuuAgf+PDBYZv871MlBf9OdAGBP7qqNrCPg3N1vOkbMP+f6wls2RVge/YC/wgG6N31sCJMfA==',
  2815 + 'buyer_id' => '2088412545492325',
  2816 + 'invoice_amount' => '0.01',
  2817 + 'version' => '1.0',
  2818 + 'notify_id' => '87baaab264587788bccb96218d2502bih1',
  2819 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  2820 + 'notify_type' => 'trade_status_sync',
  2821 + 'out_trade_no' => '2018080448571025',
  2822 + 'total_amount' => '0.01',
  2823 + 'trade_status' => 'TRADE_SUCCESS',
  2824 + 'trade_no' => '2018080421001004320500694355',
  2825 + 'auth_app_id' => '2018062560425105',
  2826 + 'receipt_amount' => '0.01',
  2827 + 'point_amount' => '0.00',
  2828 + 'app_id' => '2018062560425105',
  2829 + 'buyer_pay_amount' => '0.01',
  2830 + 'sign_type' => 'RSA2',
  2831 + 'seller_id' => '2088131533026493',
  2832 +)
  2833 +2018-08-04 14:04:40 array (
  2834 + 'gmt_create' => '2018-08-04 14:00:11',
  2835 + 'charset' => 'UTF-8',
  2836 + 'gmt_payment' => '2018-08-04 14:00:16',
  2837 + 'notify_time' => '2018-08-04 14:04:39',
  2838 + 'subject' => '需求保证金支付',
  2839 + 'sign' => 'M3kRrgJTANstXYRdDc5JWOiHxfZCQ9YJSl6DQpo8KzWbI38NYb6Vsbj+LiiNYOJWttkiHM/iAixYEN+N/dnZY8lOpqvhsvbo41+Bz6U019QaQS4WZgDw9C5S+12iqICTX5RormdT8lNd4DVN4YTByRLCH6WXSlGYoBUQuxRhqXBYJTW59rIYzeKn8Z2VqDNpKoGQ7+8/qmPu4dUoJiicCRUWZTxSI492ujbLmfLU84SsIrYF3AuiumZlFlyUI7g8Pf5cBxCNnQmtxBDDzF+FlPtiz9OFa3zy65gFfjWk4m85QZL0nzJIH/1aB4EfKBoBoI7/wmbO23zGi2AuuhXawA==',
  2840 + 'buyer_id' => '2088412545492325',
  2841 + 'invoice_amount' => '0.01',
  2842 + 'version' => '1.0',
  2843 + 'notify_id' => '87edc16692040816f549d0c6b03c37eih1',
  2844 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  2845 + 'notify_type' => 'trade_status_sync',
  2846 + 'out_trade_no' => '2018080455551005',
  2847 + 'total_amount' => '0.01',
  2848 + 'trade_status' => 'TRADE_SUCCESS',
  2849 + 'trade_no' => '2018080421001004320500694573',
  2850 + 'auth_app_id' => '2018062560425105',
  2851 + 'receipt_amount' => '0.01',
  2852 + 'point_amount' => '0.00',
  2853 + 'app_id' => '2018062560425105',
  2854 + 'buyer_pay_amount' => '0.01',
  2855 + 'sign_type' => 'RSA2',
  2856 + 'seller_id' => '2088131533026493',
  2857 +)
  2858 +2018-08-04 14:05:24 array (
  2859 + 'gmt_create' => '2018-08-04 14:01:08',
  2860 + 'charset' => 'UTF-8',
  2861 + 'gmt_payment' => '2018-08-04 14:01:12',
  2862 + 'notify_time' => '2018-08-04 14:05:24',
  2863 + 'subject' => '中介报价保证金支付',
  2864 + 'sign' => 'NiOAXlOALqsaYd6/QXsBKQrS84aOvJyBRo/bvDqm1a8lCBY3G9t5nfE+ld9A5pXZx0ub82Cceff6EX6+3nFnaL30Xp3XK9ndQ7YxBuMqiEvfLfpp2rlAB6SsTI+IatMPQT/X5cGi6L/ngojGlpMozbY8OG6UQAHESzpVkI2uiFsmTBSMowKTRRodr9CpxVVLatlD+/47QGnTiTQX8GRlzY7gwDY01O98d/jwyVY/zMlvTckBE02E4s/SUzvgD8GIgkeUPKpRcR3hS8Pz851i9wANEp7LtVqimLX9L//NYmvX82eMkc8J4g76xugUSutITDcIUwLck5grftCBWWgnxw==',
  2865 + 'buyer_id' => '2088412545492325',
  2866 + 'invoice_amount' => '0.01',
  2867 + 'version' => '1.0',
  2868 + 'notify_id' => 'ee0de28632318c3f09b90c1a853b5bfih1',
  2869 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  2870 + 'notify_type' => 'trade_status_sync',
  2871 + 'out_trade_no' => '2018080410048504',
  2872 + 'total_amount' => '0.01',
  2873 + 'trade_status' => 'TRADE_SUCCESS',
  2874 + 'trade_no' => '2018080421001004320500101282',
  2875 + 'auth_app_id' => '2018062560425105',
  2876 + 'receipt_amount' => '0.01',
  2877 + 'point_amount' => '0.00',
  2878 + 'app_id' => '2018062560425105',
  2879 + 'buyer_pay_amount' => '0.01',
  2880 + 'sign_type' => 'RSA2',
  2881 + 'seller_id' => '2088131533026493',
  2882 +)
  2883 +2018-08-04 14:10:23 {"out_trade_no":"2018080448571025","trade_no":"2018080421001004320500694355","refund_amount":"0.01","out_request_no":"","refund_reason":"中介报价少于3人退款"}
  2884 +2018-08-04 14:10:24 response: stdClass::__set_state(array(
  2885 + 'alipay_trade_refund_response' =>
  2886 + stdClass::__set_state(array(
  2887 + 'code' => '10000',
  2888 + 'msg' => 'Success',
  2889 + 'buyer_logon_id' => '182****4482',
  2890 + 'buyer_user_id' => '2088412545492325',
  2891 + 'fund_change' => 'Y',
  2892 + 'gmt_refund_pay' => '2018-08-04 14:10:23',
  2893 + 'out_trade_no' => '2018080448571025',
  2894 + 'refund_fee' => '0.01',
  2895 + 'send_back_fee' => '0.00',
  2896 + 'trade_no' => '2018080421001004320500694355',
  2897 + )),
  2898 + 'sign' => 'deuDukaN0DeSKtxSYEMrGoerkz7BoCdJU8qK4V2xp4E3U3NKV5mU27zsheDgDxezkMfbRMpQ+8VDVUj1jD8iAoIOIz0kc1PMUKvxrvzmXTseLse0HCuno3d/WRPyit3X7g28gAd0P4hsM+/g42599hMgSi1E1CwLOQlxH4HJ+Ceczk+dK2Jt73Sw1m6KW8kDphhwDKYXGjEml+NBftfXhakP9AQv8QDzCA4fZ2ZcoCHMqIhVzpGPNNgqOZD85025LTPPYIMjp6B84gWPfy5Z/By3ik2Or+LJu5Eo9YOYFAo5qvowe9zZGWbdLJR7Ruknz3TLVHbzNUlC56KFIYnAiQ==',
  2899 +))
  2900 +2018-08-04 14:12:02 array (
  2901 + 'gmt_create' => '2018-08-04 13:48:11',
  2902 + 'charset' => 'UTF-8',
  2903 + 'gmt_payment' => '2018-08-04 13:48:48',
  2904 + 'notify_time' => '2018-08-04 14:12:02',
  2905 + 'subject' => '中介报价保证金支付',
  2906 + 'sign' => 'Kek/fvHVB0xQb97BrVa7yJiCucDOkGtnnyVWchm4celcXpc4jtFqUT3AwppKcFpdlWK2iufXalpkosQUjAiBIN0lYtokYEG6XzncgCrraV1nHUSsDG4JAVj+ICTrgX8LZewjaXhkJn9HLEAQOAg/8/mXkVJPTafHyFhUFrFs8+L2Sko9RII1wj2gUuRXgel3OmD74aRQFw0qw6w+Isdgg+bGb73k9lXiMG0w89KqPnFRkQkp8DT8woru8FRbaF/6J5kOuEti5dhicaLMcv2DWSICP1V0VwtgBRLPwPDP/tUhlTXUFjgx666t6sy5Jyf1K0sHFjwC0GjmqU5+OB15bQ==',
  2907 + 'buyer_id' => '2088412545492325',
  2908 + 'invoice_amount' => '0.01',
  2909 + 'version' => '1.0',
  2910 + 'notify_id' => '87baaab264587788bccb96218d2502bih1',
  2911 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  2912 + 'notify_type' => 'trade_status_sync',
  2913 + 'out_trade_no' => '2018080448571025',
  2914 + 'total_amount' => '0.01',
  2915 + 'trade_status' => 'TRADE_SUCCESS',
  2916 + 'trade_no' => '2018080421001004320500694355',
  2917 + 'auth_app_id' => '2018062560425105',
  2918 + 'receipt_amount' => '0.01',
  2919 + 'point_amount' => '0.00',
  2920 + 'app_id' => '2018062560425105',
  2921 + 'buyer_pay_amount' => '0.01',
  2922 + 'sign_type' => 'RSA2',
  2923 + 'seller_id' => '2088131533026493',
  2924 +)
  2925 +2018-08-04 14:14:46 array (
  2926 + 'gmt_create' => '2018-08-04 14:00:11',
  2927 + 'charset' => 'UTF-8',
  2928 + 'gmt_payment' => '2018-08-04 14:00:16',
  2929 + 'notify_time' => '2018-08-04 14:14:45',
  2930 + 'subject' => '需求保证金支付',
  2931 + 'sign' => 'SP/hlKQjJGabVadmOZ399oiajjx5yKl4t/3VPpIzdoOWw1FD4Ye71D6obhZTLcQ0lJjgG3usnrsCvaqDWMWKcLe8FPX0waSWYmjLSdokybypvhpSFJK2PpnQ0mfvSIznL9mEobrC+PpfHp876rTjLVzRg8LCFGV5H1diWCvI7zhn0napztFACIU/4DQBniGFQKxmCbqyGeP8/9oIe5rukV0lMEdQQXtSQaZOjj0DjkQyYO9UQrS3QvW67ypvKz1ynHlDiQ/tbiegBy2PsSVjrrYdXmnTu35GxJtr1tjRMQg6eTVjWeJmm6kbRmFB9DCrEybBapX+1+bsk3LKBajRxg==',
  2932 + 'buyer_id' => '2088412545492325',
  2933 + 'invoice_amount' => '0.01',
  2934 + 'version' => '1.0',
  2935 + 'notify_id' => '87edc16692040816f549d0c6b03c37eih1',
  2936 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  2937 + 'notify_type' => 'trade_status_sync',
  2938 + 'out_trade_no' => '2018080455551005',
  2939 + 'total_amount' => '0.01',
  2940 + 'trade_status' => 'TRADE_SUCCESS',
  2941 + 'trade_no' => '2018080421001004320500694573',
  2942 + 'auth_app_id' => '2018062560425105',
  2943 + 'receipt_amount' => '0.01',
  2944 + 'point_amount' => '0.00',
  2945 + 'app_id' => '2018062560425105',
  2946 + 'buyer_pay_amount' => '0.01',
  2947 + 'sign_type' => 'RSA2',
  2948 + 'seller_id' => '2088131533026493',
  2949 +)
  2950 +2018-08-04 14:15:17 array (
  2951 + 'gmt_create' => '2018-08-04 14:01:08',
  2952 + 'charset' => 'UTF-8',
  2953 + 'gmt_payment' => '2018-08-04 14:01:12',
  2954 + 'notify_time' => '2018-08-04 14:15:17',
  2955 + 'subject' => '中介报价保证金支付',
  2956 + 'sign' => 'LJo4G2f6NxJ6NTO27n1sUWf23lMQ4B9GbxqWtRi2Ka1mKHAQL9XG1F/Ua7ienMyKkJw9B+g40ONlfxQ5vnFwRU5+NHwlFTIOkHJorW/25UwxBBtMBB/d88QjZ1NiLh/8qOOySUezUnl4C/uCGYvgNRrR4NxexjXsr4i9CtylwjljRVJ9EsVWYNQETMDao5t/waKRVQ4T/IE8eS/oTUm15pWsOGdnZL4wZddYjexXeLPVu/XpBZ5N34Hg52vdaEMX4kUkduBm28TeevjF1N/lh23CnqT7v1va2A+cwNn1oWyOdNkaoqpwpu3Span32gkohftlkRDYcCqzULwOFTIoaw==',
  2957 + 'buyer_id' => '2088412545492325',
  2958 + 'invoice_amount' => '0.01',
  2959 + 'version' => '1.0',
  2960 + 'notify_id' => 'ee0de28632318c3f09b90c1a853b5bfih1',
  2961 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  2962 + 'notify_type' => 'trade_status_sync',
  2963 + 'out_trade_no' => '2018080410048504',
  2964 + 'total_amount' => '0.01',
  2965 + 'trade_status' => 'TRADE_SUCCESS',
  2966 + 'trade_no' => '2018080421001004320500101282',
  2967 + 'auth_app_id' => '2018062560425105',
  2968 + 'receipt_amount' => '0.01',
  2969 + 'point_amount' => '0.00',
  2970 + 'app_id' => '2018062560425105',
  2971 + 'buyer_pay_amount' => '0.01',
  2972 + 'sign_type' => 'RSA2',
  2973 + 'seller_id' => '2088131533026493',
  2974 +)
  2975 +2018-08-04 14:16:44 {"product_code":"FAST_INSTANT_TRADE_PAY","body":"","subject":"中介报价保证金支付","total_amount":"0.01","out_trade_no":"2018080455531001"}
  2976 +2018-08-04 14:16:44 response: '<form id=\'alipaysubmit\' name=\'alipaysubmit\' action=\'https://openapi.alipay.com/gateway.do?charset=UTF-8\' method=\'POST\'><input type=\'hidden\' name=\'biz_content\' value=\'{"product_code":"FAST_INSTANT_TRADE_PAY","body":"","subject":"中介报价保证金支付","total_amount":"0.01","out_trade_no":"2018080455531001"}\'/><input type=\'hidden\' name=\'app_id\' value=\'2018062560425105\'/><input type=\'hidden\' name=\'version\' value=\'1.0\'/><input type=\'hidden\' name=\'format\' value=\'json\'/><input type=\'hidden\' name=\'sign_type\' value=\'RSA2\'/><input type=\'hidden\' name=\'method\' value=\'alipay.trade.page.pay\'/><input type=\'hidden\' name=\'timestamp\' value=\'2018-08-04 14:16:44\'/><input type=\'hidden\' name=\'alipay_sdk\' value=\'alipay-sdk-php-20161101\'/><input type=\'hidden\' name=\'notify_url\' value=\'http://houseprice.w.bronet.cn/api/portal/Alipay/notify_url\'/><input type=\'hidden\' name=\'return_url\' value=\'http://houseprice.w.bronet.cn/api/portal/Alipay/return_url\'/><input type=\'hidden\' name=\'charset\' value=\'UTF-8\'/><input type=\'hidden\' name=\'sign\' value=\'zcb2I5zKWPbVSEc2WDdWpJrMBnn1hJzbXxaTEkUdnGdAKQl2NDfJFWag9L5DRQciDLUKa2amQpXC9SHLhh/jCUoFeCi2vDd1fKwjlhCAIpcvSBU0bMngkBcizhLy3WbYEtDYk0i9h7WrBsEgep42s5VxDc5NSZiAgJa+7I+mtE0XSGJY9CJQ/31HAFDsV6fwy5pF0a9FilcBRphOhBbF/uaN1dURCs8pKToo/RGMGrli8MQjY5TI+yUSFz4EUaIvP3u9uS4XSMDj+XH6iN8di42JFaK+RqKbk0LvO4PXBGBfl9Ma/6ueVR3xEuatj1m3mo1km2pOIwRZ61CtDqEpog==\'/><input type=\'submit\' value=\'ok\' style=\'display:none;\'\'></form><script>document.forms[\'alipaysubmit\'].submit();</script>'
  2977 +2018-08-04 14:17:07 array (
  2978 + 'gmt_create' => '2018-08-04 14:17:03',
  2979 + 'charset' => 'UTF-8',
  2980 + 'gmt_payment' => '2018-08-04 14:17:07',
  2981 + 'notify_time' => '2018-08-04 14:17:07',
  2982 + 'subject' => '中介报价保证金支付',
  2983 + 'sign' => 'VZbj9GbFKj8QSm5QTQkp4xU2mcTUvQaWv25NL1nuXwevWUO+ltWRikMCY2KAia1Ms5/vVDmvnWMFk6khOvm9iewhPhX/+B1eFlH9TEWbER0OyTvNkUkms7buqltPBOunwEkVpkZtk6m+l+avol7UrTBcgtaVNcOvjNlzLcYKKmyAi5f9t9nYoGp3aRkgF6lhyhFKOZDOn6GfLwRjrLyZWmVxpZV9mEgg3qcka+Aj7hISQcgx8t34hjSGGlJ+tApsbZh6+XlsXTYo3pNPZMbsjdzpNnblySLM+GeJR4wLC6jLXhRN146HFUMk/qVBQNtjPh0z6Up9dwyaFUfsbwKJyw==',
  2984 + 'buyer_id' => '2088702987272699',
  2985 + 'invoice_amount' => '0.01',
  2986 + 'version' => '1.0',
  2987 + 'notify_id' => 'd364a727f9354a855735e25e84a2399lbt',
  2988 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  2989 + 'notify_type' => 'trade_status_sync',
  2990 + 'out_trade_no' => '2018080455531001',
  2991 + 'total_amount' => '0.01',
  2992 + 'trade_status' => 'TRADE_SUCCESS',
  2993 + 'trade_no' => '2018080421001004690502950181',
  2994 + 'auth_app_id' => '2018062560425105',
  2995 + 'receipt_amount' => '0.01',
  2996 + 'point_amount' => '0.00',
  2997 + 'app_id' => '2018062560425105',
  2998 + 'buyer_pay_amount' => '0.01',
  2999 + 'sign_type' => 'RSA2',
  3000 + 'seller_id' => '2088131533026493',
  3001 +)
  3002 +2018-08-04 14:21:45 array (
  3003 + 'gmt_create' => '2018-08-04 14:17:03',
  3004 + 'charset' => 'UTF-8',
  3005 + 'gmt_payment' => '2018-08-04 14:17:07',
  3006 + 'notify_time' => '2018-08-04 14:21:45',
  3007 + 'subject' => '中介报价保证金支付',
  3008 + 'sign' => 'dmJ9pyCtvQWcn0r6hJFB3FSMU3IgpyXl5C0tZ1VsjTFUuzb9vGJORJvr/kSkyJ8TN1KxVMTor4VB29uijgj5xa+uWHBhr6IFn9hnWWyHfiLX6cdcdYB2EM7+dv/DJJrimV7UrXlpBVpkxJrSWMJl3/GPV0fzVEl/WeLhd1TQ94Udm2PTfO1robHP8iNalf5/vJfq+3j0dRjk7RJ8T080ugKSt5wyj2yCZ18+fnQ/hJ9g8XmhhSky+nfqfthtRZ2kCoxpTBqYcJLsggL/PGH57JI7NYTvH5s0+1AsWrwAnI6zIExx7gDL3ncE/HEF8Lfgu+Oj08GyDr+uPW0eLXJFEg==',
  3009 + 'buyer_id' => '2088702987272699',
  3010 + 'invoice_amount' => '0.01',
  3011 + 'version' => '1.0',
  3012 + 'notify_id' => 'd364a727f9354a855735e25e84a2399lbt',
  3013 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  3014 + 'notify_type' => 'trade_status_sync',
  3015 + 'out_trade_no' => '2018080455531001',
  3016 + 'total_amount' => '0.01',
  3017 + 'trade_status' => 'TRADE_SUCCESS',
  3018 + 'trade_no' => '2018080421001004690502950181',
  3019 + 'auth_app_id' => '2018062560425105',
  3020 + 'receipt_amount' => '0.01',
  3021 + 'point_amount' => '0.00',
  3022 + 'app_id' => '2018062560425105',
  3023 + 'buyer_pay_amount' => '0.01',
  3024 + 'sign_type' => 'RSA2',
  3025 + 'seller_id' => '2088131533026493',
  3026 +)
  3027 +2018-08-04 14:24:33 array (
  3028 + 'gmt_create' => '2018-08-04 14:00:11',
  3029 + 'charset' => 'UTF-8',
  3030 + 'gmt_payment' => '2018-08-04 14:00:16',
  3031 + 'notify_time' => '2018-08-04 14:24:33',
  3032 + 'subject' => '需求保证金支付',
  3033 + 'sign' => 'b/viG0iUqi3GJY9NqdFzd3DEvr+uM/DZslAJkZ+EBYkYNTX0N0+GGzzW/OPtBvNfekJi10yhncqtAfJU6NQe33bsVXauSqBPN3hqcJDWDGaJl25JGYYaXdRf1OVUJGlVFK7fhtzwU0gZHEFThmqOpA81o/+lmodkbjig4rpYHPA801BlqIxROL0RYn4UmdWoiYTFOboZQIfw8FOXLODOXZSnlHak1Lyr/LhMi/iBgipTt9pGTZlEy7trgAXVNsJpVoE7IA0ucohyjkaz4tlGdL5L74QEtYllqpT0gyDHtiavcnuCgjfR+PoIm7m/RvjhKXAUcHAlk24WOcJH5d9w+g==',
  3034 + 'buyer_id' => '2088412545492325',
  3035 + 'invoice_amount' => '0.01',
  3036 + 'version' => '1.0',
  3037 + 'notify_id' => '87edc16692040816f549d0c6b03c37eih1',
  3038 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  3039 + 'notify_type' => 'trade_status_sync',
  3040 + 'out_trade_no' => '2018080455551005',
  3041 + 'total_amount' => '0.01',
  3042 + 'trade_status' => 'TRADE_SUCCESS',
  3043 + 'trade_no' => '2018080421001004320500694573',
  3044 + 'auth_app_id' => '2018062560425105',
  3045 + 'receipt_amount' => '0.01',
  3046 + 'point_amount' => '0.00',
  3047 + 'app_id' => '2018062560425105',
  3048 + 'buyer_pay_amount' => '0.01',
  3049 + 'sign_type' => 'RSA2',
  3050 + 'seller_id' => '2088131533026493',
  3051 +)
  3052 +2018-08-04 14:25:34 array (
  3053 + 'gmt_create' => '2018-08-04 14:01:08',
  3054 + 'charset' => 'UTF-8',
  3055 + 'gmt_payment' => '2018-08-04 14:01:12',
  3056 + 'notify_time' => '2018-08-04 14:25:34',
  3057 + 'subject' => '中介报价保证金支付',
  3058 + 'sign' => 'hiRs3T06OcUztuJ+jXadxN/e7rGvlIFXl/+6xS5xP0Lhg9zAA8F7I2lzTnVgXhV5VfmNgpCBunEcVOyNhFMCGIsi15T2HS6RSw5bXxHO0LsPQjpnrGWk5nicrM49xePVTUFYudeh+Vk9G+YbrRzT7xQSygYM55Dc+Lfc925ah2NSCtVFUQrS5LSgIqgtOC4cqlYWdAv4qFdg5qt2lwxMDjyU8AlaPoqwN47iG3aNfOXfmwB9NNLtlMEcP3zag69C/V2V+LX+LDO7PVL8CBvpI1XkaZVdxWYYFIcLtBFNvX0L0I3M6tK2SaPsV5gBnrAmF/WKFH5jWvqpBm/PhC6Pmw==',
  3059 + 'buyer_id' => '2088412545492325',
  3060 + 'invoice_amount' => '0.01',
  3061 + 'version' => '1.0',
  3062 + 'notify_id' => 'ee0de28632318c3f09b90c1a853b5bfih1',
  3063 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  3064 + 'notify_type' => 'trade_status_sync',
  3065 + 'out_trade_no' => '2018080410048504',
  3066 + 'total_amount' => '0.01',
  3067 + 'trade_status' => 'TRADE_SUCCESS',
  3068 + 'trade_no' => '2018080421001004320500101282',
  3069 + 'auth_app_id' => '2018062560425105',
  3070 + 'receipt_amount' => '0.01',
  3071 + 'point_amount' => '0.00',
  3072 + 'app_id' => '2018062560425105',
  3073 + 'buyer_pay_amount' => '0.01',
  3074 + 'sign_type' => 'RSA2',
  3075 + 'seller_id' => '2088131533026493',
  3076 +)
  3077 +2018-08-04 14:31:49 array (
  3078 + 'gmt_create' => '2018-08-04 14:17:03',
  3079 + 'charset' => 'UTF-8',
  3080 + 'gmt_payment' => '2018-08-04 14:17:07',
  3081 + 'notify_time' => '2018-08-04 14:31:49',
  3082 + 'subject' => '中介报价保证金支付',
  3083 + 'sign' => 'EfrCus+dV4J3x0xupbYBq6JK4Fe1lDX2Cd9YcJH5Tv889UBFM04NQ/9VUYw8s3qVrr/Hk1r/IC5zQxiGxGY1I1kO3xlnq70xAmEa1ciEyc9yPYwm3mC/KPIxziWgBPWV3VqWjVkfev5EAr5aLHS1SuvFQihTmdJ3/csOHnPvuPN1SBpUQceyruXTNZKCxhy1zIKYA7gxroTS0Mqi8+rM4ROG+tsSez48q4QFT6iQAxruDcPSftiwSCG06q5NG4DMFkfC+zGh0hmuAwZQgPIaaGp/t4Sw+b1gTizyi+OokwWmFbO3kI9uDD6IZYenvPYF/ZRG8RKUoyvbYwwdt48WsA==',
  3084 + 'buyer_id' => '2088702987272699',
  3085 + 'invoice_amount' => '0.01',
  3086 + 'version' => '1.0',
  3087 + 'notify_id' => 'd364a727f9354a855735e25e84a2399lbt',
  3088 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  3089 + 'notify_type' => 'trade_status_sync',
  3090 + 'out_trade_no' => '2018080455531001',
  3091 + 'total_amount' => '0.01',
  3092 + 'trade_status' => 'TRADE_SUCCESS',
  3093 + 'trade_no' => '2018080421001004690502950181',
  3094 + 'auth_app_id' => '2018062560425105',
  3095 + 'receipt_amount' => '0.01',
  3096 + 'point_amount' => '0.00',
  3097 + 'app_id' => '2018062560425105',
  3098 + 'buyer_pay_amount' => '0.01',
  3099 + 'sign_type' => 'RSA2',
  3100 + 'seller_id' => '2088131533026493',
  3101 +)
  3102 +2018-08-04 14:41:07 array (
  3103 + 'gmt_create' => '2018-08-04 14:17:03',
  3104 + 'charset' => 'UTF-8',
  3105 + 'gmt_payment' => '2018-08-04 14:17:07',
  3106 + 'notify_time' => '2018-08-04 14:41:07',
  3107 + 'subject' => '中介报价保证金支付',
  3108 + 'sign' => 'N+ZknCHxvXoqIKCge6qzn6u4rB9XhbFgO4kbK9wVE4SSFq7gzvqZnPrOqojcMYU0AqRxCP0JwbZSr6x5E0v1eO5N7+LGfIdZk5WgwKbcTTDarivvYAOMl86PaA/Xt1hzNemrkS0gc2EuQfNnvAoCuOBRU7ShS0sz3Fc1H3fETnwo3VV0uy97zIwMbywCh74wlc8O6TGv517Xiu/Ldchk2+sI2YlI97dw5ny4Phyqw8c1lx9lassY4lcRIOWQSRhYdT5j+WRbX1cob6DF3rK4CLzBK+jSfn79j/yszwa2lhum8SDsw8HJ36bzwwt4bUhcoAECRkUlNbMuR+0zS7rpLQ==',
  3109 + 'buyer_id' => '2088702987272699',
  3110 + 'invoice_amount' => '0.01',
  3111 + 'version' => '1.0',
  3112 + 'notify_id' => 'd364a727f9354a855735e25e84a2399lbt',
  3113 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  3114 + 'notify_type' => 'trade_status_sync',
  3115 + 'out_trade_no' => '2018080455531001',
  3116 + 'total_amount' => '0.01',
  3117 + 'trade_status' => 'TRADE_SUCCESS',
  3118 + 'trade_no' => '2018080421001004690502950181',
  3119 + 'auth_app_id' => '2018062560425105',
  3120 + 'receipt_amount' => '0.01',
  3121 + 'point_amount' => '0.00',
  3122 + 'app_id' => '2018062560425105',
  3123 + 'buyer_pay_amount' => '0.01',
  3124 + 'sign_type' => 'RSA2',
  3125 + 'seller_id' => '2088131533026493',
  3126 +)
  3127 +2018-08-04 15:00:12 {"out_trade_no":"2018080399539755","trade_no":"2018080321001004410517280630","refund_amount":"0.01","out_request_no":"","refund_reason":"报价人数不足"}
  3128 +2018-08-04 15:00:13 response: stdClass::__set_state(array(
  3129 + 'alipay_trade_refund_response' =>
  3130 + stdClass::__set_state(array(
  3131 + 'code' => '10000',
  3132 + 'msg' => 'Success',
  3133 + 'buyer_logon_id' => '252***@qq.com',
  3134 + 'buyer_user_id' => '2088222054754412',
  3135 + 'fund_change' => 'Y',
  3136 + 'gmt_refund_pay' => '2018-08-04 15:00:12',
  3137 + 'out_trade_no' => '2018080399539755',
  3138 + 'refund_fee' => '0.01',
  3139 + 'send_back_fee' => '0.00',
  3140 + 'trade_no' => '2018080321001004410517280630',
  3141 + )),
  3142 + 'sign' => 'XNg8cVYUPiPdvSy0hZ+0oyzV45+P+aRjaV+T2vwsN8aC+KOFzJbGRBlj0po1Yc6+zRxfCZ/wcXYq2TAcddzdlUUKfhAU1F8WZ3M03BBkR5pIKQjwZyU+Rfija+8Ks/J/DTJOi/6Hf7DlWFKDdPWLmWKJVFknCTiDsrRlRPn19dWpdL68ooKeJLhvAYBqJ3nhGKh19Zw5SI0WN0epSl4EGdIkg/xy/Md3bvdgLVpwMOoX+Jpd3lUbuZFf5rcrMN2sLrEQH8K0+X+sCU7fKltWs0Ko+d4NQh/RbEmOYwCwgi0aEFik1/z6OWCjToUwC2I+4kdyG8ZfcKXCtuaLDcLLCQ==',
  3143 +))
  3144 +2018-08-04 15:12:25 array (
  3145 + 'gmt_create' => '2018-08-04 13:48:11',
  3146 + 'charset' => 'UTF-8',
  3147 + 'gmt_payment' => '2018-08-04 13:48:48',
  3148 + 'notify_time' => '2018-08-04 15:12:25',
  3149 + 'subject' => '中介报价保证金支付',
  3150 + 'sign' => 'YCGn8XPTsdEZKNAbrvf/XDvYdSeXmxqS9JPSvmm7supWkOPmJaSV3fprJMZA6nleio+MlNpXzpj4F/UwyODOdwWWkA1l4fm3JcOB6oHGePwm1a10CoVP3cufdFyNSKWq4XGRGSDKGn1C/TohVq7AFvwxwbjaL5zb8IwO4D3T/xAjhujZkchyfKtDdFk35BuOTqLaw9Oj8f6IF6ZphdTiu0v9HPvjMu4hm7pJ8pNUJaAb9T+1a40mubuf5yz4k0V1Zg8JEgCWGyfHluYTt1HP4ZkEA1gqmwgpDEcy+jjcYYawbyNZnYEsbau4tehYjassJBaRg1ktqMCB14XBowDn7w==',
  3151 + 'buyer_id' => '2088412545492325',
  3152 + 'invoice_amount' => '0.01',
  3153 + 'version' => '1.0',
  3154 + 'notify_id' => '87baaab264587788bccb96218d2502bih1',
  3155 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  3156 + 'notify_type' => 'trade_status_sync',
  3157 + 'out_trade_no' => '2018080448571025',
  3158 + 'total_amount' => '0.01',
  3159 + 'trade_status' => 'TRADE_SUCCESS',
  3160 + 'trade_no' => '2018080421001004320500694355',
  3161 + 'auth_app_id' => '2018062560425105',
  3162 + 'receipt_amount' => '0.01',
  3163 + 'point_amount' => '0.00',
  3164 + 'app_id' => '2018062560425105',
  3165 + 'buyer_pay_amount' => '0.01',
  3166 + 'sign_type' => 'RSA2',
  3167 + 'seller_id' => '2088131533026493',
  3168 +)
  3169 +2018-08-04 15:24:23 array (
  3170 + 'gmt_create' => '2018-08-04 14:00:11',
  3171 + 'charset' => 'UTF-8',
  3172 + 'gmt_payment' => '2018-08-04 14:00:16',
  3173 + 'notify_time' => '2018-08-04 15:24:23',
  3174 + 'subject' => '需求保证金支付',
  3175 + 'sign' => 'BXiD9VvIUN2s7KskB2fC23lrRJxRj0FTgtuoY4JMM4GeJGf98/1/pLleVYCFcqnMudfdQgy+64lXDSHN7sNb35C/nCcK2hqzrBhyGQc1uPs/TvlLOMmAvf1oKbKNDOz3lgVxi/+bFLh75u6gjyeAwmWzZtV/6eiJSMoU7wk1PDOS9mu+1s5dQjxv9too9hZo1tOUczUr6mHkKsQ0DUN12uqBkEeP9MyZ2tq4N1OtjxkXdK/EN4VwyNy8PKgoT7CtENLb3/C6hHeodUNLxufYx0GLI41tQ5Bllb2pElj7zElLj+qv0L3DDCYFI6QhxovRoYNuZTlP0ZhlJbnw3ALJ8A==',
  3176 + 'buyer_id' => '2088412545492325',
  3177 + 'invoice_amount' => '0.01',
  3178 + 'version' => '1.0',
  3179 + 'notify_id' => '87edc16692040816f549d0c6b03c37eih1',
  3180 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  3181 + 'notify_type' => 'trade_status_sync',
  3182 + 'out_trade_no' => '2018080455551005',
  3183 + 'total_amount' => '0.01',
  3184 + 'trade_status' => 'TRADE_SUCCESS',
  3185 + 'trade_no' => '2018080421001004320500694573',
  3186 + 'auth_app_id' => '2018062560425105',
  3187 + 'receipt_amount' => '0.01',
  3188 + 'point_amount' => '0.00',
  3189 + 'app_id' => '2018062560425105',
  3190 + 'buyer_pay_amount' => '0.01',
  3191 + 'sign_type' => 'RSA2',
  3192 + 'seller_id' => '2088131533026493',
  3193 +)
  3194 +2018-08-04 15:25:23 array (
  3195 + 'gmt_create' => '2018-08-04 14:01:08',
  3196 + 'charset' => 'UTF-8',
  3197 + 'gmt_payment' => '2018-08-04 14:01:12',
  3198 + 'notify_time' => '2018-08-04 15:25:23',
  3199 + 'subject' => '中介报价保证金支付',
  3200 + 'sign' => 'bkaaanco7NftzttIDsTT+Q3n+oX9sYS2WDiyB2s08QM6eiSHnYMlfyyNAuh58drNdhWQ0qmAOmqglE+hUcBfKZrzb7TmdGUZPSVrBXkCuMpRhsEqTwXgdnbYo8WlaVPfp7hQB0lXX9/djyLVITqksqptyh/rL8K/cCTPJoh2WRSgn2+gIs5w10xCKDbe9LfjeLHsToYwsfXufiqsfaaCSAExshyS3eHH3G090YSOq+v6pVTabnrrmyxlOU0f374V7g1L4tX3msEVW/NUzXNx4U5uwpnYcexGSaVb5ep0iPXc5OKs+KqBnvQ9nzHl7XtMuvgifQ9a49vJvBu1s7bZsg==',
  3201 + 'buyer_id' => '2088412545492325',
  3202 + 'invoice_amount' => '0.01',
  3203 + 'version' => '1.0',
  3204 + 'notify_id' => 'ee0de28632318c3f09b90c1a853b5bfih1',
  3205 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  3206 + 'notify_type' => 'trade_status_sync',
  3207 + 'out_trade_no' => '2018080410048504',
  3208 + 'total_amount' => '0.01',
  3209 + 'trade_status' => 'TRADE_SUCCESS',
  3210 + 'trade_no' => '2018080421001004320500101282',
  3211 + 'auth_app_id' => '2018062560425105',
  3212 + 'receipt_amount' => '0.01',
  3213 + 'point_amount' => '0.00',
  3214 + 'app_id' => '2018062560425105',
  3215 + 'buyer_pay_amount' => '0.01',
  3216 + 'sign_type' => 'RSA2',
  3217 + 'seller_id' => '2088131533026493',
  3218 +)
  3219 +2018-08-04 15:41:36 array (
  3220 + 'gmt_create' => '2018-08-04 14:17:03',
  3221 + 'charset' => 'UTF-8',
  3222 + 'gmt_payment' => '2018-08-04 14:17:07',
  3223 + 'notify_time' => '2018-08-04 15:41:36',
  3224 + 'subject' => '中介报价保证金支付',
  3225 + 'sign' => 'Z/U0EowPfds5X3RuuriUAKASYBosbzdn1EMH+7n67YPLrzyQ3QhpH38epZMjWyGoT8f/WrN9BkpMgR70muJWLmaVSDiukWGinanf2wV3AA7dtVpxUs9JshQCZ1vy/Lb49Cn1q57eHiiNHFfdRi4siISHrZ+8ulDYU3EsYzoc16+7b/HTBKQZq38b90OZjEamQEckP+AaWpnY+BlqRmQ6GA8BcUGkpOKRb6D2QFza5DpzNDXELrPOWHO95fgAKtvfM5LN0ZjvEcoFE6NuGuD339oHenNDQ1omw0pf2sIS4JmChtiqdEOkATqncnSqtgctaOy+b9+RjUl1niRVzXDl7w==',
  3226 + 'buyer_id' => '2088702987272699',
  3227 + 'invoice_amount' => '0.01',
  3228 + 'version' => '1.0',
  3229 + 'notify_id' => 'd364a727f9354a855735e25e84a2399lbt',
  3230 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  3231 + 'notify_type' => 'trade_status_sync',
  3232 + 'out_trade_no' => '2018080455531001',
  3233 + 'total_amount' => '0.01',
  3234 + 'trade_status' => 'TRADE_SUCCESS',
  3235 + 'trade_no' => '2018080421001004690502950181',
  3236 + 'auth_app_id' => '2018062560425105',
  3237 + 'receipt_amount' => '0.01',
  3238 + 'point_amount' => '0.00',
  3239 + 'app_id' => '2018062560425105',
  3240 + 'buyer_pay_amount' => '0.01',
  3241 + 'sign_type' => 'RSA2',
  3242 + 'seller_id' => '2088131533026493',
  3243 +)
  3244 +2018-08-04 15:57:30 {"out_trade_no":"2018080455531001","trade_no":"2018080421001004690502950181","refund_amount":"0.01","out_request_no":"","refund_reason":"中介复选未中标退款"}
  3245 +2018-08-04 15:57:31 response: stdClass::__set_state(array(
  3246 + 'alipay_trade_refund_response' =>
  3247 + stdClass::__set_state(array(
  3248 + 'code' => '10000',
  3249 + 'msg' => 'Success',
  3250 + 'buyer_logon_id' => '159****1347',
  3251 + 'buyer_user_id' => '2088702987272699',
  3252 + 'fund_change' => 'Y',
  3253 + 'gmt_refund_pay' => '2018-08-04 15:57:30',
  3254 + 'out_trade_no' => '2018080455531001',
  3255 + 'refund_fee' => '0.01',
  3256 + 'send_back_fee' => '0.00',
  3257 + 'trade_no' => '2018080421001004690502950181',
  3258 + )),
  3259 + 'sign' => 'hmNEJs2BkhULGW+pV8izsWHHGGWtAApnbx1v966las/RfEaSpHK5Cxj0MxKUROYGdtQ7ecOD5pVTjEjgBwz5DkfQo5srUP3jZxS8r2OKfv0TMKZoGOTQDCmplTSulXvP/VMGkGaZbteUUJMkmhH5W7uhxErZxucYQ/5E3IErnoF7hIEar2m5ouH0glQTgZ8nBRXxqEl719aicW2briUsK42ATPwTkA0m7ZwYnkI1Sul2+pS/Am8idCgJ56czKb5SZXwxitFAiuYDTqXclCG6GK2YUX8/y1zv0Q+h0yQ/IAzVCJcP+D57G7wcPgDdPzzMJKe9JGwe65LkzpQTQm4njA==',
  3260 +))
  3261 +2018-08-04 17:12:17 array (
  3262 + 'gmt_create' => '2018-08-04 13:48:11',
  3263 + 'charset' => 'UTF-8',
  3264 + 'gmt_payment' => '2018-08-04 13:48:48',
  3265 + 'notify_time' => '2018-08-04 17:12:17',
  3266 + 'subject' => '中介报价保证金支付',
  3267 + 'sign' => 'Mla8rFVyILdRoW7fBOQfGFNq4NLlIZlRkfa2OzF2O+hpbcAQroRjODUKHkwiKjN9HRmtnJoU9KwpFxqI80yJpjlzO26fZv/K2Q9LfI9LwmDYmMzeZr7l49XGIMuSKtBXCgcRkzE0FT/Fxfh42F9XyewCW6ZvC0188ZIoJdd9KL2r6I0ujUmlcHiflH0CldrWgGnT2wGpmZg/IIA8BLitbek4eE/FUrLsA8drJIB5rOqcgs0ChDY3NiHACw//P+kD5JfKJ6L9+rCFnvKTCb1dVB51uSVbcaOlFj4o8OFpjW2HnNcLLJ9483TYEXFXrIPtw9b+2csVDXVAgnuSuX6Z+w==',
  3268 + 'buyer_id' => '2088412545492325',
  3269 + 'invoice_amount' => '0.01',
  3270 + 'version' => '1.0',
  3271 + 'notify_id' => '87baaab264587788bccb96218d2502bih1',
  3272 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  3273 + 'notify_type' => 'trade_status_sync',
  3274 + 'out_trade_no' => '2018080448571025',
  3275 + 'total_amount' => '0.01',
  3276 + 'trade_status' => 'TRADE_SUCCESS',
  3277 + 'trade_no' => '2018080421001004320500694355',
  3278 + 'auth_app_id' => '2018062560425105',
  3279 + 'receipt_amount' => '0.01',
  3280 + 'point_amount' => '0.00',
  3281 + 'app_id' => '2018062560425105',
  3282 + 'buyer_pay_amount' => '0.01',
  3283 + 'sign_type' => 'RSA2',
  3284 + 'seller_id' => '2088131533026493',
  3285 +)
  3286 +2018-08-04 17:24:22 array (
  3287 + 'gmt_create' => '2018-08-04 14:00:11',
  3288 + 'charset' => 'UTF-8',
  3289 + 'gmt_payment' => '2018-08-04 14:00:16',
  3290 + 'notify_time' => '2018-08-04 17:24:22',
  3291 + 'subject' => '需求保证金支付',
  3292 + 'sign' => 'BIe1YeFl/c742CoxxRa7VGJMZhXz1asR1kSRB3bGPLfLWhQF/ijdkgNWJccNfC5XE/TrFAtLxBegJ29V1sO0FPFTNGx+bWHYT6PU/EpwTGzRLiPo+uLXfqU5BcdjKkCowPviFpg3l33nqgZ2HCTYBEeav+6zq56MXHUMmGD6Z3h5wq73E0lhO18Rvonw+BsO/T1ujjhZoT+iePmlFcY0O8hTkhbhCW6zkDcHNyrcGIV5RSOhl5EHtvJbTgJ4trVQecB1od1di97YjuBN7LNrCTZnpA/iVt8h4qOQZ6Xv4g0J8yfWyk+wiNDl3iJW0oa6v1jXe1czj49CqZpgudB86A==',
  3293 + 'buyer_id' => '2088412545492325',
  3294 + 'invoice_amount' => '0.01',
  3295 + 'version' => '1.0',
  3296 + 'notify_id' => '87edc16692040816f549d0c6b03c37eih1',
  3297 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  3298 + 'notify_type' => 'trade_status_sync',
  3299 + 'out_trade_no' => '2018080455551005',
  3300 + 'total_amount' => '0.01',
  3301 + 'trade_status' => 'TRADE_SUCCESS',
  3302 + 'trade_no' => '2018080421001004320500694573',
  3303 + 'auth_app_id' => '2018062560425105',
  3304 + 'receipt_amount' => '0.01',
  3305 + 'point_amount' => '0.00',
  3306 + 'app_id' => '2018062560425105',
  3307 + 'buyer_pay_amount' => '0.01',
  3308 + 'sign_type' => 'RSA2',
  3309 + 'seller_id' => '2088131533026493',
  3310 +)
  3311 +2018-08-04 17:25:05 array (
  3312 + 'gmt_create' => '2018-08-04 14:01:08',
  3313 + 'charset' => 'UTF-8',
  3314 + 'gmt_payment' => '2018-08-04 14:01:12',
  3315 + 'notify_time' => '2018-08-04 17:25:05',
  3316 + 'subject' => '中介报价保证金支付',
  3317 + 'sign' => 'K0Qdf62wtTJb8Q4fAh++2+r4IeMIZjZ9ncItz4lLLKQnUFvKkwd4GBHS6UQqdOTF2GiHh07dEvGvFBgamUmM7E9hx/8x8r1REKllNPsNSBplGlN79mAnZEXfOhDbtSgj6S1Jo0xiy/VX/cu9uu+OtioDYFWJf2v/fzIHWzxvPfah/2ZNvqbJwy7cq+X3N9h+hC1W8QlCJGMXlfLlyLzYYzWYBZFGTVwzwDxMC2I6dMVyh2Wt780gsgoGFF1pXqbThvbDNJaqMQ8Q0VHexaq+weux5huNsRSaaEmXWfCI+q7ewjhGf7waZMb259Iz2nq/eH+gBpdgmamG7IlhQY3ygQ==',
  3318 + 'buyer_id' => '2088412545492325',
  3319 + 'invoice_amount' => '0.01',
  3320 + 'version' => '1.0',
  3321 + 'notify_id' => 'ee0de28632318c3f09b90c1a853b5bfih1',
  3322 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  3323 + 'notify_type' => 'trade_status_sync',
  3324 + 'out_trade_no' => '2018080410048504',
  3325 + 'total_amount' => '0.01',
  3326 + 'trade_status' => 'TRADE_SUCCESS',
  3327 + 'trade_no' => '2018080421001004320500101282',
  3328 + 'auth_app_id' => '2018062560425105',
  3329 + 'receipt_amount' => '0.01',
  3330 + 'point_amount' => '0.00',
  3331 + 'app_id' => '2018062560425105',
  3332 + 'buyer_pay_amount' => '0.01',
  3333 + 'sign_type' => 'RSA2',
  3334 + 'seller_id' => '2088131533026493',
  3335 +)
  3336 +2018-08-04 17:41:18 array (
  3337 + 'gmt_create' => '2018-08-04 14:17:03',
  3338 + 'charset' => 'UTF-8',
  3339 + 'gmt_payment' => '2018-08-04 14:17:07',
  3340 + 'notify_time' => '2018-08-04 17:41:17',
  3341 + 'subject' => '中介报价保证金支付',
  3342 + 'sign' => 'NiP/kcYgfREfIxpe4jBZy5HMWy2uYBzYb86nmchwpvjgmQ9PhPDmTsrd8AkuWpjIO7V13FnDEZmo7Fwwo1Vkbi/K1d5b119IgDqhiS+xYWokvM2gE5wCtTtNZcv67iQKfogBIpG+KUMnBWTRVV6ZwExcKhyOJ2Jh+/6JgBxAntjFsEekcOF6nrV3pC3rTPHrdssjZhZJDzA8Qv3KS1r77qteGk6so7e5Fmcjsm8TUfZ/01TCqImgJp7iT4bB/hbKq7eCjEhfKymuecumXtSq7F8BUPcuIlzHhzUes/FqrBs09xTuqoTapQFpst7vR3A+TSDj+UFNIVzGoi+dHPkZOA==',
  3343 + 'buyer_id' => '2088702987272699',
  3344 + 'invoice_amount' => '0.01',
  3345 + 'version' => '1.0',
  3346 + 'notify_id' => 'd364a727f9354a855735e25e84a2399lbt',
  3347 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  3348 + 'notify_type' => 'trade_status_sync',
  3349 + 'out_trade_no' => '2018080455531001',
  3350 + 'total_amount' => '0.01',
  3351 + 'trade_status' => 'TRADE_SUCCESS',
  3352 + 'trade_no' => '2018080421001004690502950181',
  3353 + 'auth_app_id' => '2018062560425105',
  3354 + 'receipt_amount' => '0.01',
  3355 + 'point_amount' => '0.00',
  3356 + 'app_id' => '2018062560425105',
  3357 + 'buyer_pay_amount' => '0.01',
  3358 + 'sign_type' => 'RSA2',
  3359 + 'seller_id' => '2088131533026493',
  3360 +)
  3361 +2018-08-04 18:43:44 array (
  3362 + 'gmt_create' => '2018-08-04 09:19:03',
  3363 + 'charset' => 'UTF-8',
  3364 + 'gmt_payment' => '2018-08-04 09:19:06',
  3365 + 'notify_time' => '2018-08-04 18:43:44',
  3366 + 'subject' => '需求保证金支付',
  3367 + 'sign' => 'WKcgeF0JYRWxoBde7d/lh+vaF9DedC9M/tYd2LI1zXSOnZ7C05mA3y/kh48/M0nEV/S3pvjVbeh3DwOpxPFKF2QM2bcb0IUjjIxyumzZWxRjO5tBpZLTd2r3LwdttInrfSFxgEj1p2IjY8wbLrDClx1CsfdM2zJgvF05zwgVEhh1fRBTBtjqBfigXb0q+1kbkGDnvWvpeG9ZCuiakzoT57zrfPp/4TI/lMnR9K+55LyuUHYY9bRwzlC+mDP9cZqaBTCPUzH25qcXgtcwzl8yO2ii1yC8Eca+WTC0R5qNHtEKOVAlCDPChOTUMMs91kBcX5p55sEaD732AUimmo5Iow==',
  3368 + 'buyer_id' => '2088222054754412',
  3369 + 'invoice_amount' => '0.01',
  3370 + 'version' => '1.0',
  3371 + 'notify_id' => '86bcc663df43bfb41f45f6af0af0fe2j61',
  3372 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  3373 + 'notify_type' => 'trade_status_sync',
  3374 + 'out_trade_no' => '2018080498101102',
  3375 + 'total_amount' => '0.01',
  3376 + 'trade_status' => 'TRADE_SUCCESS',
  3377 + 'trade_no' => '2018080421001004410521485181',
  3378 + 'auth_app_id' => '2018062560425105',
  3379 + 'receipt_amount' => '0.01',
  3380 + 'point_amount' => '0.00',
  3381 + 'app_id' => '2018062560425105',
  3382 + 'buyer_pay_amount' => '0.01',
  3383 + 'sign_type' => 'RSA2',
  3384 + 'seller_id' => '2088131533026493',
  3385 +)
  3386 +2018-08-04 18:49:34 array (
  3387 + 'gmt_create' => '2018-08-04 09:24:59',
  3388 + 'charset' => 'UTF-8',
  3389 + 'gmt_payment' => '2018-08-04 09:25:02',
  3390 + 'notify_time' => '2018-08-04 18:49:34',
  3391 + 'subject' => '需求保证金支付',
  3392 + 'sign' => 'A+oMHm7voigh0B8aKVa+YMEf86iM5mznH93UQmkerzhD9B6B68h0jUE++NscOox6z6fK5Z8ZSajKPMCTW+rn2gHLB8wIk8ugejnkLxAJhaAXMGsPnvKs5c8MDIlfAGsCXIdribbdCU8lOAm1kPp/A3s5l4ycRa8QVD4TK2Bx7fObwQY6TRBBCqYiM1/1lv7SavpUNpj5Y6+DkofHiwIwJmOl9Z3sd9nxoDwlzsMqFkKDukfurWJ0vcvkcg2Q/uLYM/ZUEWguB4kCtGGc55CaBCIpFlSO1UGhN4sFxTOUwPVv9RUV0x1uMndn3zOOKlUPXjkB05eQ5zrloez9JvFDxA==',
  3393 + 'buyer_id' => '2088222054754412',
  3394 + 'invoice_amount' => '0.01',
  3395 + 'version' => '1.0',
  3396 + 'notify_id' => '943db8fbd8634316ea2a0fdc0849b7dj61',
  3397 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  3398 + 'notify_type' => 'trade_status_sync',
  3399 + 'out_trade_no' => '2018080451101985',
  3400 + 'total_amount' => '0.01',
  3401 + 'trade_status' => 'TRADE_SUCCESS',
  3402 + 'trade_no' => '2018080421001004410521107930',
  3403 + 'auth_app_id' => '2018062560425105',
  3404 + 'receipt_amount' => '0.01',
  3405 + 'point_amount' => '0.00',
  3406 + 'app_id' => '2018062560425105',
  3407 + 'buyer_pay_amount' => '0.01',
  3408 + 'sign_type' => 'RSA2',
  3409 + 'seller_id' => '2088131533026493',
  3410 +)
  3411 +2018-08-04 19:58:28 array (
  3412 + 'gmt_create' => '2018-08-04 10:34:07',
  3413 + 'charset' => 'UTF-8',
  3414 + 'gmt_payment' => '2018-08-04 10:34:14',
  3415 + 'notify_time' => '2018-08-04 19:58:28',
  3416 + 'subject' => '需求保证金支付',
  3417 + 'sign' => 'BKagQODOFWRuQ7YPF1BXNGcvRUvhJu6OdRHnfbx0ETm5OQnA0kNF0tHi6jMuTkUh7M+Zi2HZFDwPY614QxAv3aQdoIcEFi5S388ZLVk5AjgB8mR6iKpPMFcSFD+E0VSjQgNhhnFHTjp491NryPMIpqZ/Kg8INXGJWSuTxch4Ew0eavjqS730pNelyV2sKC91AGzLt+kyxAU6W9b1GyDmbUQ8GJ/SR5bDDzHdpS8Hs3m0FugoL4iTmyYu7nGpC1yURvipVv5T/fUzOOo7GirZX7/ZfeFmGC8QectfSK9MPa/Vo/2XIa8FwmSnfiDr59dPmKGXqdRl7zw16RAekeGv0Q==',
  3418 + 'buyer_id' => '2088412545492325',
  3419 + 'invoice_amount' => '0.01',
  3420 + 'version' => '1.0',
  3421 + 'notify_id' => '1c5ab2eebe61b038c0c84223b1ab0f2ih1',
  3422 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  3423 + 'notify_type' => 'trade_status_sync',
  3424 + 'out_trade_no' => '2018080410049505',
  3425 + 'total_amount' => '0.01',
  3426 + 'trade_status' => 'TRADE_SUCCESS',
  3427 + 'trade_no' => '2018080421001004320500086009',
  3428 + 'auth_app_id' => '2018062560425105',
  3429 + 'receipt_amount' => '0.01',
  3430 + 'point_amount' => '0.00',
  3431 + 'app_id' => '2018062560425105',
  3432 + 'buyer_pay_amount' => '0.01',
  3433 + 'sign_type' => 'RSA2',
  3434 + 'seller_id' => '2088131533026493',
  3435 +)
  3436 +2018-08-04 23:12:07 array (
  3437 + 'gmt_create' => '2018-08-04 13:48:11',
  3438 + 'charset' => 'UTF-8',
  3439 + 'gmt_payment' => '2018-08-04 13:48:48',
  3440 + 'notify_time' => '2018-08-04 23:12:07',
  3441 + 'subject' => '中介报价保证金支付',
  3442 + 'sign' => 'eUMwS6h+pIr4rL9kH7Yvujr4JJaFtD5kle7Bk85FoEz6FEx8vMEaKDNKCKVrqOckFKPgG/g2iI8oz5V8T1RCQL8H3UgGxWCMzweDW1110PM6ZbQJ+u0fZTsKn4psOIgtp9YLTsxzvMa2L3SSjVBbwpIIhdjP4qRHhIQLmzt3YD28VrAtjY+XhESiNJfbCogcKsOIoHbnjgCcn0Px1qpNWOmFfC7TPkOs0CBz9fzRHKrs8M2gt267I0iuFkaPKg4Y8wxhutci9Tm+YAPU+ZjcFT6UOQuTERLClB8blOtiz8GSp0Hz6BCo5odLhkEvDBIaSYFtBab9YAc8zowMvlYzUw==',
  3443 + 'buyer_id' => '2088412545492325',
  3444 + 'invoice_amount' => '0.01',
  3445 + 'version' => '1.0',
  3446 + 'notify_id' => '87baaab264587788bccb96218d2502bih1',
  3447 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  3448 + 'notify_type' => 'trade_status_sync',
  3449 + 'out_trade_no' => '2018080448571025',
  3450 + 'total_amount' => '0.01',
  3451 + 'trade_status' => 'TRADE_SUCCESS',
  3452 + 'trade_no' => '2018080421001004320500694355',
  3453 + 'auth_app_id' => '2018062560425105',
  3454 + 'receipt_amount' => '0.01',
  3455 + 'point_amount' => '0.00',
  3456 + 'app_id' => '2018062560425105',
  3457 + 'buyer_pay_amount' => '0.01',
  3458 + 'sign_type' => 'RSA2',
  3459 + 'seller_id' => '2088131533026493',
  3460 +)
  3461 +2018-08-04 23:24:04 array (
  3462 + 'gmt_create' => '2018-08-04 14:00:11',
  3463 + 'charset' => 'UTF-8',
  3464 + 'gmt_payment' => '2018-08-04 14:00:16',
  3465 + 'notify_time' => '2018-08-04 23:24:04',
  3466 + 'subject' => '需求保证金支付',
  3467 + 'sign' => 'b1G1HGg8hwym7GcudULV0bX1NCIENn76+3CEdU8yjWIgsOKnHmVIcJ6NGp9J3mawqwSxk6Ykcot1J6oEIQfr3qfnrhmezz29pqLS5XzG6NA6sNdXlriRWXc4VPkWZetZBQewoYf0f+QWZKGF4zG66p6+0Cx1k7LJDAGE+LHCH9zI8JpHJmakUK2KymPWTfuUnBNyE15vQXEzmIxg/SYKBbQHW1Q6KSZIRuxVE5bgE5T2Y4w7eX12fSQcvuPVRJlQ/HTEIOMyYSGXDEFFrMr0HrGx60uYybjwuzEI+HGqdPPirF+8vsCnhqljJUsCBvyL/z/kXBvLupAjF/P/IVEZNg==',
  3468 + 'buyer_id' => '2088412545492325',
  3469 + 'invoice_amount' => '0.01',
  3470 + 'version' => '1.0',
  3471 + 'notify_id' => '87edc16692040816f549d0c6b03c37eih1',
  3472 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  3473 + 'notify_type' => 'trade_status_sync',
  3474 + 'out_trade_no' => '2018080455551005',
  3475 + 'total_amount' => '0.01',
  3476 + 'trade_status' => 'TRADE_SUCCESS',
  3477 + 'trade_no' => '2018080421001004320500694573',
  3478 + 'auth_app_id' => '2018062560425105',
  3479 + 'receipt_amount' => '0.01',
  3480 + 'point_amount' => '0.00',
  3481 + 'app_id' => '2018062560425105',
  3482 + 'buyer_pay_amount' => '0.01',
  3483 + 'sign_type' => 'RSA2',
  3484 + 'seller_id' => '2088131533026493',
  3485 +)
  3486 +2018-08-04 23:25:03 array (
  3487 + 'gmt_create' => '2018-08-04 14:01:08',
  3488 + 'charset' => 'UTF-8',
  3489 + 'gmt_payment' => '2018-08-04 14:01:12',
  3490 + 'notify_time' => '2018-08-04 23:25:03',
  3491 + 'subject' => '中介报价保证金支付',
  3492 + 'sign' => 'QvAZnUTk6SxfAAX7I7VXBGCdBgQYZZQEKZSZxyi0AmSk7t6S5/SlJZ3ihKNG5nDyAk69sbE84PgjtoF6ZZF8teVIAN5YEXlKVo0waHvXVdtTNgwj60LyGIrRuRu8OAUZWsRIG17gk6LeGjc4WpHF7f/F/+4L0RZI6gfmTWOS4exKucpAfQ0BVVXuG869OjZSmpSq9ZcB2TDbSirBNNXQzudLOzN8HyFeZD8d3WAmDfThGhM+9+3hrWf9vV9xffS3gn/WWPiGea7z34ZcxnQ1MVhpaekR64IIEevxKVP3dAGWJnaWbuUby5909EOGIqVXAe9OaLjt34dHRJgNdxFFLg==',
  3493 + 'buyer_id' => '2088412545492325',
  3494 + 'invoice_amount' => '0.01',
  3495 + 'version' => '1.0',
  3496 + 'notify_id' => 'ee0de28632318c3f09b90c1a853b5bfih1',
  3497 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  3498 + 'notify_type' => 'trade_status_sync',
  3499 + 'out_trade_no' => '2018080410048504',
  3500 + 'total_amount' => '0.01',
  3501 + 'trade_status' => 'TRADE_SUCCESS',
  3502 + 'trade_no' => '2018080421001004320500101282',
  3503 + 'auth_app_id' => '2018062560425105',
  3504 + 'receipt_amount' => '0.01',
  3505 + 'point_amount' => '0.00',
  3506 + 'app_id' => '2018062560425105',
  3507 + 'buyer_pay_amount' => '0.01',
  3508 + 'sign_type' => 'RSA2',
  3509 + 'seller_id' => '2088131533026493',
  3510 +)
  3511 +2018-08-04 23:41:24 array (
  3512 + 'gmt_create' => '2018-08-04 14:17:03',
  3513 + 'charset' => 'UTF-8',
  3514 + 'gmt_payment' => '2018-08-04 14:17:07',
  3515 + 'notify_time' => '2018-08-04 23:41:24',
  3516 + 'subject' => '中介报价保证金支付',
  3517 + 'sign' => 'OYOw7tJqqO7ctKWEldzcrcbol/ipRtAIJPoU0lH6vbYWjmtU7dcH4oMsjQSSx/uFQoopvVaqgJwsE2lHWNuohRKqg4LSGYXK1LtdjFUC168a2bBMGtT0dwPHomoiBAw0fLJCQsCdhhQc0YD/QJA4fqduw/W4EcsMwxkUdXKjlBzz1gfH+sOS88mzzfnZnztJ9CGyJpiOWYOgSMz3aIfqlw5F0BqvA1pAFgGfE54/d7C5ZIIdlcd3+4JQHid9p1+vAAocNc4/gzYYO6qkrigMcyRWcfAyVLIRUpsriZ449UpQe8MAOJisFhwJ3PW33wEbcjNLqcd2oAcK7/aG9i2DZg==',
  3518 + 'buyer_id' => '2088702987272699',
  3519 + 'invoice_amount' => '0.01',
  3520 + 'version' => '1.0',
  3521 + 'notify_id' => 'd364a727f9354a855735e25e84a2399lbt',
  3522 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  3523 + 'notify_type' => 'trade_status_sync',
  3524 + 'out_trade_no' => '2018080455531001',
  3525 + 'total_amount' => '0.01',
  3526 + 'trade_status' => 'TRADE_SUCCESS',
  3527 + 'trade_no' => '2018080421001004690502950181',
  3528 + 'auth_app_id' => '2018062560425105',
  3529 + 'receipt_amount' => '0.01',
  3530 + 'point_amount' => '0.00',
  3531 + 'app_id' => '2018062560425105',
  3532 + 'buyer_pay_amount' => '0.01',
  3533 + 'sign_type' => 'RSA2',
  3534 + 'seller_id' => '2088131533026493',
  3535 +)
  3536 +2018-08-05 09:43:20 array (
  3537 + 'gmt_create' => '2018-08-04 09:19:03',
  3538 + 'charset' => 'UTF-8',
  3539 + 'gmt_payment' => '2018-08-04 09:19:06',
  3540 + 'notify_time' => '2018-08-05 09:43:18',
  3541 + 'subject' => '需求保证金支付',
  3542 + 'sign' => 'JOSiX+qlnROsXkDCjzI67kSsnXDRqZRVQ4VmylVu0pFbyrpjDipA6loTvOO4py/6G7WU84jheN5Pkmj+sl+GXwjgoNFERUG8+PEEo7F32YYltuaXLTBEtixqmVmw1yAOEOqdNNOWbGvIF8N6c9UMapH8VgHmjBnRLIIzdphX1TsJIIPl77c1YhCvBHo8XmshpTqFnx6GydKWqApBUXgXwixGeutLHmYdizVSAfsATJbAYH9+d1UbZG5qpB4nNqH8GPQDY7PtSUwab38nL+HMGmyJyV2klJ31wtAPnXzto48sXmWNzPBtSLZsi2e8/HdsFIQkrLbOlDTKtP8lmm16jw==',
  3543 + 'buyer_id' => '2088222054754412',
  3544 + 'invoice_amount' => '0.01',
  3545 + 'version' => '1.0',
  3546 + 'notify_id' => '86bcc663df43bfb41f45f6af0af0fe2j61',
  3547 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  3548 + 'notify_type' => 'trade_status_sync',
  3549 + 'out_trade_no' => '2018080498101102',
  3550 + 'total_amount' => '0.01',
  3551 + 'trade_status' => 'TRADE_SUCCESS',
  3552 + 'trade_no' => '2018080421001004410521485181',
  3553 + 'auth_app_id' => '2018062560425105',
  3554 + 'receipt_amount' => '0.01',
  3555 + 'point_amount' => '0.00',
  3556 + 'app_id' => '2018062560425105',
  3557 + 'buyer_pay_amount' => '0.01',
  3558 + 'sign_type' => 'RSA2',
  3559 + 'seller_id' => '2088131533026493',
  3560 +)
  3561 +2018-08-05 09:49:07 array (
  3562 + 'gmt_create' => '2018-08-04 09:24:59',
  3563 + 'charset' => 'UTF-8',
  3564 + 'gmt_payment' => '2018-08-04 09:25:02',
  3565 + 'notify_time' => '2018-08-05 09:49:07',
  3566 + 'subject' => '需求保证金支付',
  3567 + 'sign' => 'iUazzQY44p4xvNX79HM5taBTVh7poX2TMljO+IO4BD6cINA2JRyT8XU7gZHvQ7HjYREEhwg1UXWrxMRJIy0lxL53G7js7hvFmF3ykUV1EKV1/OCm1EUbaCPxdASXzRQ4kfD92QsT8rvCMmm7oHp2k7cGYd4FoueRpKj2+zmvJrgemzdTx4prc+d08JTEp9achlCWLQe2qWHK0u0D3zbOJXUnos7PPM3oEMBxtFV6nltCpRSF/mDuVfLhu8X6PjhyQgmf05Tk1kMLFyTp48GFJBAQIUp8tX4shhLBcs7b1/2A/awFrixLzEx1t7X3gzzLeuRX0vVB8mihLila6dGolg==',
  3568 + 'buyer_id' => '2088222054754412',
  3569 + 'invoice_amount' => '0.01',
  3570 + 'version' => '1.0',
  3571 + 'notify_id' => '943db8fbd8634316ea2a0fdc0849b7dj61',
  3572 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  3573 + 'notify_type' => 'trade_status_sync',
  3574 + 'out_trade_no' => '2018080451101985',
  3575 + 'total_amount' => '0.01',
  3576 + 'trade_status' => 'TRADE_SUCCESS',
  3577 + 'trade_no' => '2018080421001004410521107930',
  3578 + 'auth_app_id' => '2018062560425105',
  3579 + 'receipt_amount' => '0.01',
  3580 + 'point_amount' => '0.00',
  3581 + 'app_id' => '2018062560425105',
  3582 + 'buyer_pay_amount' => '0.01',
  3583 + 'sign_type' => 'RSA2',
  3584 + 'seller_id' => '2088131533026493',
  3585 +)
  3586 +2018-08-05 10:58:47 array (
  3587 + 'gmt_create' => '2018-08-04 10:34:07',
  3588 + 'charset' => 'UTF-8',
  3589 + 'gmt_payment' => '2018-08-04 10:34:14',
  3590 + 'notify_time' => '2018-08-05 10:58:47',
  3591 + 'subject' => '需求保证金支付',
  3592 + 'sign' => 'I7bGKwKleK/iFUyiHGlwEDUuk29vV52JWHk2UvCq0rT9mRDIT5S2AiY5Gv69jOZss+n1gXqEAqRcIENbsI7IjWBqZn5DuTpsuxKS4T4+LE9AAVL2V4qT8uC5FQIPvPfBkgM/0jwrJKTVaEBVpKdfW1wSBMAS9W9HaVSjmM0tjlGovz8KeV8ZKFl9KPE2i45shHKBaB0JaAbxbiqQ95k6MJC+n1wZsFJd1psOzI0sMQBz06YzoDq8vxpxYT/o4BdQhTEHUFZpbJbZng5ruaC6h7Zt6N47UZx1L0NBI5xcYVWNRD0i0V8LERjnXjw+mP869GsA1O+oF0wjFrPMs0qRIw==',
  3593 + 'buyer_id' => '2088412545492325',
  3594 + 'invoice_amount' => '0.01',
  3595 + 'version' => '1.0',
  3596 + 'notify_id' => '1c5ab2eebe61b038c0c84223b1ab0f2ih1',
  3597 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  3598 + 'notify_type' => 'trade_status_sync',
  3599 + 'out_trade_no' => '2018080410049505',
  3600 + 'total_amount' => '0.01',
  3601 + 'trade_status' => 'TRADE_SUCCESS',
  3602 + 'trade_no' => '2018080421001004320500086009',
  3603 + 'auth_app_id' => '2018062560425105',
  3604 + 'receipt_amount' => '0.01',
  3605 + 'point_amount' => '0.00',
  3606 + 'app_id' => '2018062560425105',
  3607 + 'buyer_pay_amount' => '0.01',
  3608 + 'sign_type' => 'RSA2',
  3609 + 'seller_id' => '2088131533026493',
  3610 +)
  3611 +2018-08-05 14:12:38 array (
  3612 + 'gmt_create' => '2018-08-04 13:48:11',
  3613 + 'charset' => 'UTF-8',
  3614 + 'gmt_payment' => '2018-08-04 13:48:48',
  3615 + 'notify_time' => '2018-08-05 14:12:37',
  3616 + 'subject' => '中介报价保证金支付',
  3617 + 'sign' => 'Zf11OSQt2uPzS2Zj1b56wC68mpiKw0tXLhK5nZ2a/OwhYbFNuGtAi1DE3IV1NiCjmjJR7guGBjVEvu270hs20BXO7AjQcTf/fwsyMgFG/JFVJ9DTSXqAxM42QPtOAMT7iNTwm2FjZ+9ndzoc0krDtSesf351qkxr1PYHzJy8q0TQxrGb2MweO84jy/Tomeh8k9L1kQX7+Ymc4SIYpxN6HU0Egj2GekWO5A7uuKtYqKPjXubfBNZexLk87ES3NuCF31kumi3cjM2KnXh700jZRtAeThRj+b7TPlClCTUom3Ms2PL4CRygRueNQ6n8eb9/33k1/NriWnqdfBsezdPJig==',
  3618 + 'buyer_id' => '2088412545492325',
  3619 + 'invoice_amount' => '0.01',
  3620 + 'version' => '1.0',
  3621 + 'notify_id' => '87baaab264587788bccb96218d2502bih1',
  3622 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  3623 + 'notify_type' => 'trade_status_sync',
  3624 + 'out_trade_no' => '2018080448571025',
  3625 + 'total_amount' => '0.01',
  3626 + 'trade_status' => 'TRADE_SUCCESS',
  3627 + 'trade_no' => '2018080421001004320500694355',
  3628 + 'auth_app_id' => '2018062560425105',
  3629 + 'receipt_amount' => '0.01',
  3630 + 'point_amount' => '0.00',
  3631 + 'app_id' => '2018062560425105',
  3632 + 'buyer_pay_amount' => '0.01',
  3633 + 'sign_type' => 'RSA2',
  3634 + 'seller_id' => '2088131533026493',
  3635 +)
  3636 +2018-08-05 14:24:10 array (
  3637 + 'gmt_create' => '2018-08-04 14:00:11',
  3638 + 'charset' => 'UTF-8',
  3639 + 'gmt_payment' => '2018-08-04 14:00:16',
  3640 + 'notify_time' => '2018-08-05 14:24:10',
  3641 + 'subject' => '需求保证金支付',
  3642 + 'sign' => 'YUZl7pycKIcFnzHi76/oGKt/YQlnFw3N1IhM0A6oRaunjoxBrGbTopaLa5Tf0eHX/Hk1uaQlLEpem9GfqeGOrvR04gs020fMqyKj28iQmtxX35tjyfRw/3hjphUDRM6T+50QTmYWwyS0KYRf1ErZwheMQwGzU8EzCKJXC+4FptU7ULMoqkMqx75Vr+pvjJ8G0Lac3zhSrk1blz1eaDk3C+/PG6OB0VFdz8H+rOubCKcSe5Ihy8c3Q+kymos/jKoCRtMGGkePtmJM1hkTQ7GhiTgN8eEJ8fGwG6EbiiYIg90HjU2QMOlRq9oFPS8gVnNOWFFSTbjsgCII1o6xDAMTJQ==',
  3643 + 'buyer_id' => '2088412545492325',
  3644 + 'invoice_amount' => '0.01',
  3645 + 'version' => '1.0',
  3646 + 'notify_id' => '87edc16692040816f549d0c6b03c37eih1',
  3647 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  3648 + 'notify_type' => 'trade_status_sync',
  3649 + 'out_trade_no' => '2018080455551005',
  3650 + 'total_amount' => '0.01',
  3651 + 'trade_status' => 'TRADE_SUCCESS',
  3652 + 'trade_no' => '2018080421001004320500694573',
  3653 + 'auth_app_id' => '2018062560425105',
  3654 + 'receipt_amount' => '0.01',
  3655 + 'point_amount' => '0.00',
  3656 + 'app_id' => '2018062560425105',
  3657 + 'buyer_pay_amount' => '0.01',
  3658 + 'sign_type' => 'RSA2',
  3659 + 'seller_id' => '2088131533026493',
  3660 +)
  3661 +2018-08-05 14:25:21 array (
  3662 + 'gmt_create' => '2018-08-04 14:01:08',
  3663 + 'charset' => 'UTF-8',
  3664 + 'gmt_payment' => '2018-08-04 14:01:12',
  3665 + 'notify_time' => '2018-08-05 14:25:20',
  3666 + 'subject' => '中介报价保证金支付',
  3667 + 'sign' => 'CcJfBpj8gof3f1lkTbgiTZ8mMGfzccgLfN1zctWZ97LqvtDVVBB9FPdF/4MzkU3pK9RwmGkjMH3vZ6YvJ/daowH3A6kZMZJqkklJzdRWd3rVBVDwVYfpYTMJAOzvdJQd+bNxdqbFiNeS6q4ghZBrB7KDGZB72zF847KH4KesDFJFesPKrI7EenoNTZf/kQahW039oo7S0VYgiGwAWOcDJ5V2mHSlWhYGA+REowEziNkwAV5vDsxNJo13q4jgWuyC6FxX79dAmWVNlC8nsNW/tUjnjqswZHX/1McY3xjL+NNwpCjjcZ4cHElWgJN1L9OiGSuzwY7nWsAoz9jn1dsqpg==',
  3668 + 'buyer_id' => '2088412545492325',
  3669 + 'invoice_amount' => '0.01',
  3670 + 'version' => '1.0',
  3671 + 'notify_id' => 'ee0de28632318c3f09b90c1a853b5bfih1',
  3672 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  3673 + 'notify_type' => 'trade_status_sync',
  3674 + 'out_trade_no' => '2018080410048504',
  3675 + 'total_amount' => '0.01',
  3676 + 'trade_status' => 'TRADE_SUCCESS',
  3677 + 'trade_no' => '2018080421001004320500101282',
  3678 + 'auth_app_id' => '2018062560425105',
  3679 + 'receipt_amount' => '0.01',
  3680 + 'point_amount' => '0.00',
  3681 + 'app_id' => '2018062560425105',
  3682 + 'buyer_pay_amount' => '0.01',
  3683 + 'sign_type' => 'RSA2',
  3684 + 'seller_id' => '2088131533026493',
  3685 +)
  3686 +2018-08-05 14:41:18 array (
  3687 + 'gmt_create' => '2018-08-04 14:17:03',
  3688 + 'charset' => 'UTF-8',
  3689 + 'gmt_payment' => '2018-08-04 14:17:07',
  3690 + 'notify_time' => '2018-08-05 14:41:18',
  3691 + 'subject' => '中介报价保证金支付',
  3692 + 'sign' => 'LYHjlSwB03ijvSpv5WL8libdiub4l3KAUgeD+YAIJew0qloCCuFt02sjJGR4lG+SeWULDDJdOTJlZXWcrH+aAONED8sesWwCtF1eSyafjYzNcpKFURCldv4kpgFFYAfHAgw91I7WvNsmUjncqO0+vjnRZ+VRl49I6zaSBpxuWKAZ50sSJ1tkQe7G7WETnhBFyVkSXkW8HTa0096RB10ium0kFk2CVg/tU4f96teXsOOulwLxE+P+fQKK9GPQ6v9b+rr7zm8pZnur28sX6k5zbtEiIcO3tgup1cmNaicngBm5jFh9y+/Y06ET12l2X/MCrdrXTZkvqG6mSctXpSuG2g==',
  3693 + 'buyer_id' => '2088702987272699',
  3694 + 'invoice_amount' => '0.01',
  3695 + 'version' => '1.0',
  3696 + 'notify_id' => 'd364a727f9354a855735e25e84a2399lbt',
  3697 + 'fund_bill_list' => '[{"amount":"0.01","fundChannel":"ALIPAYACCOUNT"}]',
  3698 + 'notify_type' => 'trade_status_sync',
  3699 + 'out_trade_no' => '2018080455531001',
  3700 + 'total_amount' => '0.01',
  3701 + 'trade_status' => 'TRADE_SUCCESS',
  3702 + 'trade_no' => '2018080421001004690502950181',
  3703 + 'auth_app_id' => '2018062560425105',
  3704 + 'receipt_amount' => '0.01',
  3705 + 'point_amount' => '0.00',
  3706 + 'app_id' => '2018062560425105',
  3707 + 'buyer_pay_amount' => '0.01',
  3708 + 'sign_type' => 'RSA2',
  3709 + 'seller_id' => '2088131533026493',
  3710 +)