摘要:
/// <summary> /// 将c# DateTime时间格式转换为Unix时间戳格式 /// </summary> /// <param name="time">时间</param> /// <returns>long</returns> public static long Convert 阅读全文
posted @ 2020-01-19 11:40
雨V幕
阅读(2650)
评论(0)
推荐(0)
摘要:
public class HttpHelper {/// <summary> /// 发起POST同步请求 /// /// </summary> /// <param name="url"></param> /// <param name="postData"></param> /// <param 阅读全文
posted @ 2020-01-19 11:38
雨V幕
阅读(631)
评论(0)
推荐(0)
摘要:
场景一些配置需要经常用到可以尝试把配置配置到配置类中需要使用时只需要通过构造函数注入配置类即可。 json文件结构示例 "SmsSetting": { //253 "Host": "123", "Account": "123", "Password": "123", "Sign": "123",// 阅读全文
posted @ 2020-01-19 11:36
雨V幕
阅读(1052)
评论(0)
推荐(0)
摘要:
添加Swashbuckle.AspNetCore startup ConfigureServices添加Swagger配置 此步骤之前先右键站点点击属性在生成面板设置 取消显示警告添加;1591 这个是取消vs的注释提醒 输出板块勾选 XML文档文件选项 #region Swagger servic 阅读全文
posted @ 2020-01-19 11:08
雨V幕
阅读(484)
评论(0)
推荐(0)
摘要:
using Common; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; using Newtonsoft.Json; using SMS_Platform.Model.Response; using Sys 阅读全文
posted @ 2020-01-19 10:59
雨V幕
阅读(1528)
评论(0)
推荐(0)
摘要:
# Build and Object Folders bin/ obj/ # Nuget packages directory packages/ #Logs logs/ .vs/ ## Ignore Visual Studio temporary files, build results, and 阅读全文
posted @ 2020-01-19 10:21
雨V幕
阅读(2848)
评论(0)
推荐(0)
摘要:
codesmith环境安装跳过(流程界面见下图) 生成实体的模板代码 <%-- Name: SqlSugerEntity Author: cyao Description: 生成SqlSuger实体的codeSmith模板 --%> <%@ CodeTemplate Language="C#" Ta 阅读全文
posted @ 2020-01-19 09:35
雨V幕
阅读(259)
评论(0)
推荐(0)

浙公网安备 33010602011771号