wangsenyan

Results 6 issues of wangsenyan

hi, i want to set data in AuthorizationListener then use the data in EventListener so i don't have to decode token twice or more what should i do ? thanks

## DESC ### ENV OS Platform: Node.js Version: ThinkJS Version: ### code ```js init(http) { var self = this; super.init(http); self.assign({ productImgPath: productImgUrl, globalFid: 0 }) return self.session('userInfo').then(function(userInfo) { if...

2.x

### pm2 start server with two instance , ### two instance connect one mysql server. ![1637033091(1)](https://user-images.githubusercontent.com/30583832/141890334-01df1944-2366-4e09-aead-bfb3c9e18219.png) ``` Component.queue = async (obj, appId, projectId, accessToken) => { const Project = Component.app.models.project;...

bug
needs grooming

## Suggestion Hi,is there any way to avoid hardcoded password in config file or datasource file ? for example: i set encrypted password in config file, when loopback boot, it...

feature

答案的递推感觉没问题,但是初始化是如何定义呢?如果(i,j)是一条边,如何定义呢?是要分无路径,无中间点和有中间点三种情况吗

```code long stock = redisService.decr(GoodsKey.getGoodsStock, "" + goodsId);//10 if (stock < 0) { afterPropertiesSet(); long stock2 = redisService.decr(GoodsKey.getGoodsStock, "" + goodsId);//10 if(stock2 < 0){ localOverMap.put(goodsId, true); return Result.error(CodeMsg.SECKILL_OVER); } }...