|
|
@@ -7,7 +7,6 @@ import (
|
|
|
"fohow.com/apps/models/balance_model"
|
|
|
"fohow.com/apps/models/sys_config"
|
|
|
"fohow.com/apps/models/user_model"
|
|
|
- "fohow.com/cache"
|
|
|
"github.com/astaxie/beego"
|
|
|
"strconv"
|
|
|
"time"
|
|
|
@@ -49,10 +48,7 @@ func (self *RailsadminController) UpdateShopApplication() {
|
|
|
//helpers.ShopOrderPromotion(shopApplication.Id, wxUser.Id, wxUser.Depart)
|
|
|
helpers.CreateShopApplyOrder(shopApplication.Id)
|
|
|
//消除user,wxuser缓存
|
|
|
- userKey := fmt.Sprintf("user.GetByUid[%d]", wxUser.UserId)
|
|
|
- wxUserKey := cache.GetKey(cache.GetWxUserById, wxUser.Id)
|
|
|
- cache.Cache.Delete(userKey)
|
|
|
- cache.Cache.Delete(wxUserKey)
|
|
|
+ go wxUser.CleanCache()
|
|
|
self.ServeJSON()
|
|
|
}
|
|
|
|