微信管家配置指南

微信管家比較奇怪,用了兩種框架,thinkphp跟yyuc框架,其中yyuc框架更是放在網站根目錄的上級的上級php

wxhtml

     public_html(這個是根目錄,請求這個裏面的index.php會調用上上級目錄的yyuc目錄的yyuc)
thinkphp

yyuc數據庫



用APMSERVER必須手動調整虛擬主機規則,由於不少都重寫到了index.php,默認添加虛擬主機是不讓重寫的
api

<VirtualHost *:80>
 ServerName test.daweixin.com
 DocumentRoot "D:/APMServ5.2.6/www/htdocs/daosen_wx/wx/public_html"
<Directory "D:/APMServ5.2.6/www/htdocs/daosen_wx/wx/public_html">
Options Indexes FollowSymLinks
DirectoryIndex index.html index.htm default.htm index.php default.php index.cgi default.cgi index.shtml index.aspx default.aspx  
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>微信


須要修改wx/conf.php的數據庫配置
app

後臺地址爲框架

http://test.daweixin.com/0duadminide


前臺用戶系統的控制器爲wx\controller\admin網站


接口地址:http://test.daweixin.com/mpapi.html?appid=119    TOKEN:xasasdfsadf

相關文章
相關標籤/搜索