tp5整合微信支付之JSapi
 腻 
 腻  2018-07-26 10:17:28
0
1
1004

namespace app\Wexinpay\controller;

use think\Controller;

class WeixinPay extends Controller

{

//後台首頁

public function notify()

{

// 偵測PHP環境

if(version_compare(PH_VERS. 5.3.0','<')) die('require PHP > 5.3.0 !');

// $_GET['m']='Admin';

#// 開啟偵錯模式建議開發階段開啟部署階段註解或設為false

define('APP_DEBUG',True);

//指定模組控制器與方法

$_GET['m']='WexinApi';

$_GET['c']='WeixinPay';

$_GET['a']='notify';

// 定義應用程式目錄

define('APP_PATH','./Application/');

define("APP_ROOT",dirname(__FILE__));

// 引入ThinkPHP入口檔案

require './ThinkCore/ThinkCore.php';

//

# }

}


 腻 
 腻 

全部回覆 (1)
ringa_lee

什麼鬼

    最新下載
    更多>
    網站特效
    網站源碼
    網站素材
    前端模板
    關於我們 免責聲明 Sitemap
    PHP中文網:公益線上PHP培訓,幫助PHP學習者快速成長!