- 精华
- 阅读权限
- 90
- 好友
- 相册
- 分享
- 听众
- 收听
- 注册时间
- 2013-6-28
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
云端假设应该是成功的,按照教程全改过之后,在注册账号的时候显示连接服务器超时,不知有哪位大大可解决?
1.鼠标移到连接名字上,右键新建数据库。填写数据库名字。
①:建立mhzx_4095数据库,双击打开,然后鼠标移到mhzx_4095名字上,右键----运行sql文件。在文件那栏右边有三个小点,点击,选择打开mhzx_4095.sql, 点开始。等运行完就算导入成功了。
②:以此类推,建立mxzx_account数据库,双击打开,然后导入mhzx_account.sql到mhzx_account数据库
2.将本地注册里的mhzx文件夹放入服务端网站目录下,
我mhzx文件夹放的是网站根目录,我设置的原始根目录是www/wwwroot 所以我把mhzx文件夹放到www/wwwroot里,小白不会的就按,宝塔网站设置图那样设置,我把网站端口设置为81 最好和我一样设置。
修改php文件里的ip 和账号密码,为你的自己设置的..........
默认账号密码是root和123456
3. 路径com.efun.twzx\assets\config\all_platform_config.xml 改里面所有IP 为你的IP
4.客户端修改,路径是 \com.efun.twzx\res\values\strings.xml
<string name="efun_pd_url_login_base">http://你的IP:81/mhzx/</string>
<string name="efun_pd_url_login_base_spa">http://你的IP:81/mhzx/</string>
<string name="efun_pd_url_pay_base">http://你的IP:81/zxpay/</string>
<string name="efun_pd_url_pay_base_spa">http://你的IP:81/zxpay/</string>
81是我的网站端口
下面的已经修改了,如果不放心,自行检查
客户端修改,路径是 \smali\com\efun\platform\login\comm\constant\DomainSuffix.smali
找到field public static final URL_CHANGE_PWD:Ljava/lang/String; = "standard_changePwd.shtml"
改为field public static final URL_CHANGE_PWD:Ljava/lang/String; = "pass.php"
找到field public static final URL_LOGIN_CHECK:Ljava/lang/String; = "standard_login.shtml"
改为field public static final URL_LOGIN_CHECK:Ljava/lang/String; = "login.php"
找到field public static final URL_LOGIN_REGISTER:Ljava/lang/String; = "standard_register.shtml"
改为field public static final URL_LOGIN_REGISTER:Ljava/lang/String; = "reg.php"
客户端修改,路径是 \smali\com\efun\platform\login\comm\dao\impl\EfunChagePwdImpl.smali
找到const-string v1, "standard_changePwd.shtml"
改为const-string v1, "pass.php"
|
|