feat: 解决合并冲突

This commit is contained in:
zheng020 2026-06-04 00:03:40 +08:00
parent bc3d82e20e
commit f0b650de26
10 changed files with 667 additions and 663 deletions

3
.gitignore vendored
View File

@ -23,7 +23,6 @@ node_modules
package-lock.json
# Added by code-review-graph
.code-review-graph/
<<<<<<< HEAD
.claude
# 本地重复脚本(不提交仓库)
@ -39,8 +38,6 @@ backend/**/*.exe
# 浏览器远程调试临时文件
.tmp-browser/
=======
.claude/
hookify.*.local.md
.mcp.json
>>>>>>> 0284bd6951fafc8a3862644ede979dc44eb6efe8

View File

@ -8,7 +8,6 @@ import (
// Config 网关配置
type Config struct {
<<<<<<< HEAD
Server ServerConfig
Dubbo DubboConfig
JWT JWTConfig
@ -37,7 +36,6 @@ type LaserCompositorConfig struct {
type DifyConfig struct {
APIBase string
APIKey string
=======
Server ServerConfig
Dubbo DubboConfig
JWT JWTConfig
@ -45,7 +43,6 @@ type DifyConfig struct {
Redis RedisConfig
WebSocket WebSocketConfig
Root string
>>>>>>> 0284bd6951fafc8a3862644ede979dc44eb6efe8
}
// RedisConfig Redis 配置
@ -178,19 +175,8 @@ func Load() *Config {
Password: getEnv("REDIS_PASSWORD", ""),
DB: getEnvInt("REDIS_DB", 0),
},
<<<<<<< HEAD
DB: DBConfig{
Host: getEnv("DB_HOST", "localhost"),
Port: getEnvInt("DB_PORT", 5432),
User: getEnv("DB_USER", "postgres"),
Password: getEnv("DB_PASSWORD", ""),
DBName: getEnv("DB_NAME", "top-fans"),
SSLMode: getEnv("DB_SSLMODE", "disable"),
TimeZone: getEnv("DB_TIMEZONE", "Asia/Shanghai"),
=======
WebSocket: WebSocketConfig{
AIChatPath: getEnv("WS_AI_CHAT_PATH", "/ws/ai-chat"),
>>>>>>> 0284bd6951fafc8a3862644ede979dc44eb6efe8
},
}
}

View File

@ -86,16 +86,13 @@ func SetupRouter(userClient *client.Client, socialClient *client.Client, assetCl
return nil, err
}
<<<<<<< HEAD
segmentCtrl := controller.NewSegmentController()
laserGenCtrl := controller.NewLaserGenerateController(config.Load())
=======
aiChatCtrl, err := controller.NewAIChatController(aiChatClient)
if err != nil {
return nil, err
}
>>>>>>> 0284bd6951fafc8a3862644ede979dc44eb6efe8
// API v1 路由组
v1 := r.Group("/api/v1")

View File

@ -318,12 +318,9 @@ services:
DUBBO_ACTIVITY_SERVICE_URL: tri://activityservice:20005
DUBBO_TASK_SERVICE_URL: tri://taskservice:20006
DUBBO_STARBOOK_SERVICE_URL: tri://starbookservice:20007
<<<<<<< HEAD
DIFY_API_BASE: ${DIFY_API_BASE:-http://host.docker.internal:8081/v1}
DIFY_API_KEY: ${DIFY_API_KEY:-}
=======
DUBBO_AI_CHAT_SERVICE_URL: tri://aichatservice:20008
>>>>>>> 0284bd6951fafc8a3862644ede979dc44eb6efe8
depends_on:
userservice:
condition: service_healthy

View File

@ -446,12 +446,9 @@ services:
DUBBO_ACTIVITY_SERVICE_URL: tri://activityservice:20004
DUBBO_TASK_SERVICE_URL: tri://taskservice:20006
DUBBO_STARBOOK_SERVICE_URL: tri://starbookservice:20005
<<<<<<< HEAD
DIFY_API_BASE: ${DIFY_API_BASE:-http://dify-api:8081/v1}
DIFY_API_KEY: ${DIFY_API_KEY:-}
=======
DUBBO_AI_CHAT_SERVICE_URL: tri://aichatservice:20008
>>>>>>> 0284bd6951fafc8a3862644ede979dc44eb6efe8
REDIS_HOST: topfans-redis
REDIS_PORT: 6379
REDIS_PASSWORD: ${REDIS_PASSWORD:-123456}

View File

@ -97,7 +97,6 @@ export default {
this.applyType(val);
},
},
<<<<<<< HEAD
computed: {
currentCardList() {
const categoryName = this.categoryList[this.selectedCategoryIndex].name
@ -240,21 +239,6 @@ export default {
}
}
=======
},
created() {
// type, mall.vue onLoad initialType
// "" watch
this.applyType(this.type);
},
onLoad(options) {
// ,()
this.showMenu = false;
// Tab(square.vue / CastloveContent.vue) type,
// type :star_card | badge | poster
if (options && options.type) {
this.applyType(options.type);
>>>>>>> 0284bd6951fafc8a3862644ede979dc44eb6efe8
}
},
onShow() {

View File

@ -26,7 +26,7 @@
src="/static/dashboard/crystal-bg.png"
mode="aspectFit"
/>
<text class="tab-title">水晶相关</text>
<text class="tab-title">收益总览</text>
</view>
<view
:class="['tab', activeTab === 'season' ? 'tab-active' : '']"

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 410 KiB

After

Width:  |  Height:  |  Size: 1.6 MiB