Skip to content

v1.0.0

Compare
Choose a tag to compare
@gdlcf88 gdlcf88 released this 27 Aug 11:34
· 149 commits to master since this release

完成了对“微信应用”的抽象(#7),使其范围不止于小程序,未来还将包括:公众号、企业微信、开放平台。
f70a4523cf83f3200cbff0e9024dd5c

注意:本次更新不平滑

  1. 调整DbContext的引用:
    https://github.com/EasyAbp/WeChatManagement/blob/e4ec04755b3b6c295da14f7a19c1a19be9641573/samples/WeChatManagementSample/aspnet-core/src/WeChatManagementSample.EntityFrameworkCore/EntityFrameworkCore/WeChatManagementSampleDbContext.cs#L78-L79
  2. 在EF的迁移文件手动做调整,参考:
    https://github.com/EasyAbp/WeChatManagement/blob/e4ec04755b3b6c295da14f7a19c1a19be9641573/samples/WeChatManagementSample/aspnet-core/src/WeChatManagementSample.EntityFrameworkCore/Migrations/20210827092621_IntroducedWeChatApp.cs
  3. 注意路由变化:
    • [Route("/api/wechat-management/mini-programs/mini-program")] -> [Route("/api/wechat-management/common/wechat-app")]
    • [Route("/api/wechat-management/mini-programs/mini-program-user")] -> [Route("/api/wechat-management/common/wechat-app-user")]

务必谨慎操作避免丢失数据!