摘要: idea页面双击shift键,搜索settings.xml 然后将以下代码复制到xml中间的settings中间切换为阿里源 <mirrors> <!-- mirror | Specifies a repository mirror site to use instead of a given re 阅读全文
posted @ 2024-01-09 15:49 _lizhipeng 阅读(363) 评论(0) 推荐(0)
摘要: 这个问题网上解决方案较少, 我们这边问题定位是docker-compose.yaml配置问题 在配置文件中新增配置如下: privileged: true 设置容器的权限为root 最后解决 阅读全文
posted @ 2023-06-15 11:25 _lizhipeng 阅读(558) 评论(0) 推荐(0)
摘要: 1、官方文档地址:https://go-kratos.dev/docs 2、首先运行之前本地要安装golang环境(此项不详细说明) 3、安装golang环境完毕,进行配置kratos环境 1)首先开启GO111MODULE 在终端输入:go env -w GO111MODULE=on 2)安装kr 阅读全文
posted @ 2022-10-13 16:19 _lizhipeng 阅读(233) 评论(0) 推荐(0)
摘要: 1.更新源 wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo rpm --import https://pkg.jenkins.io/redhat-stable/jenkin 阅读全文
posted @ 2021-12-17 14:15 _lizhipeng 阅读(25) 评论(0) 推荐(0)
摘要: 执行一下命令后运行成功 go mod tidy 阅读全文
posted @ 2021-12-12 12:48 _lizhipeng 阅读(812) 评论(0) 推荐(0)
摘要: // 手机号验证不允许一样collect($data)->chunk(100)->each(function ($user){ $mobiles = $user->pluck('mobile'); // 数据库中100以内的数据 $all_result = $userModel->select('i 阅读全文
posted @ 2021-11-05 19:02 _lizhipeng 阅读(101) 评论(0) 推荐(0)
摘要: /** * 发送消息 * @param $data * @param $openid * @return bool|string */public function sendWxNotice($data,$openid="",$type=1) { $url = 'https://api.weixin 阅读全文
posted @ 2021-10-18 15:27 _lizhipeng 阅读(210) 评论(0) 推荐(0)
摘要: 1.安装go语言,官网下载无脑安装(官网下载地址:https://golang.org/dl/) 2.安装beego命令 go get github.com/astaxie/beego 报错 3. 切换为国内源命令 go env -w GOPROXY=https://goproxy.cn,direc 阅读全文
posted @ 2021-09-09 14:11 _lizhipeng 阅读(492) 评论(0) 推荐(0)
摘要: 使用exec和system函数 1.exec("start 程序路径"); // 执行外部程序 exec("start D:\install_address\WeChat\WeChat.exe"); // 开启微信,但是会导致php一直运行,除非关闭微信 2.system(程序路径); // 执行外 阅读全文
posted @ 2021-09-07 16:15 _lizhipeng 阅读(41) 评论(0) 推荐(0)
摘要: 经常是连接不上数据库, 1.将host更改为localhost或127.0.0.1 2.第一个方式无效,通过phpinfo查看mysql扩展,没有的话,安装配置php的mysql扩展 阅读全文
posted @ 2021-08-25 11:54 _lizhipeng 阅读(238) 评论(0) 推荐(0)