使用PHP与第三方平台对接,copy源文件到Apache中。
PHP源文件目录:code\EVA\tools\server\www\
Apache根目录: xampp\htdocs\
配置: code\EVA\tools\server\www\login\config.php
// This file contains all variables needed by other php scripts
$LogRelativePath = 'logs/';
$LoginModuleIP = "localhost";
$LoginModulePort = 30001;
// ----------------------------------------------------------------------------------------
// Variables for nel database access
// ----------------------------------------------------------------------------------------
// where we can find the mysql database
$DBHost = "localhost";
$DBUserName = "shard";
$DBPassword = "";
$DBName = "d_mt_account";
login.php验证通过后,会制造一个token给客户端与服务器组,然后客户端使用token通过Frontend Service登录。