摘要: 仅适用于更换小程序模板(属于换汤不换药)。可实现多环境对应不同的小程序模板 实现效果 一.配置文件格式 "MiniProgramConfig": { "Token": "r8Z6weJVCb0", "EncodingAESKey": "MhemkNp9DZXqe24A", "AppId": "wxf 阅读全文
posted @ 2023-05-26 09:36 棙九九 阅读(116) 评论(0) 推荐(0)
摘要: 目录 1.安装 Hyper-V Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All 2.安装WSL2 2.1以管理员启动运行 Windows PowerShell PS C:\Users\Administ 阅读全文
posted @ 2023-03-11 22:13 棙九九 阅读(689) 评论(0) 推荐(0)
摘要: 1.安装SDK依赖库 <PackageReference Include="PushNotifications.Server" Version="1.3.35" /> <PackageReference Include="PushNotifications.Server.AspNetCore" Ve 阅读全文
posted @ 2023-03-02 17:54 棙九九 阅读(126) 评论(0) 推荐(0)
摘要: 一.添加基础设施 1.添加配置实体模型 public class GetuiConfigOptions { public string AppID { get; set; } public string AppKey { get; set; } public string AppSecret { g 阅读全文
posted @ 2023-03-02 17:43 棙九九 阅读(160) 评论(0) 推荐(0)
摘要: 1、右键类库属性 2、添加Swagger扩展 public static class SwaggerGenOptionsExtensions { public static void IncludeXmlComments(this SwaggerGenOptions swaggerGenOption 阅读全文
posted @ 2021-12-24 11:08 棙九九 阅读(352) 评论(0) 推荐(0)
摘要: 1.使用方式 // This method gets called by the runtime. Use this method to add services to the container. public void ConfigureServices(IServiceCollection s 阅读全文
posted @ 2021-12-24 10:59 棙九九 阅读(301) 评论(0) 推荐(0)
摘要: 一、新增 先校验参数 db查询所需要的基础数据 基础数据非空验证 组装Entity报错 /// <summary> /// 新增数据 /// </summary> /// <returns></returns> public async Task AddAsync(CreateOrderReques 阅读全文
posted @ 2021-12-24 10:53 棙九九 阅读(328) 评论(0) 推荐(1)
摘要: 简单实现接口返回统一格式:添加api接口执行时长 1.使用方式 // This method gets called by the runtime. Use this method to add services to the container. public void ConfigureServ 阅读全文
posted @ 2021-11-12 10:20 棙九九 阅读(2241) 评论(1) 推荐(0)
摘要: 简单实现接口幂等性,根据参数的hascode实现: 参数介绍 WaitMillisecond : 请求等待毫秒数 CacheMillisecond:请求结果缓存毫秒数 参数具体使用场景 WaitMillisecond :用户频繁发起多次请求,只处理第一次请求,后续请求在这个等待(时间范围内)的均返回 阅读全文
posted @ 2021-11-11 17:11 棙九九 阅读(1759) 评论(3) 推荐(3)