package com.lincanbin.carbonforum.config;
public class APIAddress
{
	public static final String WEBSITE_PATH = ""; //网站路径，不以"/"结尾，默认留空

	//Debug
	public static final String DOMAIN_NAME = "http://192.168.191.1" + WEBSITE_PATH; // PC版域名
	public static final String MOBILE_DOMAIN_NAME = "http://192.168.191.1" + WEBSITE_PATH; // 移动版域名
	public static final String BASIC_API_URL = "http://192.168.191.1" + WEBSITE_PATH; // API地址前缀

/*
	//Real
	public static final String DOMAIN_NAME = "https://www.94cb.com" + WEBSITE_PATH; // PC版域名
	public static final String MOBILE_DOMAIN_NAME = "https://m.94cb.com" + WEBSITE_PATH; // 移动版域名
	public static final String BASIC_API_URL = "https://api.94cb.com" + WEBSITE_PATH; // API地址前缀
 */
	//中等头像地址
	public static String MIDDLE_AVATAR_URL(String userID, String avatarSize){
		return DOMAIN_NAME + "/upload/avatar/"+ avatarSize +"/" + userID +".png";
	}

	//首页帖子列表API地址
	public static String HOME_URL(int targetPage){
		return BASIC_API_URL + "/page/"+ targetPage;
	}

	public static String TOPIC_URL(int topicID, int targetPage){
		return BASIC_API_URL + "/t/" + topicID + "-" + targetPage;
	}

	//验证码
	public static final String VERIFICATION_CODE = BASIC_API_URL + "/seccode.php";

	//登陆
	public static final String LOGIN_URL = BASIC_API_URL + "/login";

	//获取消息提醒
	public static final String NOTIFICATIONS_URL = BASIC_API_URL + "/notifications";

	//推送接口，维护一个长连接
	public static final String PUSH_SERVICE_URL = BASIC_API_URL + "/json/get_notifications";

	//回复接口
	public static final String REPLY_URL = BASIC_API_URL + "/reply";
}

@@ -1481,16 +1481,90 @@
 ions%22;%0A%0A
+%09//%E5%88%9B%E5%BB%BA%E6%96%B0%E4%B8%BB%E9%A2%98%E6%8E%A5%E5%8F%A3%0A%09public static final String NEW_URL = BASIC_API_URL + %22/new%22;%0A%0A
 %09//%E5%9B%9E%E5%A4%8D%E6%8E%A5%E5%8F%A3%0A

Add new API.