摘要: 安装mongodb服务: mongod --config "D:\MongoDB\bin\mongod.cfg" --install 启动 mongodb:net start mongodb关闭 mongodb:net stop mongodb卸载 mongodb:mongod --remove 如 阅读全文
posted @ 2021-02-26 18:06 1648510423 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 一、git clone git clone <版本库的网址> <本地目录名> 也可以先创建好目录 cd切换到目录 然后直接clone: git clone <版本库的网址> 二、git remote git remote 列出所有远程主机 git remote -v 列出所有远程主机以及其网址 gi 阅读全文
posted @ 2020-10-22 10:27 1648510423 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 1、用户发送信息2、点击自定义菜单(仅有点击推事件、扫码推事件、扫码推事件且弹出“消息接收中”提示框这3种菜单类型是会触发客服接口的)3、关注公众号4、扫描二维码5、支付成功6、用户维权 公共方法 function https_request($url,$data = null){ $curl = 阅读全文
posted @ 2020-08-06 18:02 1648510423 阅读(1850) 评论(0) 推荐(0) 编辑
摘要: wget http://soft.vpser.net/lnmp/ext/reset_mysql_root_password.sh;sh reset_mysql_root_password.sh 后输入密码即可 阅读全文
posted @ 2020-07-15 17:25 1648510423 阅读(565) 评论(0) 推荐(0) 编辑
摘要: // 组装where条件$wheres = [];// 后台用户类型$user = input('user','');switch($user ){ case "部门员工": $wheres['order_type'] = ['neq', '等待部门管理审核']; break; case "部门管理 阅读全文
posted @ 2020-07-12 21:23 1648510423 阅读(3546) 评论(0) 推荐(0) 编辑
摘要: 问题 :将sql文件导入数据库中出现异常‘ERROR 1067: Invalid default value for 字段’ 原因:导出的sql文件中有一张表中的字段默认值为“0000-00-00”, 根本原因是 SQL_MODE 设置值的问题 解决方法: 修改mysql配置文件 vi /etc/m 阅读全文
posted @ 2020-07-07 00:30 1648510423 阅读(674) 评论(0) 推荐(0) 编辑
摘要: 配置 # 显示当前的Git配置 $ git config --list # 编辑Git配置文件 $ git config -e [--global] # 设置提交代码时的用户信息 $ git config [--global] user.name "[name]" $ git config [--g 阅读全文
posted @ 2020-07-04 14:03 1648510423 阅读(115) 评论(0) 推荐(0) 编辑