自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 收藏
  • 关注

原创 Java中生成新对象的方式

https://www.cnblogs.com/baizhanshi/p/5896092.html

2021-03-12 11:33:14 122

原创 swagger学习文档

https://mp.weixin.qq.com/s/0-c0MAgtyOeKx6qzmdUG0w

2021-03-04 12:26:49 135 1

原创 通过thymeleaf来初始化select标签的显示与选中项

通过从数据库获取select的value值,在每个标签上进行判断,值相等的就会显示出来 <select> <option th:selected="${user.getGrade()==1}" value="1" >普通</option> <option th:selected="${user.getGrade()==2}" value="2" >咸鱼</option>

2021-02-27 17:36:19 495

转载 Gradle下载jar包速度解决方法

Gradle下载jar包速度解决方法一、修改项目根目录下的文件 build.gradle :repositories { mavenCentral()}修改为//阿里的allprojects { repositories { maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'} }}//开源中国repositories { maven{ url 'ht

2021-02-18 17:29:57 487

原创 Hibernate的generator属性的意义

转载自https://www.cnblogs.com/talo/articles/1663978.html本文讲述Hibernate的generator属性的意义。Generator属性有7种class,本文简略描述了这7种class的意义和用法。Hibernate的Generator属性有7种class,本文简略描述了这7种class的意义和用法。1、identity:用于MySql数据库。特点:递增< id name="id" column="id"> < gen

2021-02-09 16:21:34 220

原创 Unity学习笔记/*打包场景与加载场景AssetBundle接口*/

打包场景using System.Collections;using System.Collections.Generic;using UnityEngine;using UnityEditor;/*打包场景*/public class Build{ [MenuItem("Publish/Build Bundle")]//菜单声明,Publish为菜单名,Build Bu...

2020-04-19 18:12:20 170

原创 Unity学习笔记/*加载bundle包AssetBundle接口*/

using System.Collections;using System.Collections.Generic;using UnityEngine;/*加载bundle包*/public class F: MonoBehaviour{ // Start is called before the first frame update void Start() ...

2020-04-19 16:39:02 191

原创 Unity学习笔记/*打包程序Assetbundle接口*/

using System.Collections;using System.Collections.Generic;using UnityEngine;using UnityEditor;/*打包程序*/public class Build{ [MenuItem("Publish/Build Bundle")]//菜单声明,Publish为菜单名,Build Bundle为...

2020-04-19 15:08:19 246

原创 Unity学习笔记/*文件加载卸载操作Resources接口*/

using System.Collections;using System.Collections.Generic;using UnityEngine;using System;public class N : MonoBehaviour{ // Start is called before the first frame update void Start() ...

2020-04-19 14:06:53 165

原创 Unity学习笔记/*编辑器文件操作AssetDateBase接口**/

//头文件导入#if UNITY_EDITORusing UnityEditor;#endif/*分割线,以下是操作方法*/#if UNITY_EDITOR //load Material mat = AssetDatabase.LoadAssetAtPath("Assets/Materials/m1.mat", typeof(Ma...

2020-04-19 12:38:47 156

原创 Unity学习笔记/*获取鼠标单击位置并自动寻路*/

在这里插入代码片@TOCif (Input.GetMouseButtonDown(1)) //1表示鼠标右键{Ray ray = Camera.main.ScreenPointToRay(Input.mousePosition);//获去摄像机与该点对应射线RaycastHit hit;//定义一个可以储存射线相关信息的结构体hitVector3 point = Vector3.zer...

2020-04-19 12:34:06 229

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除