MCPcopy Create free account
hub / github.com/aiprodcoder/MIXAPI / UnlockOrder

Function UnlockOrder

controller/topup.go:171–176  ·  view source on GitHub ↗

UnlockOrder 释放给定订单号的锁

(tradeNo string)

Source from the content-addressed store, hash-verified

169
170// UnlockOrder 释放给定订单号的锁
171func UnlockOrder(tradeNo string) {
172 lock, ok := orderLocks.Load(tradeNo)
173 if ok {
174 lock.(*sync.Mutex).Unlock()
175 }
176}
177
178func EpayNotify(c *gin.Context) {
179 params := lo.Reduce(lo.Keys(c.Request.URL.Query()), func(r map[string]string, t string, i int) map[string]string {

Callers 1

EpayNotifyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected