摘要: timer.php <?php $timer_id = swoole_timer_tick(3000,function($timer_id){ echo "tick-".$timer_id." 3000ms - ".date('Y-m-d H:i:s')."\n"; }); swoole_timer 阅读全文
posted @ 2022-05-10 16:37 子岚天羽卿怜水 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 网络与共享中心->更改网络适配器->本地连接 本地连接->查看详细信息->查看ip地址: 描述: Realtek PCIe GBE Family Controller 物理地址: ‎ 已启用 DHCP: 否 IPv4 地址: 192.168.2.65 IPv4 子网掩码: 255.255.255.0 阅读全文
posted @ 2022-05-06 17:16 子岚天羽卿怜水 阅读(567) 评论(0) 推荐(0) 编辑
摘要: GRAY 0 #f8f9fa GRAY 1 #f1f3f5 GRAY 2 #e9ecef GRAY 3 #dee2e6 GRAY 4 #ced4da GRAY 5 #adb5bd GRAY 6 #868e96 GRAY 7 #495057 GRAY 8 #343a40 GRAY 9 #212529 阅读全文
posted @ 2022-04-19 10:29 子岚天羽卿怜水 阅读(103) 评论(0) 推荐(0) 编辑
摘要: [emerg] 8120#2508: bind() to 192.168.2.45:8083 failed (10049: The requested address is not valid in its context) 请求的地址在它的上下文中无效,域名错误,我的ip地址变动了,修改nginx 阅读全文
posted @ 2022-03-21 09:19 子岚天羽卿怜水 阅读(425) 评论(0) 推荐(0) 编辑
摘要: DES DESCoder package com.example.demo.util; import javax.crypto.Cipher; import javax.crypto.KeyGenerator; import javax.crypto.SecretKey; import javax. 阅读全文
posted @ 2022-03-09 09:03 子岚天羽卿怜水 阅读(170) 评论(0) 推荐(0) 编辑
摘要: has_one(或has_many):外键在子关联对象中 belongs_to:外键在父联对象中 有两张表:user & userAddress user 表字段有 id name userAddress 表字段有 id user_id city 在user模型中关联userAddress模型时,外 阅读全文
posted @ 2022-02-22 10:10 子岚天羽卿怜水 阅读(817) 评论(0) 推荐(0) 编辑
摘要: thinkphp6 实例化调用控制器时报错 错误记录 Too few arguments to function app\BaseController::__construct(), 0 passed 解决: $pay = new Alipay(); 改成 $pay = new Alipay($th 阅读全文
posted @ 2022-02-15 11:39 子岚天羽卿怜水 阅读(440) 评论(0) 推荐(0) 编辑
摘要: 卡号 不少客户在制作会员卡的时候,都会问到我这边会员卡编号要几位数?其实面对这个问题,大可不必认为自己不专业啊,不知道啊,因为关于编号要几位数也没有谁规定只能多长,只能多短。但是制卡时间久了,慢慢地就会形成一些默认的规则,来减少客户的烦恼,让制卡效率更高一些。下面就从几个方面来简单说明一下。 1、 阅读全文
posted @ 2021-12-06 14:53 子岚天羽卿怜水 阅读(480) 评论(0) 推荐(0) 编辑
摘要: .conf location / { index index.html index.htm index.php; #autoindex on; if (!-e $request_filename) { rewrite ^(.*)$ /index.php?s=/$1 last; } } 阅读全文
posted @ 2021-11-18 10:25 子岚天羽卿怜水 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 示例1 项目结构 代码 controller中 UserController.java package com.example.demo1110.controller; import com.example.demo1110.entity.User; import com.example.demo1 阅读全文
posted @ 2021-11-11 11:47 子岚天羽卿怜水 阅读(400) 评论(1) 推荐(1) 编辑