上一页 1 2 3 4 5 6 ··· 11 下一页
摘要: 1.pom.xm中添加依赖坐标 <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis</artifactId> <version>3.5.5</version> </dependency> 2.mybatis-config.x 阅读全文
posted @ 2022-05-25 16:53 Xyang 阅读(18) 评论(0) 推荐(0) 编辑
摘要: List<string> ipv4_ips = GetLocalIpAddress("InterNetwork"); /// <summary> /// 获取本机所有ip地址 /// </summary> /// <param name="netType">"InterNetwork":ipv4地址 阅读全文
posted @ 2021-11-17 15:40 Xyang 阅读(279) 评论(0) 推荐(0) 编辑
摘要: 1.News.php中News类继承ci_model class News extends CI_Model{ public function getAll() { $this->load->database();//加载数据库 $res=$this->db->query('select * fro 阅读全文
posted @ 2021-08-15 15:41 Xyang 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 1.准备news表格,id,title,slug,text 2.新建Crud.php,并继承 class Crud extends CI_Controller 3. public function __construct() { parent::__construct(); $this->load- 阅读全文
posted @ 2021-08-15 14:53 Xyang 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 1.免费sll证书,购买付费证书可解决 2.通过修改注册表等完成,比较麻烦 3.使用IISCrypto 工具一件修改,简单快捷 阅读全文
posted @ 2021-01-20 10:57 Xyang 阅读(579) 评论(0) 推荐(0) 编辑
摘要: $("#target").on({ touchstart: function (e) { // 长按事件触发 timeOutEvent = setTimeout(function () { timeOutEvent = 0; alert('你长按了'); }, 400); //长按400毫秒 // 阅读全文
posted @ 2020-12-03 10:58 Xyang 阅读(335) 评论(0) 推荐(0) 编辑
摘要: 1.获取当前场景名称ID var krpano = document.getElementById('krpanoSWFObject');var scene= krpano.get("xml.scene"); 2.call调用lookto等函数 var krpano = document.getEl 阅读全文
posted @ 2020-12-02 16:22 Xyang 阅读(1063) 评论(0) 推荐(0) 编辑
摘要: 1.需要进行循环的标签 <view class="listn" wx:for="{{resData}}" wx:key='index'> 2.页面js中 onLoad: function (options) { wx.request({ url: 'https: ', data: { x: '', 阅读全文
posted @ 2020-08-28 17:33 Xyang 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 1.根目录下建自定义组件文件夹,然后每个自定义组件建立相应的文件夹和自定义组件 2.将需要组件化的代码及样式放入自定义组件wxml及wxss中 3.在需要调用自定义组件的页面的json文件中 { "usingComponents": { "toubu": "/component/toubu/toub 阅读全文
posted @ 2020-08-28 17:01 Xyang 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 1.展开运算符 ...(三个点) arr1=[1,2,3] arr2=[4,5,6] [...arr1,...arr2] //[1,2,3,4,5,6] 相当于arr1.concat(arr2); 2.函数默认参数 function test1(a=0){ } 3.箭头函数 相当于匿名函数,简化了函 阅读全文
posted @ 2020-08-27 17:08 Xyang 阅读(133) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 11 下一页
hi