OA关联切正式

master
zhanglingsheng 5 years ago
parent a69892850b
commit a0a86fe8af

@ -112,7 +112,7 @@ class PromoteController extends ThinkController
reset($arr);
$sign = md5(http_build_query($arr) . 'wmkjtx_kj213');
$arr['sign'] = $sign;
$re_data = curl_post('http://test.oa.76ba.com/api/wanmeng/platformAccount', $arr);
$re_data = curl_post('http://oa.76ba.com/api/wanmeng/platformAccount', $arr);
$re_data = json_decode($re_data, true);
if ($re_data['code'] == 1) {
$oa = $re_data['data'];
@ -151,7 +151,7 @@ class PromoteController extends ThinkController
reset($arr);
$sign = md5(http_build_query($arr) . 'wmkjtx_kj213');
$arr['sign'] = $sign;
$re_data = curl_post('http://test.oa.76ba.com/api/wanmeng/verifyBind', $arr);
$re_data = curl_post('http://oa.76ba.com/api/wanmeng/verifyBind', $arr);
$re_data = json_decode($re_data, true)['data'];
foreach ($list_data as $k => $v) {
$oa_val = $re_data[trim($v['account'])];

Loading…
Cancel
Save