- remove duplicated cms const storeDeliveryTypeName
- change misc.Init to StartRefreshEbaiRealMobile and make it async to minimize startup time
This commit is contained in:
@@ -8,8 +8,10 @@ import (
|
||||
"git.rosy.net.cn/jx-callback/business/partner/purchase/ebai"
|
||||
)
|
||||
|
||||
func Init() {
|
||||
RefreshEbaiRealMobile()
|
||||
func StartRefreshEbaiRealMobile() {
|
||||
utils.AfterFuncWithRecover(5*time.Second, func() {
|
||||
RefreshEbaiRealMobile()
|
||||
})
|
||||
}
|
||||
|
||||
func RefreshEbaiRealMobile() {
|
||||
|
||||
Reference in New Issue
Block a user