提交 3f899e2f authored 作者: chengye's avatar chengye

test

上级 def94c80
......@@ -86,8 +86,8 @@ class Payment
}
$baseKey = substr(md5(config('oafk.oa_key') . date('Y-m-d')), 0, 12);
if ($key != $baseKey) {
return '秘钥错误';
}
......
......@@ -420,6 +420,7 @@ class Payment extends Base
return $this->fetch();
}
//下推缴费单
public function payoa(){
$payment_id = Request::param('payment_id');
$payment = EmPayment::get(['payment_id'=>$payment_id]);
......@@ -448,7 +449,6 @@ class Payment extends Base
}
$this->assign('invs',$invs);
$this->assign('payment_id',$payment_id);
$this->assign('payee',$this->getGys($staff->email));
$this->assign('org',$this->getFkInfo(2));
......@@ -577,6 +577,7 @@ class Payment extends Base
//创建付款编号
public function createFkNumb($data){
$url = config('oafk.base_url').config('oafk.fk') . $this->apiKey();
dd($data);
$res = httpPOST($url, ['data'=>json_encode($data)]);
// $start = strpos($res,'{');
// $end = strpos($res,'}');
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论