新增技术文档,详细描述了项目的技术栈、配置、鉴权与安全、数据层等内容。同时,更新小程序页面以支持收益数据的加载与刷新功能,优化用户体验。新增收益接口以返回用户的累计收益和可提现金额,并调整相关逻辑以确保数据准确性。

This commit is contained in:
2026-02-11 12:05:54 +08:00
parent a174d8e16d
commit 2c9364fd2f
11 changed files with 276 additions and 55 deletions

View File

@@ -419,8 +419,8 @@ func SendWithdrawSubscribeMessage(ctx context.Context, openID string, amount flo
"thing8": object.HashMap{"value": thing8},
}
state := "formal"
if cfg != nil && cfg.Mode == "debug" {
state = "developer"
if cfg != nil && cfg.WechatMiniProgramState != "" {
state = cfg.WechatMiniProgramState
}
_, err := miniProgramApp.SubscribeMessage.Send(ctx, &subrequest.RequestSubscribeMessageSend{
ToUser: openID,