From cece79bf75a9b672b33b772acffca209eecfc8f2 Mon Sep 17 00:00:00 2001
From: zuoxiao <lf_zuo@163.com>
Date: 星期四, 26 六月 2025 08:27:25 +0800
Subject: [PATCH] refactor(generallibrary):优化补卡界面布局和样式- 调整了卡片信息展示区域的样式,包括背景色、文字颜色等 - 优化了输入区域的布局结构,减小了控件间距和尺寸- 更新了确认补卡按钮的样式 - 统一了文字大小和颜色,提高了可读性

---
 generallibrary/src/main/java/com/dayu/general/net/MyIntercepterApplication.kt |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/generallibrary/src/main/java/com/dayu/general/net/MyIntercepterApplication.kt b/generallibrary/src/main/java/com/dayu/general/net/MyIntercepterApplication.kt
index 6a3d2dd..1c506e3 100644
--- a/generallibrary/src/main/java/com/dayu/general/net/MyIntercepterApplication.kt
+++ b/generallibrary/src/main/java/com/dayu/general/net/MyIntercepterApplication.kt
@@ -1,5 +1,6 @@
 package com.dayu.general.net
 
+import com.dayu.general.BaseApplication
 import com.tencent.bugly.crashreport.CrashReport
 import okhttp3.Interceptor
 import okhttp3.Protocol
@@ -44,9 +45,12 @@
             val params: Map<*, *> = HashMap<Any?, Any?>()
             if (request.method == "GET") {
                 builder.url(request.url.toString())
+
             } else {
 
             }
+            builder.addHeader("tag", BaseApplication.tag)
+            builder.addHeader("token", BaseApplication.token)
             return builder.build()
         } catch (e: Exception) {
             e.printStackTrace()

--
Gitblit v1.8.0