摘要:
1.下载包HttpMultipartParser 2.服务端代码 public bool Upload(Stream stream) { var parser = MultipartFormDataParser.Parse(stream);//解析stream var file = parser.F 阅读全文
摘要:
网上各种 加binding 都不行 最后找到了在配置文件中加 webHttpBinding 1 <system.serviceModel> 2 <bindings> 3 <webHttpBinding> 4 <binding 5 maxBufferPoolSize="2048576000" 6 ma 阅读全文
摘要:
1.首先创建一个窗体。设置FormBoderStyle为 none; 2.拖入一个panle 到窗体中,设置Dock 属性,让panle填满整个 窗体。修改panel的Name为Login_back 3. 代码 1 public partial class Login1 : Form 2 { 3 p 阅读全文
摘要:
1 public void GetNativeIp() 2 { 3 IPHostEntry hostEntry = Dns.GetHostEntry(Dns.GetHostName()); 4 foreach(var ip in hostEntry.AddressList) 5 { 6 if (ip 阅读全文
摘要:
1 public class MD5Utils 2 { 3 public string ComputeHash(string input) 4 { 5 using (MD5 md5 = MD5.Create()) 6 { 7 // 将输入字符串转换为字节数组 8 byte[] inputBytes 阅读全文
摘要:
1 public class PasswordBoxHelper 2 { 3 public static readonly DependencyProperty PasswordProperty = DependencyProperty.RegisterAttached("Password", ty 阅读全文
摘要:
1.登录窗口布局 <Grid> <Grid.ColumnDefinitions> <ColumnDefinition/> <ColumnDefinition Width="2*"/> </Grid.ColumnDefinitions> <Border > <Border.Background> <I 阅读全文
摘要:
https://blog.csdn.net/LJJONESEED/article/details/125906210 阅读全文
摘要:
@GetMapping("/page")public IPage<TManager> findPage(@RequestParam Integer pageNum, @RequestParam Integer pageSize){ IPage<TManager> page=new Page<>(pa 阅读全文
摘要:
1.公共字段自动填充 在实体类中需要被统一管理的字段上上面加上 @TableField注解,并在内部添加fill属性,INSERT为在执行新增操作时执行,@TableField(fill = FieldFill.INSERT加在create time字段上,即在调用maybatis-plus的sav 阅读全文