ZN.IGasLink.Test.Template
1.0.0
dotnet new install ZN.IGasLink.Test.Template@1.0.0
命名规范 控制器层的方法:XXApiController 服务层:XXService 服务接口层:XXIService 方法入参:XXRequest
缓存格式规范 //Redis缓存格式规范,key=业务+公司ID,field=业务ID,value=业务名称 //存入区域 var insertRedis = await RedisHelper.HSetAsync($"Area:{JwtAppUserInfo.CompanyId}", area.Id.ToString(), area.AreaName); //根据区域ID获取公司下对应的区域 var getRedis = await RedisHelper.HGetAsync<string>($"Area:{JwtAppUserInfo.CompanyId}", area.Id.ToString()); //获取公司下所有的区域 var getAllRedis = await RedisHelper.HGetAllAsync<string>($"Area:{JwtAppUserInfo.CompanyId}");
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|