| | |
| | | </el-table-column> |
| | | <el-table-column label="å¹³å°" min-width="100px"> |
| | | <template slot-scope="{row}"> |
| | | <span v-if="row.plat == 0">海康å®é²å¹³å°</span> |
| | | <span v-if="row.plat == 1">ERPç³»ç»</span> |
| | | <span v-if="row.plat == 0">å¿é¦CRMå¹³å°</span> |
| | | <span v-if="row.plat == 1">å¿é¦çä¿¡éé</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="request" label="请æ±åæ°" min-width="100px"> |
| | |
| | | </el-table-column> |
| | | <el-table-column label="å¹³å°" min-width="100px"> |
| | | <template slot-scope="{row}"> |
| | | <span v-if="row.plat == 0">海康å®é²å¹³å°</span> |
| | | <span v-if="row.plat == 1">ERPç³»ç»</span> |
| | | <span v-if="row.plat == 0">å¿é¦IAMå¹³å°</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="request" label="请æ±åæ°" min-width="100px"> |
| | |
| | | </el-table-column> |
| | | <el-table-column label="å¹³å°" min-width="100px"> |
| | | <template slot-scope="{row}"> |
| | | <span v-if="row.plat == 0">海康å®é²å¹³å°</span> |
| | | <span v-if="row.plat == 1">ERPç³»ç»</span> |
| | | <span v-if="row.plat == 0">å¿é¦ä¸å°</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="request" label="请æ±åæ°" min-width="100px"> |
| | |
| | | <TableLayout :permissions="['business:shop:query']"> |
| | | <!-- æç´¢è¡¨å --> |
| | | <el-form ref="searchForm" slot="search-form" :model="searchForm" label-width="100px" inline> |
| | | <el-form-item label="é¨é¨åç§°" prop="name"> |
| | | <el-form-item label="" prop="name"> |
| | | <el-input v-model="searchForm.name" placeholder="请è¾å
¥é¨é¨åç§°" @keypress.enter.native="search"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="ä¸çº§ç»ç»" prop="parentId"> |
| | | <el-form-item label="" prop="parentId"> |
| | | <el-input v-model="searchForm.parentName" placeholder="请è¾å
¥ä¸çº§ç»ç»åç§°/ç¼ç " @keypress.enter.native="search"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="ç¶æ" prop="status"> |
| | | <el-select v-model="searchForm.status" @change="search" clearable placeholder="ç¶æ"> |
| | | <el-option label="åç¨" value="1"></el-option> |
| | | <el-form-item label="" prop="status"> |
| | | <el-select v-model="searchForm.status" style="width: 130px" @change="search" clearable placeholder="ç¶æ"> |
| | | <el-option label="åç¨" value="0"></el-option> |
| | | <el-option label="æ£å¸¸" value="1"></el-option> |
| | | <el-option label="å·²å é¤" value="2"></el-option> |
| | | <el-option label="å·²å é¤" value="-1"></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="ç»ç»ç¼ç " prop="code"> |
| | | <el-form-item label="" prop="code"> |
| | | <el-input v-model="searchForm.code" placeholder="请è¾å
¥ç»ç»ç¼ç " @keypress.enter.native="search"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="ä¸çº§ç»ç»ç±»å" prop="type"> |
| | | <el-select v-model="searchForm.type" @change="search" clearable placeholder="ä¸çº§ç»ç»ç±»å"> |
| | | <el-form-item label="" prop="type"> |
| | | <el-select v-model="searchForm.type" @change="search" style="width: 130px" clearable placeholder="ä¸çº§ç»ç»ç±»å"> |
| | | <el-option label="HR" value="1"></el-option> |
| | | <el-option label="å çå" value="2"></el-option> |
| | | <el-option label="èæç»ç»" value="3"></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="äºçº§ç»ç»ç±»å" prop="type"> |
| | | <el-select v-model="searchForm.secondType" @change="search" clearable placeholder="äºçº§ç»ç»ç±»å"> |
| | | <el-form-item label="" prop="type"> |
| | | <el-select v-model="searchForm.secondType" @change="search" style="width: 130px" clearable placeholder="äºçº§ç»ç»ç±»å"> |
| | | <el-option label="S" value="1"></el-option> |
| | | <el-option label="F" value="2"></el-option> |
| | | <el-option label="åºé¢" value="3"></el-option> |
| | |
| | | <el-option label="èæåºé¢" value="5"></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="é¨é¨å±æ§" prop="attribute"> |
| | | <el-select v-model="searchForm.attribute" @change="search" clearable placeholder="é¨é¨å±æ§"> |
| | | <el-form-item label="" prop="attribute"> |
| | | <el-select v-model="searchForm.attribute" @change="search" style="width: 130px" clearable placeholder="é¨é¨å±æ§"> |
| | | <el-option label="å®ä½åºé¢" value="1"></el-option> |
| | | <el-option label="èæåºé¢" value="2"></el-option> |
| | | <el-option label="çµåé¨" value="3"></el-option> |
| | |
| | | <el-option label="è´¢å¡é¨" value="5"></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="ç份åç§°" prop="provinceName"> |
| | | <el-form-item label="" prop="provinceName"> |
| | | <el-input v-model="searchForm.provinceName" placeholder="请è¾å
¥ç份åç§°" @keypress.enter.native="search"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="åå¸åç§°" prop="cityName"> |
| | | <el-form-item label="" prop="cityName"> |
| | | <el-input v-model="searchForm.cityName" placeholder="请è¾å
¥åå¸åç§°" @keypress.enter.native="search"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="åºå¿åç§°" prop="areaName"> |
| | | <el-form-item label="" prop="areaName"> |
| | | <el-input v-model="searchForm.areaName" placeholder="请è¾å
¥åºå¿åç§°" @keypress.enter.native="search"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="åç±»ç¼ç " prop="unitCode"> |
| | | <el-form-item label="" prop="unitCode"> |
| | | <el-input v-model="searchForm.unitCode" placeholder="请è¾å
¥åç±»ç¼ç " @keypress.enter.native="search"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="客æ·ç±»åç¼ç " prop="siteCode"> |
| | | <el-form-item label="" prop="siteCode"> |
| | | <el-input v-model="searchForm.siteCode" placeholder="请è¾å
¥å®¢æ·ç±»åç¼ç " @keypress.enter.native="search"></el-input> |
| | | </el-form-item> |
| | | <section> |
| | |
| | | > |
| | | <el-table-column type="selection" width="55"></el-table-column> |
| | | <el-table-column prop="name" label="ç»ç»åç§°" min-width="120px"></el-table-column> |
| | | <el-table-column prop="code" label="ç»ç»ç¼ç " min-width="120px"></el-table-column> |
| | | <el-table-column prop="type" label="ä¸çº§ç±»å" min-width="80px"> |
| | | <template scope="{row}"> |
| | | <span v-if="row.type == 1">HR</span> |
| | |
| | | <template scope="{row}"> |
| | | <span v-if="row.status == 0" style="color: red">åç¨</span> |
| | | <span v-if="row.status == 1" style="color: green">æ£å¸¸</span> |
| | | <span v-if="row.status == 2" style="color: grey">å·²å é¤</span> |
| | | <span v-if="row.status == -1" style="color: grey">å·²å é¤</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="namePath" label="ç»ç»è·¯å¾" min-width="200px"></el-table-column> |
| | |
| | | @selection-change="handleSelectionChange" |
| | | > |
| | | <el-table-column type="selection" width="55"></el-table-column> |
| | | <el-table-column prop="name" label="ç»ç»åç§°" min-width="300px"></el-table-column> |
| | | <el-table-column prop="name" label="ç»ç»åç§°" fixed min-width="300px"></el-table-column> |
| | | <el-table-column prop="code" label="ç»ç»ç¼ç " min-width="120px"></el-table-column> |
| | | <el-table-column prop="type" label="ä¸çº§ç±»å" min-width="100px"> |
| | | <template scope="{row}"> |
| | | <span v-if="row.type == 1">HR</span> |
| | |
| | | <template scope="{row}"> |
| | | <span v-if="row.status == 0" style="color: red">åç¨</span> |
| | | <span v-if="row.status == 1" style="color: green">æ£å¸¸</span> |
| | | <span v-if="row.status == 2" style="color: grey">å·²å é¤</span> |
| | | <span v-if="row.status == -1" style="color: grey">å·²å é¤</span> |
| | | </template> |
| | | </el-table-column> |
| | | <!-- |
| | | |
| | | <el-table-column prop="namePath" label="ç»ç»è·¯å¾" min-width="200px"></el-table-column> |
| | | --> |
| | | |
| | | <!-- |
| | | <el-table-column prop="syncDate" label="æå忥æ¶é´" min-width="120px"></el-table-column> |
| | | --> |
| | |
| | | <el-input v-model="searchForm.iamUsername" placeholder="请è¾å
¥ç»å½è´¦å·" @keypress.enter.native="search"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="" prop="shopType"> |
| | | <el-select v-model="searchForm.shopType" @change="search" clearable placeholder="ä¸çº§ç»ç»ç±»å"> |
| | | <el-select v-model="searchForm.shopType" @change="search" style="width: 130px" clearable placeholder="ä¸çº§ç»ç»ç±»å"> |
| | | <el-option label="HR" value="1"></el-option> |
| | | <el-option label="å çå" value="2"></el-option> |
| | | <el-option label="èæç»ç»" value="3"></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="" prop="shopSecType"> |
| | | <el-select v-model="searchForm.shopSecType" @change="search" clearable placeholder="äºçº§ç»ç»ç±»å"> |
| | | <el-select v-model="searchForm.shopSecType" @change="search" style="width: 130px" clearable placeholder="äºçº§ç»ç»ç±»å"> |
| | | <el-option label="S" value="1"></el-option> |
| | | <el-option label="F" value="2"></el-option> |
| | | <el-option label="åºé¢" value="3"></el-option> |
| | |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="" prop="status"> |
| | | <el-select v-model="searchForm.status" @keypress.enter.native="search" clearable placeholder="ç¶æ"> |
| | | <el-option label="æ£å¸¸" value="0"></el-option> |
| | | <el-option label="ç¦ç¨" value="1"></el-option> |
| | | <el-option label="æé»/å»ç»" value="2"></el-option> |
| | | <el-select v-model="searchForm.status" @keypress.enter.native="search" style="width: 120px" clearable placeholder="ç¶æ"> |
| | | <el-option label="åç¨" value="0"></el-option> |
| | | <el-option label="æ£å¸¸" value="1"></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <section> |
| | |
| | | success = Constants.ONE; |
| | | r = ApiResponse.failed("æä½å¤±è´¥"); |
| | | }finally { |
| | | zbomIAMService.saveInterfaceLog("/push/iam/updateUserInfo","IAMæ¨é人åè´¦å·ä¿¡æ¯", token, uuid, timestamp, shopList,success, JSONObject.toJSONString(r)); |
| | | zbomIAMService.saveInterfaceLog("/push/iam/updateUserInfo",Constants.ONE,"IAMæ¨é人åè´¦å·ä¿¡æ¯", token, uuid, timestamp, shopList,success, JSONObject.toJSONString(r)); |
| | | } |
| | | return r; |
| | | } |
| | |
| | | e.getMessage(); |
| | | r = ApiResponse.failed("æä½å¤±è´¥"); |
| | | }finally { |
| | | zbomIAMService.saveInterfaceLog("/push/iam/updateUserInfo","IAMæ¨é人åè´¦å·ä¿¡æ¯", token, uuid, timestamp, upateUserModel,success, JSONObject.toJSONString(r)); |
| | | zbomIAMService.saveInterfaceLog("/push/iam/updateUserInfo",Constants.ONE,"IAMæ¨é人åè´¦å·ä¿¡æ¯", token, uuid, timestamp, upateUserModel,success, JSONObject.toJSONString(r)); |
| | | } |
| | | return r; |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.timer; |
| | | |
| | | import com.doumee.biz.zbom.ZbomIAMService; |
| | | import com.doumee.service.business.InitService; |
| | | import org.apache.commons.lang3.StringUtils; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | | import java.lang.reflect.Method; |
| | | |
| | | /** |
| | | * @author åå§åå¿é¦åå¹³å°ç¼ååå
¸å¼ |
| | | * @since 2023-07-26 11:44 |
| | | */ |
| | | @Component("zbomDictDataTask") |
| | | public class ZbomRedisResetBiz implements JobService { |
| | | private static final Logger log = LoggerFactory.getLogger(ZbomRedisResetBiz.class); |
| | | |
| | | @Autowired |
| | | InitService initService; |
| | | @Override |
| | | public void run(String params,String module) { |
| | | Method method = null; |
| | | try { |
| | | if(StringUtils.equals(module,"refreshZbomDictDataCache")){ |
| | | initService.refreshZbomDictDataCache(); |
| | | }else if(StringUtils.equals(module,"orgInit")){ |
| | | |
| | | }else |
| | | log.info("\n ======== 宿¶ä»»å¡å·²æ§è¡ï¼zbomRedisResut.========"+module); |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | } |
| | | } |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.timer.init; |
| | | |
| | | import com.doumee.biz.system.SystemDictDataBiz; |
| | | import com.doumee.core.utils.Constants; |
| | | import com.doumee.service.business.InitService; |
| | | import com.doumee.service.business.ShopService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.context.annotation.Lazy; |
| | | import org.springframework.data.redis.core.RedisTemplate; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import javax.annotation.PostConstruct; |
| | | |
| | | /** |
| | | * å¿é¦ç»ç»ä¿¡æ¯è¡¨Serviceå®ç° |
| | | * @author æ±è¹è¹ |
| | | * @date 2024/07/04 14:40 |
| | | */ |
| | | @Service |
| | | public class InitBizService { |
| | | |
| | | @Autowired |
| | | @Lazy |
| | | private InitService initService; |
| | | |
| | | @PostConstruct |
| | | public void clearImporting(){ |
| | | initService.clearImporting(); |
| | | } |
| | | @PostConstruct |
| | | public void refreshZbomDictDataCache(){ |
| | | initService.refreshZbomDictDataCache(); |
| | | } |
| | | @PostConstruct |
| | | public void cacheShopTree(){ |
| | | // redisTemplate.opsForValue().set(Constants.RedisKeys.SHOP_TREE,shopService.shopTree(null)); |
| | | } |
| | | } |
| | |
| | | void updateShopInfo(String token, String uuid, String timestamp, List<IamUpateShopModel> shopList); |
| | | |
| | | void updateUserInfo(String token, String uuid, String timestamp, IamUpateUserModel upateUserModel); |
| | | void saveInterfaceLog(String url,String name, String token, String uuid, String timestamp, Object obj,Integer success,String respone); |
| | | void saveInterfaceLog(String url,int type,String name, String token, String uuid, String timestamp, Object obj,Integer success,String respone); |
| | | } |
| | |
| | | } |
| | | @Override |
| | | @Async |
| | | public void saveInterfaceLog(String url,String name, String token, String uuid, String timestamp, Object obj,Integer success,String respone){ |
| | | public void saveInterfaceLog(String url,int type,String name, String token, String uuid, String timestamp, Object obj,Integer success,String respone){ |
| | | Map<String,Object> map = new HashMap<>(); |
| | | map.put("token",token); |
| | | map.put("uuid",uuid); |
| | |
| | | log.setName(name); |
| | | log.setIsdeleted(Constants.ZERO); |
| | | log.setRequest(JSONObject.toJSONString(map)); |
| | | log.setType(Constants.ONE); |
| | | log.setType(type); |
| | | log.setSuccess(success); |
| | | log.setRepose(respone); |
| | | iamInterfaceLogMapper.insert(log); |
| | |
| | | if(StringUtils.isBlank(content)){ |
| | | return false; |
| | | } |
| | | String appkey ="581ba98d70ae2b85c4ecb9c785"; |
| | | String urlStr = "http://wx.zhibang.com/api/QR/Face_UserSms?TenantId=2&smstype=6&" ; |
| | | // String appkey = (String) redisTemplate.opsForValue().get(Constants.RedisKeys.ZBOM_SMS_API_KEY); |
| | | // String urlStr = (String)redisTemplate.opsForValue().get(Constants.RedisKeys.ZBOM_SMS_API_URL) ; |
| | | // String appkey ="581ba98d70ae2b85c4ecb9c785"; |
| | | // String urlStr = "http://wx.zhibang.com/api/QR/Face_UserSms?TenantId=2&smstype=6&" ; |
| | | String appkey = (String) redisTemplate.opsForValue().get(Constants.RedisKeys.ZBOM_SMS_API_KEY); |
| | | String urlStr = (String)redisTemplate.opsForValue().get(Constants.RedisKeys.ZBOM_SMS_API_URL) ; |
| | | try { |
| | | StringBuffer sb = new StringBuffer(urlStr); |
| | | Integer _t = (int) System.currentTimeMillis(); |
| | |
| | | log.setCreateDate(new Date()); |
| | | log.setUrl(url); |
| | | log.setEditDate(log.getCreateDate()); |
| | | log.setPlat(Constants.ZERO); |
| | | log.setPlat(Constants.ONE); |
| | | log.setName(name); |
| | | log.setIsdeleted(Constants.ZERO); |
| | | log.setRequest(param); |
| | |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.commons.lang3.StringUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.data.redis.core.RedisTemplate; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.Date; |
| | |
| | | public class ZbomZhongTaiServiceImpl implements ZbomZhongTaiService { |
| | | @Autowired |
| | | private InterfaceLogMapper interfaceLogMapper; |
| | | @Autowired |
| | | private RedisTemplate<String, Object> redisTemplate; |
| | | |
| | | /** |
| | | * è·åç¨æ·ç»étoken |
| | | * @param param |
| | |
| | | Map<String,String> headers = new HashMap<>(); |
| | | headers.put(ZTConstants.HEADER_TOKEN,token); |
| | | headers.put(ZTConstants.HEADER_USERTYPE,userType); |
| | | res = HttpsUtil.postJsonWithHeaders(url,param,headers); |
| | | String index = (String) redisTemplate.opsForValue().get(Constants.RedisKeys.ZBOM_ZHONGTAI_API_URL); |
| | | res = HttpsUtil.postJsonWithHeaders(index+url,param,headers); |
| | | TypeReference typeReference = |
| | | new TypeReference<ZTBaseResponse<T>>(){}; |
| | | ZTBaseResponse<T> result = JSONObject.parseObject(res, typeReference.getType()); |
| | |
| | | public static String DEFAULT_PID = "1";//é»è®¤çå¸åºpid=1表示åå
¨ä¸å½ |
| | | public interface IntegerUrl{ |
| | | String USER_UPDATE_URL ="customer/api/sync"; |
| | | String USER_GET_TOKEN_URL ="http://api.dev.zbom.7zcloud.com/customer/api/login"; |
| | | String USER_LOGOUT_URL ="http://api.dev.zbom.7zcloud.com/customer/api/disable"; |
| | | String USER_GET_TOKEN_URL ="/customer/api/login"; |
| | | String USER_LOGOUT_URL ="/customer/api/disable"; |
| | | String CATALOG_LIST_URL ="/content/api/catalog"; |
| | | String CONTENT_LIST_URL ="/content/api/page"; |
| | | String CONTENT_INFO_URL ="/content/api/detail/"; |
| | |
| | | String LIKE_DO_URL ="/content/api/like"; |
| | | String COLLECT_LIST_URL ="/behavior/getFavorite"; |
| | | String LIKE_LIST_URL ="/behavior/getLike"; |
| | | String AREA_LIST_URL ="/admin/bAreaRegion/getChildren"; |
| | | String AREA_LIST_URL ="/base/admin/bAreaRegion/getChildren"; |
| | | } |
| | | public interface IntegerName{ |
| | | String USER_UPDATE_NAME ="ç¨æ·ä¿¡æ¯åæ¥"; |
| | |
| | | |
| | | |
| | | public static final String WX_PLATFORM = "WX_PLATFORM"; |
| | | public static final String ZBOM_ZHONGTAI_API_URL = "ZBOM_ZHONGTAI_API_URL"; |
| | | public static final String WX_PLATFORM_ACCESS_TOKEN = "WX_PLATFORM_ACCESS_TOKEN"; |
| | | public static final String WX_PLATFORM_APPID = "WX_PLATFORM_APPID"; |
| | | public static final String WX_PLATFORM_SECRET = "WX_PLATFORM_SECRET"; |
| | |
| | | String ZBOM_CRM_API_KEY ="ZBOM_CRM_API_KEY"; |
| | | String ZBOM_CRM_API_URL ="ZBOM_CRM_API_URL"; |
| | | String ZBOM_SMS_API_KEY ="ZBOM_SMS_API_KEY"; |
| | | String ZBOM_ZHONGTAI_API_URL ="ZBOM_ZHONGTAI_API_URL"; |
| | | String ZBOM_SMS_API_URL ="ZBOM_SMS_API_URL"; |
| | | String IAM_APPKEY ="IAM_APPKEY"; |
| | | String SHOP_TREE ="SHOP_TREE"; |
| | |
| | | @Lazy |
| | | private SystemDictDataBiz systemDictDataBiz; |
| | | |
| | | @PostConstruct |
| | | public void clearImporting(){ |
| | | redisTemplate.delete(Constants.RedisKeys.IMPORTING_SHOP); |
| | | redisTemplate.delete(Constants.RedisKeys.IMPORTING_USERS); |
| | | } |
| | | @PostConstruct |
| | | public void initIamAppIdAndAppKey(){ |
| | | public void refreshZbomDictDataCache(){ |
| | | redisTemplate.opsForValue().set(Constants.RedisKeys.IAM_APPKEY,systemDictDataBiz.queryByCode(Constants.ZBOM,Constants.ZBOM_IAM_APPKEY).getCode()); |
| | | redisTemplate.opsForValue().set(Constants.RedisKeys.IAM_APPID,systemDictDataBiz.queryByCode(Constants.ZBOM,Constants.ZBOM_IAM_APPID).getCode()); |
| | | redisTemplate.opsForValue().set(Constants.RedisKeys.ZBOM_CRM_API_KEY,systemDictDataBiz.queryByCode(Constants.ZBOM,Constants.ZBOM_CRM_API_KEY).getCode()); |
| | | redisTemplate.opsForValue().set(Constants.RedisKeys.ZBOM_CRM_API_URL,systemDictDataBiz.queryByCode(Constants.ZBOM,Constants.ZBOM_CRM_API_URL).getCode()); |
| | | redisTemplate.opsForValue().set(Constants.RedisKeys.ZBOM_SMS_API_URL,systemDictDataBiz.queryByCode(Constants.ZBOM,Constants.ZBOM_SMS_API_URL).getCode()); |
| | | redisTemplate.opsForValue().set(Constants.RedisKeys.ZBOM_SMS_API_KEY,systemDictDataBiz.queryByCode(Constants.ZBOM,Constants.ZBOM_SMS_API_KEY).getCode()); |
| | | redisTemplate.opsForValue().set(Constants.RedisKeys.ZBOM_ZHONGTAI_API_URL,systemDictDataBiz.queryByCode(Constants.ZBOM,Constants.ZBOM_ZHONGTAI_API_URL).getCode()); |
| | | } |
| | | @PostConstruct |
| | | public void cacheShopTree(){ |
| | | // redisTemplate.opsForValue().set(Constants.RedisKeys.SHOP_TREE,shopService.shopTree(null)); |
| | | } |
| | | |
| | | |
| | | } |