From ea5a93a94d2c276c9586c8ead2297abeaecfea2e Mon Sep 17 00:00:00 2001 From: jiangyong27 <yong27@163.com> Date: Tue, 8 Apr 2025 12:21:42 +0800 Subject: [PATCH] test --- server/controller/salary.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/controller/salary.go b/server/controller/salary.go index 7b9bf85..be1c2fa 100644 --- a/server/controller/salary.go +++ b/server/controller/salary.go @@ -95,7 +95,7 @@ func (s *Salary) SyncStaffSalary(ctx *gin.Context) { func (s *Salary) Bill(ctx *gin.Context) { id := ctx.Query("id") - test := ctx.Query("test") + test := cast.ToBool(ctx.Query("test")) realId := goutil.DecryptID(id, "@@salary@@") service.NewStaffSalary().Bill(realId, test, ctx) }