From 7d83c52faf48a5498441137827cea4dc7b291a8b Mon Sep 17 00:00:00 2001 From: molskqv38 <748067453@qq.com> Date: Sat, 25 Jun 2022 19:25:53 +0800 Subject: [PATCH] ADD file via upload --- Constants.java | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Constants.java diff --git a/Constants.java b/Constants.java new file mode 100644 index 0000000..84582b1 --- /dev/null +++ b/Constants.java @@ -0,0 +1,37 @@ +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"; + + + +} +