You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.3 KiB

package com.example.share2;
import com.google.gson.Gson;
import java.util.HashMap;
import java.util.Map;
import okhttp3.Headers;
public final class Constants {
private Constants() {
}
public static final int NEWS_NUM = 10;
public static String SERVER_URL = "http://47.107.52.7:88";
public static String USER_LOGIN = "/member/photo/user/login";
public static String USER_REGISTER = "/member/photo/user/register";
public static String USER_GET_LIST = "/member/photo/share";
public static String USER_GIVP_LIKE = "/member/photo/like";
public static String USER_CANCEL_LIKE = "/member/photo/like/cancel";
public static String USER_GET_SINGLE = "/member/photo/share/detail";
public static String USER_COLLECT = "/member/photo/collect";
public static String USER_CEL_COLLECT = "/member/photo/collect/cancel";
public static String USER_COMMENT_FIRST = "/member/photo/comment/first";
public static String USER_MY_SHARE = "/member/photo/share/myself";
public static String USER_SHARE_DELETE = "/member/photo/share/delete";
public static String appSecret = "69818afeb1dcf3c2e43b6b7875b82229ec9a7";
public static String appId = "a0558c9253c44eceb63c44fb6add956a";
//临时的
public static String TEMP_USERKEY = "1531969844688326656";
}