refactor: use power replace calls for front pages

This commit is contained in:
RockYang
2024-03-12 17:47:06 +08:00
parent e746aafa2f
commit e8f62af7f6
11 changed files with 22 additions and 58 deletions

View File

@@ -126,7 +126,7 @@ func (h *UserHandler) Register(c *gin.Context) {
UserId: user.Id,
Username: user.Username,
InviteCode: inviteCode.Code,
Reward: utils.JsonEncode(types.InviteReward{Power: h.App.SysConfig.InvitePower}),
Remark: fmt.Sprintf("奖励 %d 算力", h.App.SysConfig.InvitePower),
})
}