refactor(work-service): 重构自动铺码消费者,新增微信登录逻辑与配置更新
1. 更新微信公众号配置AppId和AppSecret 2. 修复微信授权控制器临时返回逻辑,启用真实登录流程 3. 新增期刊打印DTO类,定义铺码数据结构 4. 重构AutoDotCodeConsumer,新增依赖注入与完整铺码业务逻辑 5. 调整队列消费者接口与实现,添加取消令牌参数 6. 新增铺码回调响应实体类,完善异常处理与事务管理
This commit is contained in:
@ -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)
|
||||
{
|
||||
|
||||
@ -22,8 +22,8 @@
|
||||
"ClientProvidedName": "Custom connection name"
|
||||
},
|
||||
"WeChatSettings": {
|
||||
"AppId": "wx7922cc9b6023f3ac",
|
||||
"AppSecret": "95a1d61b7be03d1dab81fe19b7483dcf"
|
||||
"AppId": "wx5d8f281c2fd6594c",
|
||||
"AppSecret": "974f45e4a0aaa075278db0477d0bd8b6"
|
||||
},
|
||||
"Serilog": {
|
||||
"MinimumLevel": {
|
||||
|
||||
Reference in New Issue
Block a user