refactor(work-service): 重构自动铺码消费者,新增微信登录逻辑与配置更新

1. 更新微信公众号配置AppId和AppSecret
2. 修复微信授权控制器临时返回逻辑,启用真实登录流程
3. 新增期刊打印DTO类,定义铺码数据结构
4. 重构AutoDotCodeConsumer,新增依赖注入与完整铺码业务逻辑
5. 调整队列消费者接口与实现,添加取消令牌参数
6. 新增铺码回调响应实体类,完善异常处理与事务管理
This commit is contained in:
glz
2026-06-23 16:53:18 +08:00
parent 2d3fceb265
commit 16ad80f2a8
7 changed files with 361 additions and 20 deletions

View File

@ -33,9 +33,8 @@ public class WeChatAuthController : WeChatBaseController
{
try
{
//var result = await _weChatAuthService.LoginAsync(input);
//return Success(result);
return BaseResponse<WeChatLoginOutput>.Fail("微信登录失败,请稍后重试");
var result = await _weChatAuthService.LoginAsync(input);
return Success(result);
}
catch (BusinessException ex)
{

View File

@ -22,8 +22,8 @@
"ClientProvidedName": "Custom connection name"
},
"WeChatSettings": {
"AppId": "wx7922cc9b6023f3ac",
"AppSecret": "95a1d61b7be03d1dab81fe19b7483dcf"
"AppId": "wx5d8f281c2fd6594c",
"AppSecret": "974f45e4a0aaa075278db0477d0bd8b6"
},
"Serilog": {
"MinimumLevel": {