chore: opt template code
This commit is contained in:
@@ -22,7 +22,7 @@ type CronMessages struct {
|
||||
|
||||
func GenerateMsgUniqueID() string {
|
||||
newUUID := util.GenerateUniqueID()
|
||||
return fmt.Sprintf("C-%s", newUUID)
|
||||
return fmt.Sprintf("CM%s", newUUID)
|
||||
}
|
||||
|
||||
func AddSendCronMsg(
|
||||
|
||||
@@ -15,7 +15,7 @@ type SendTasks struct {
|
||||
|
||||
func GenerateTaskUniqueID() string {
|
||||
newUUID := util.GenerateUniqueID()
|
||||
return fmt.Sprintf("T-%s", newUUID)
|
||||
return fmt.Sprintf("TK%s", newUUID)
|
||||
}
|
||||
|
||||
// AddSendTaskWithID 添加实例的时候添加任务
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ type SendWays struct {
|
||||
|
||||
func GenerateWayUniqueID() string {
|
||||
newUUID := util.GenerateUniqueID()
|
||||
return fmt.Sprintf("W-%s", newUUID)
|
||||
return fmt.Sprintf("WY%s", newUUID)
|
||||
}
|
||||
|
||||
func AddSendWay(name string, auth string, wayType string, createdBy string, modifiedBy string) error {
|
||||
|
||||
Reference in New Issue
Block a user