提交 1d997d44 authored 作者: chengye's avatar chengye

test

上级 d6d29b18
...@@ -573,9 +573,8 @@ class Payment extends Base ...@@ -573,9 +573,8 @@ class Payment extends Base
public function getGys($email) public function getGys($email)
{ {
$url = config('oafk.base_url').config('oafk.gys') . $this->apiKey(); $url = config('oafk.base_url').config('oafk.gys') . $this->apiKey();
$url .= '&email='.$email; $data = ['email'=>$email,'count'=>'all'];
dd($url); $res = httpPOST($url,$data);
$res = curlGet($url);
$res = json_decode($res,true); $res = json_decode($res,true);
foreach ($res['data'] as $k => $v){ foreach ($res['data'] as $k => $v){
if(!empty($v['bank_info'])){ if(!empty($v['bank_info'])){
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论