From a900e5ed66a810360a9f993ff58473dc3d4fa148 Mon Sep 17 00:00:00 2001 From: zhanglingsheng Date: Wed, 27 Nov 2019 14:43:25 +0800 Subject: [PATCH] =?UTF-8?q?OA=E5=85=B3=E8=81=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Controller/PromoteController.class.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Application/Admin/Controller/PromoteController.class.php b/Application/Admin/Controller/PromoteController.class.php index f7424d0c0..71aa91667 100644 --- a/Application/Admin/Controller/PromoteController.class.php +++ b/Application/Admin/Controller/PromoteController.class.php @@ -89,8 +89,9 @@ unset($_REQUEST['parent_id']); reset($arr); $sign = md5(http_build_query($arr) . 'wmkjtx_kj213'); $arr['sign'] = $sign; - $re_data = curl_post('http://oa.76ba.com/api/wanmeng/platformAccount',$arr); + $re_data = curl_post('http://test.oa.76ba.com/api/wanmeng/platformAccount',$arr); $re_data = json_decode($re_data,true); + var_dump($re_data);exit; if($re_data['code'] == 1) { $oa = $re_data['data']; $oa_data = array_merge($oa_data,$oa); @@ -129,7 +130,7 @@ unset($_REQUEST['parent_id']); reset($arr); $sign = md5(http_build_query($arr) . 'wmkjtx_kj213'); $arr['sign'] = $sign; - $re_data = curl_post('http://oa.76ba.com/api/wanmeng/verifyBind',$arr); + $re_data = curl_post('http://test.oa.76ba.com/api/wanmeng/verifyBind',$arr); $re_data = json_decode($re_data,true)['data']; foreach($list_data as $k => $v) {