From 27076e2f1c080e6d8a86a7bd2120d9f2839b13e7 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期五, 08 八月 2025 17:12:31 +0800 Subject: [PATCH] Merge branch 'master' of http://120.26.58.240:8888/r/ApiFlexJob --- FlexJobApi.Core/Models/UserServer/Auths/Commands/WxmpLoginCommand.cs | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/FlexJobApi.Core/Models/UserServer/Auths/Commands/WxmpLoginCommand.cs b/FlexJobApi.Core/Models/UserServer/Auths/Commands/WxmpLoginCommand.cs index 8ce3492..70f9933 100644 --- a/FlexJobApi.Core/Models/UserServer/Auths/Commands/WxmpLoginCommand.cs +++ b/FlexJobApi.Core/Models/UserServer/Auths/Commands/WxmpLoginCommand.cs @@ -1,4 +1,5 @@ -锘縰sing System; +锘縰sing MediatR; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; @@ -10,12 +11,18 @@ /// <summary> /// 寰俊灏忕▼搴忕櫥褰� /// </summary> - public class WxmpLoginCommand + [Resource([EnumResourceController.Auth], AllowAnonymous = true)] + public class WxmpLoginCommand : IRequest<LoginCommandCallback> { /// <summary> /// 鐢ㄦ埛鐧诲綍鍑瘉 /// </summary> [Required] public string Code { get; set; } + + /// <summary> + /// 鐢ㄦ埛绫诲瀷 + /// </summary> + public EnumUserType Type { get; set; } } } -- Gitblit v1.9.1