提交 50f1dc61 authored 作者: chengye's avatar chengye

调整付款方接口地址

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