上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 60 下一页
摘要: 一,安装vscode 安装就忽略了。 一些实用插件: 1 Auto-Using for C# 自动添加引用 2 C# 3 C# XML Documentation Comments 注释/// ,你懂得 4 Chinese 汉化 5 Debugger for Unity 调试unity 6 Unit 阅读全文
posted @ 2020-12-02 16:58 正怒月神 阅读(4507) 评论(0) 推荐(0)
摘要: 一,首先创建一个Cube(这里我自己的是一个模型) 二,创建3个空物体 我取名point 将空物体拖动到不同的地方。 三,创建c# scrpit 这里参考了:https://blog.csdn.net/czhenya/article/details/77412300 using System.Col 阅读全文
posted @ 2020-12-02 16:55 正怒月神 阅读(431) 评论(0) 推荐(0)
摘要: 关于Task.Yield(), msdn的解释:可以 await Task.Yield(); 在异步方法中使用来强制异步完成方法。 如果当前同步上下文 (SynchronizationContext 对象) ,则这会将该方法的其余执行内容发布回该上下文。 但是,上下文将决定如何将此工作的优先级设置为 阅读全文
posted @ 2020-12-01 11:45 正怒月神 阅读(267) 评论(0) 推荐(0)
摘要: 一, 增加全局变量 二,使用全局变量 主要是这句 call mvn -DdockerHost=%dockerHost250% -f %parent_dir%/springCloud.registry docker:build 三,-DdockerHost 对应pom文件 记得 -D节点名 <prop 阅读全文
posted @ 2020-10-22 11:05 正怒月神 阅读(174) 评论(0) 推荐(0)
摘要: 说明:例如将代码提交到git仓库,将一些敏感信息提交,所以需要删除提交记录以彻底清除提交信息,以得到一个干净的仓库且代码不变 1.Checkout git checkout --orphan latest_branch 2. Add all the files git add -A 3. Commi 阅读全文
posted @ 2020-10-04 01:59 正怒月神 阅读(593) 评论(0) 推荐(0)
摘要: 情况是这样的: 我在add方法中,还有一个updateBalance减库存方法。 serviceImpl是这样的 //尽量简单演示 //新增 @Transactional @Override public T add() { } //减库存 @Transactional @Override publ 阅读全文
posted @ 2020-09-30 13:56 正怒月神 阅读(268) 评论(0) 推荐(0)
摘要: sql语句: select a.id,substring_index(substring_index(a.name,',',b.help_topic_id+1),',',-1) name from test a join mysql.help_topic b on b.help_topic_id < 阅读全文
posted @ 2020-09-25 14:19 正怒月神 阅读(791) 评论(0) 推荐(0)
摘要: 开发环境 ASP.NET Core 3.0 + Entity Framework 3.0 正文 Entity Framework Core 通过实体类的导航属性来加载相关数据。有三种常见的方式: 预先加载 - 将关联数据作为查询的一部分一起查询出来。 显示加载 - 查询主数据之后,再从数据库查询相关 阅读全文
posted @ 2020-09-24 11:48 正怒月神 阅读(344) 评论(0) 推荐(0)
摘要: 有两个方法 一, Application层 代码如下:继承IApplicationService public class TestService : IApplicationService { public List<dynamic> Test() { List<dynamic> list = n 阅读全文
posted @ 2020-09-24 01:19 正怒月神 阅读(482) 评论(0) 推荐(0)
摘要: 使用abp框架,使用了Zero模块。再使用Element ui进行上传图片。出现400 bad request错误请求。 用postman传数据到接口时正常工作的。 经过几经波折,终于找到问题是nati token的问题。 https://forum.aspnetboilerplate.com/vi 阅读全文
posted @ 2020-09-22 00:34 正怒月神 阅读(420) 评论(0) 推荐(0)
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 60 下一页