فهرست منبع

feat: 增加PageReq

DoggyZhang 4 ماه پیش
والد
کامیت
bc89140bf0
3فایلهای تغییر یافته به همراه10 افزوده شده و 2 حذف شده
  1. 1 1
      frame/bom/build.gradle
  2. 1 1
      frame/network/build.gradle
  3. 8 0
      frame/network/src/main/java/com/adealink/frame/network/data/Req.kt

+ 1 - 1
frame/bom/build.gradle

@@ -6,7 +6,7 @@ plugins {
 ext {
     GROUP_ID = 'com.wenext.android'
     ARTIFACT_ID = 'frame-bom'
-    VERSION = '6.1.1'
+    VERSION = '6.1.3'
 }
 
 dependencies {

+ 1 - 1
frame/network/build.gradle

@@ -7,7 +7,7 @@ plugins {
 ext {
     GROUP_ID = 'com.wenext.android'
     ARTIFACT_ID = 'frame-network'
-    VERSION = '6.1.0'
+    VERSION = '6.1.2'
 }
 
 if (project.FRAME_DEBUG != "true") {

+ 8 - 0
frame/network/src/main/java/com/adealink/frame/network/data/Req.kt

@@ -0,0 +1,8 @@
+package com.adealink.frame.network.data
+
+import com.google.gson.annotations.SerializedName
+
+data class PageReq(
+    @SerializedName("size") val size: Int, //页面大小
+    @SerializedName("next") val next: String?, //页码
+)