MCPcopy Index your code
hub / github.com/53AI/53AIHub / removeCachedOrder

Function removeCachedOrder

api/controller/pay.go:213–215  ·  view source on GitHub ↗

Remove cached order data

(orderId string)

Source from the content-addressed store, hash-verified

211
212// Remove cached order data
213func removeCachedOrder(orderId string) {
214 common.RedisDel(orderId)
215}
216
217// createOrUpdateOrderFromCache creates a new order from cache or updates an existing one
218func createOrUpdateOrderFromCache(eid int64, orderId string, status int, transactionId string) (*model.Order, error) {

Callers 4

WechatPayNotifyFunction · 0.85
QueryOrderStatusFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected