wesmiler пре 3 месеци
родитељ
комит
4d4c973f08
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      app/Services/Common/StoreService.php

+ 4 - 0
app/Services/Common/StoreService.php

@@ -229,6 +229,7 @@ class StoreService extends BaseService
             $data['address'] = '';
         }
 
+
         return parent::edit($data);
     }
 
@@ -328,6 +329,9 @@ class StoreService extends BaseService
 
                 DB::commit();
 
+                // 清除绑定显示商家参数,从而重新获取
+                RedisService::keyDel("caches:storeId:id*");
+
                 $this->error = '审核通过,管理账号:' . $username . ',密码:' . $password;
                 return true;
             } catch (\Exception $e) {