Ver código fonte

添加用户标签界面

zengjiebin 8 anos atrás
pai
commit
1fd80d7fcc

+ 5 - 0
app/src/main/java/com/sheep/gamegroup/model/api/ApiService.java

@@ -494,4 +494,9 @@ public interface ApiService {
      */
     @GET("app/user/label")
     Observable<BaseMessage> getLabelList();
+    /**
+     * 关于我们
+     */
+    @GET("app/about_us/new_about_us")
+    Observable<BaseMessage> getNewAboutUs();
 }

+ 6 - 0
app/src/main/java/com/sheep/gamegroup/util/TestUtil.java

@@ -43,7 +43,13 @@ import static com.sheep.jiuyan.samllsheep.utils.ClassFileHelper.DIR;
  * realicing@sina.com
  */
 public class TestUtil {
+    private static TestUtil textUtils;
 
+    public static TestUtil getInstance(){
+        if(textUtils == null)
+            textUtils = new TestUtil();
+        return textUtils;
+    }
     public static void setDebugDownLoad(final Context context, View view, final TaskEty taskEty) {
         view.setOnLongClickListener(new View.OnLongClickListener() {
             @Override