feat:2、刷新绑定信息,操作加一个刷新绑定状态的按钮,3、绑定错误有提示,手动上报异常,拿到包ID做链接跳转(定位)

This commit is contained in:
2026-10-29 18:15:40 +08:00
parent 8494fabc82
commit b27e128c5b
25 changed files with 1417 additions and 68 deletions
+2
View File
@@ -117,9 +117,11 @@ func (s *RockService) AssignTokenForOrder(ctx context.Context, orderNo, expected
return err
}
now := time.Now()
token.Status = model.RockStatusUsing
token.AssignedOrderNo = orderNo
token.ExpectedUID = strings.TrimSpace(expectedUID)
token.UsingAt = &now
return tx.Save(&token).Error
})
if err != nil {