<?php

namespace loyalsoft;

/**
 * Description of config
 * @version
 *          1.0.0 Created at 2018-1-4. by --gwang
 * @author gwang (mail@wanggangzero.cn)
 * @copyright ? 2018-1-4, SJZ LoyalSoft Corporation & gwang. All rights reserved.
 */
class config_official extends Object_ext {

    /**
     * @var string 在龙游官网后台注册的应用ID
     */
    public $appid;

    /**
     * @var string 与官网后台约定的秘钥
     */
    public $appkey;

    /**
     * @var string 官方包API地址
     */
    public $server_url;

    /**
     * configs for officail
     * @return config_for_1sdk Description
     */
    static function Inst() {
        $url = 'http://192.168.10.86/LoyalWeb/V2/sdk/WebServer/Amfphp/';
//        $url = 'http://www.game7000.com/sdk/WebServer/Amfphp/';
        return new config_for_1sdk(array(
            'appid' => 'ylsj', //                                               # 在官网服务器上注册的id(言灵世界)
            'appkey' => 'TY8KW4F5POJCNXGFZ71SBRA3BMPWTFOY', //                  # 与官网服务器共享的签名秘钥()
            'server_url' => $url, // # 登录验证接口: 地址
        ));
    }

}
