Commit 44290a57 authored by 蔡闯's avatar 蔡闯

支付修改

parent e9c3e5c2
......@@ -11,11 +11,11 @@ class Payreturn extends BaseController
{
//支付宝支付成功后的异步通知地址
public function aliPayReturn() {
file_put_contents('./log.text',"支付测试--1",FILE_APPEND);
require_once "../extend/aliPay/AopClient.php";
//生成日志
$this->createPayLog($_POST,"支付宝");
file_put_contents('./pay.log',json_encode($_POST),1);
file_put_contents('./log.text',"支付测试--2",FILE_APPEND);
$aop = new \AopClient();
$public_key = config('app.pay_alipay_public_key');
$aop->alipayrsaPublicKey = $public_key;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment