package com.sine_x.material_wecenter;

public class Config {

    // 应用配置

    // 网站目录
    private static String HOST_NAME = "http://wecenter.dev.hihwei.com/";
    // 每页问题数量
    public static int ITEM_PER_PAGE = 20;
    // 设置网络超时时间
    static int TIME_OUT = 1000;
    // 缓冲大小
    static int MAX_LINE_BUFFER = 1024;
    // API密钥
    static String APP_SECRET = "12884789df747d7affbcd6a7cadd9359";
    // API密钥开关
    static boolean KEEP_SECRET = true;

    // 警告！ 修改下面内容可能会导致应用无法使用

    public static String API_ROOT = HOST_NAME + "?/api/";

    // API请求URL
    static String APICAT_ACCOUNT = "account";
    static String API_LOGIN_PROCESS = "login_process";
    static String API_GET_USERINFO = "get_userinfo";

    static String APICAT_PEOPLE = "people";
    static String API_USER_ACTIONS = "user_actions";

    static String API_HOME = "home";
    static String APICAT_QUESTION = "question";
    public static String API_ANSWER = "answer";
    public static String API_ANSWER_COMMENTS = "answer_comments";

    public static String GET_USER_ACTIONS = HOST_NAME + "?/api/people/user_actions/";
    public static String FOLLOW_PEOPLE = HOST_NAME + "?/follow/ajax/follow_people/";
    public static String PUSHLISH_QUESTION = HOST_NAME + "?/api/publish/publish_question/";
    public static String PUSHLISH_ANSWER = HOST_NAME + "api/publish/save_answer/";
    public static String PUSHLISH_ANSWER_COMMENT=HOST_NAME+"api/question/save_answer_comment/";
    public static String API_EXPLORE = "explore";

    public static String QUESTION_FOCUS=HOST_NAME+"question/ajax/focus/";
    public static String QUESTION_THANKS=HOST_NAME+"question/ajax/question_thanks/";

    public static String ANSWER_COMMENT=HOST_NAME+"api/question/answer_comments/?answer_id=";
    public static String ANSWER_RATE=HOST_NAME+"question/ajax/question_answer_rate/";
    public static String ANSWER_VOTE=HOST_NAME+"question/ajax/answer_vote/";
    public static String AVATAR_DIR = HOST_NAME + "uploads/avatar/";

    //操作枚举
    public enum ActionType{
        QUESTION_FOCUS,
        QUESTION_THANKS,
        PUSHLISH_ANSWER_COMMENT,
        ANSWER_RATE,
        ANSWER_VOTE
    }
}

package com.sine_x.material_wecenter;

public class Config {

    // 应用配置

    // 网站目录
    private static String HOST_NAME = "http://moetm.com/cn/";
    // 每页问题数量
    public static int ITEM_PER_PAGE = 20;
    // 设置网络超时时间
    static int TIME_OUT = 1000;
    // 缓冲大小
    static int MAX_LINE_BUFFER = 1024;
    // API密钥
    static String APP_SECRET = "12884789df747d7affbcd6a7cadd9359";
    // API密钥开关
    static boolean KEEP_SECRET = true;

    // 警告！ 修改下面内容可能会导致应用无法使用

    public static String API_ROOT = HOST_NAME + "?/api/";

    // API请求URL
    static String APICAT_ACCOUNT = "account";
    static String API_LOGIN_PROCESS = "login_process";
    static String API_GET_USERINFO = "get_userinfo";

    static String APICAT_PEOPLE = "people";
    static String API_USER_ACTIONS = "user_actions";

    static String API_HOME = "home";
    static String APICAT_QUESTION = "question";
    public static String API_ANSWER = "answer";
    public static String API_ANSWER_COMMENTS = "answer_comments";

    public static String GET_USER_ACTIONS = HOST_NAME + "?/api/people/user_actions/";
    public static String FOLLOW_PEOPLE = HOST_NAME + "?/follow/ajax/follow_people/";
    public static String PUSHLISH_QUESTION = HOST_NAME + "?/api/publish/publish_question/";
    public static String PUSHLISH_ANSWER = HOST_NAME + "api/publish/save_answer/";
    public static String PUSHLISH_ANSWER_COMMENT=HOST_NAME+"api/question/save_answer_comment/";
    public static String API_EXPLORE = "explore";

    public static String QUESTION_FOCUS=HOST_NAME+"question/ajax/focus/";
    public static String QUESTION_THANKS=HOST_NAME+"question/ajax/question_thanks/";

    public static String ANSWER_COMMENT=HOST_NAME+"api/question/answer_comments/?answer_id=";
    public static String ANSWER_RATE=HOST_NAME+"question/ajax/question_answer_rate/";
    public static String ANSWER_VOTE=HOST_NAME+"question/ajax/answer_vote/";
    public static String AVATAR_DIR = HOST_NAME + "uploads/avatar/";

    //操作枚举
    public enum ActionType{
        QUESTION_FOCUS,
        QUESTION_THANKS,
        PUSHLISH_ANSWER_COMMENT,
        ANSWER_RATE,
        ANSWER_VOTE
    }
}

修改了Host Name