bugfix: 从token 获取操作人信息
This commit is contained in:
parent
2782a63ef3
commit
c7ac29e800
@ -61,6 +61,9 @@ func UpdatePendingCount(c *gin.Context) {
|
|||||||
service.Error(c, err)
|
service.Error(c, err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
userInfo := login.GetUserInfoFromC(c)
|
||||||
|
req.OperatorNum = userInfo.TelNum
|
||||||
|
req.Operator = userInfo.Name
|
||||||
|
|
||||||
res, err := service.BundleProvider.UpdatePendingCount(context.Background(), &req)
|
res, err := service.BundleProvider.UpdatePendingCount(context.Background(), &req)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user