WTM
WTM copied to clipboard
Use WTM to write .netcore app fast !!!
在部门管理中的新增功能中,所属上级部门的下拉框选择中,部门排序是混乱的,无法按照创建的部门顺序(GroupCode)排序; 
更新注释,第一次提交,看看对不对,不对的话我再改改。
 比如新建一个CommHub类并继承Hub,我这里初始化了_context,但是在调用的时候提示: Error when dispatching 'OnConnectedAsync' on hub. System.InvalidOperationException: Unable to resolve service for type 'XXK.DataContext' while attempting to activate 'XXK.Hubs.CommHub'. at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.GetService(IServiceProvider sp, Type type, Type requiredBy, Boolean isDefaultParameterRequired)...
FrameworkUserBase 类应继承 PersistPoco 而不是 BasePoco ` public abstract class FrameworkUserBase : BasePoco, ITenant ` ` { public bool IsValid { get; set; } = true; }`
建议方法里面增加判断是否为png格式,如果是Png,使用SaveAsPng,而不是统一用SaveAsJpeg
目前md5已经很容易被撞库等方法破解了,希望能够自己定义替换框架的hash算法,并且可以自己加盐处理