小程序一些功能更新
This commit is contained in:
22
internal/controller/app_config.go
Normal file
22
internal/controller/app_config.go
Normal file
@@ -0,0 +1,22 @@
|
||||
package controller
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
userv1 "tool-api/api/user/v1"
|
||||
"tool-api/internal/logic"
|
||||
)
|
||||
|
||||
// ============================================================================
|
||||
// 应用配置控制器(迭代-2026-09-30):C 端界面级配置下发
|
||||
// ============================================================================
|
||||
|
||||
// cAppConfig 用户端应用配置接口(需用户登录,挂 UserAuth 组)
|
||||
type cAppConfig struct{}
|
||||
|
||||
// AppConfig 用户端应用配置对象
|
||||
var AppConfig = &cAppConfig{}
|
||||
|
||||
func (c *cAppConfig) AppConfig(ctx context.Context, req *userv1.AppConfigReq) (res *userv1.AppConfigRes, err error) {
|
||||
return logic.AppConfig(ctx)
|
||||
}
|
||||
Reference in New Issue
Block a user