大家也可以移步 http://www.jakehu.me/?p=273 下载 方维团购(基于THINKPHP)银联在线支付类,不知道大家用不用得到 将类放入:ThinkPHP\Vendor\payment3 include_once(VENDOR_PATH."payment3/chinapay/netpayclient_config.php"); include_once(VENDOR_PATH."payment3/chinapay/netpayclient.php"); 是银联提供的配置文件。 在\app\source\index.php中加入 if ($_REQUEST['m']=='ChinapayPayment'){ require ROOT_PATH."app/source/func/com_send_sms_func.php"; require ROOT_PATH."app/source/func/com_order_pay_func.php"; ChinapayIndex(); exit; } 在\app\source\func\com_order_pay_func.php中加入 function ChinapayIndex()//银联处理 { require_once(VENDOR_PATH.'payment3/ChinapayPayment.class.php'); $payment_name = "ChinapayPayment"; if(class_exists($payment_name)) { $payment_model = new $payment_name; $res = $payment_model->dealResult($_GET,$_POST,$_REQUEST); if($res['status']) { echo 'ok'; } else { echo 'error'; } }else { echo 'error'; } } 后台安装即可 大家也可以移步 http://www.jakehu.me/?p=273 下载
2023-01-09 17:33:10 3KB 方维团购 银联支付
1
fangwei短信插件_方维团购短信接口开发_团购系统短信发送设置
2022-01-14 14:07:16 15KB 方维
1