define(function () {
    var host = ('process.env.NODE_ENV' === 'development') ? "http://mhdapi.37.com/" : "http://hdapi.37.com/";
    return {
        game_id: 393,
        getPlayGameUrl: function (sid) {
            if (sid) {
                return 'http://game.37.com/play.php?sid=' + sid + '&game_id=' + this.game_id + ("process.env.NODE_ENV" === "development" ? "&entergametype=test&erpwd=AwAxPbKBr6H3" : "");
            } else {
                return 'http://game.37.com/play.php?game_id=' + this.game_id
            }
        },
        gifts_content: {
            "play": "装备强化石x5、五彩石x10、美人进阶丹x5、羽翼进阶丹x5、100声望卡x5",
            "sign": "蓝色宝石1级x4、碎神塔x10、3倍经验卡x2、美人进阶丹x10、装备强化石x20",
            "game_gift": "蓝色宝石1级x4、碎神塔x10、3倍经验卡x2、美人进阶丹x10、装备强化石x20"
        },
        apiUrl: {
            /*图片验证码*/
            captcha: host + '?c=topic_captcha&a=get_code_p3p',
            /*手机预约*/
            appointment: host + '?c=c_get_gift&a=default&alias_info=zjzryyllb20161024&feature_key=gift&f=auto',
            /*抽奖*/
            shoot: host + '?c=c_lottery_normal&a=roll&alias_info=zjzryyllb20161024&feature_key=lottery&f=auto',
            /*获取分享code*/
            generateCode:host+'?c=api&a=generateCode&alias_info=zjzryyllb20161024&f=d201610/zjzryyllb20161024',
            /*预约用户数*/
            appointment_num:host+'?c=api&a=getNum&alias_info=zjzryyllb20161024&f=d201610/zjzryyllb20161024',
            /*我的中奖信息*/
            my_prize:host+'?c=c_gift&a=my_rewards&alias_info=zjzryyllb20161024&f=auto',
            /*所有中奖信息接口*/
            all_rewards:host+'?c=c_gift&a=all_rewards&alias_info=zjzryyllb20161024&f=auto',
            /*获取手机验证码*/
            sms_send:host+'?c=c_info&a=get_phone_code&alias_info=zjzryyllb20161024&f=auto'
        }
    }
});