test
This commit is contained in:
parent
ab9e7da5db
commit
ea5a93a94d
|
@ -95,7 +95,7 @@ func (s *Salary) SyncStaffSalary(ctx *gin.Context) {
|
||||||
|
|
||||||
func (s *Salary) Bill(ctx *gin.Context) {
|
func (s *Salary) Bill(ctx *gin.Context) {
|
||||||
id := ctx.Query("id")
|
id := ctx.Query("id")
|
||||||
test := ctx.Query("test")
|
test := cast.ToBool(ctx.Query("test"))
|
||||||
realId := goutil.DecryptID(id, "@@salary@@")
|
realId := goutil.DecryptID(id, "@@salary@@")
|
||||||
service.NewStaffSalary().Bill(realId, test, ctx)
|
service.NewStaffSalary().Bill(realId, test, ctx)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue