Sfoglia il codice sorgente

Merge branch 'feature/v1.0.22_ws' of moapp/jypkg into feature/v1.0.22

wangshan 1 anno fa
parent
commit
7065a9d16b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      public/ordercode.go

+ 1 - 1
public/ordercode.go

@@ -26,7 +26,7 @@ func (o *orderCode) gc() {
 	})
 	time.AfterFunc(24*time.Hour, o.gc)
 }
-func init() {
+func OrderCodePoolInit() {
 	VarOrderCode = &orderCode{
 		Pool: make(chan string, 20),
 		All:  &sync.Map{},