11 2020 档案

摘要:{% extends '../../base.html' %}{% block title %}学生列表{% endblock %}{% block content %} <body> <div class="x-nav"> <span class="layui-breadcrumb"> <a hr 阅读全文
posted @ 2020-11-27 15:48 程序员小艺 阅读(1304) 评论(0) 推荐(0) 编辑
摘要:r = gin.Default()//解决跨域r.Use(Cors()) func Cors() gin.HandlerFunc { return func(c *gin.Context) { method := c.Request.Method c.Header("Access-Control-A 阅读全文
posted @ 2020-11-19 16:38 程序员小艺 阅读(780) 评论(0) 推荐(0) 编辑
摘要:buf := make([]byte, 1024)n, _ := c.Request.Body.Read(buf)c.Request.Body = ioutil.NopCloser(bytes.NewReader(buf[:n]))j := buf[0:n]fmt.Println("body:", 阅读全文
posted @ 2020-11-19 16:22 程序员小艺 阅读(1209) 评论(0) 推荐(0) 编辑
摘要:14 13 * * * curl -H "Content-type: application/json" -X POST -d '{"version": "1.0"}' http://www.baidu.com 每天13:14通过POST方式请求http://www.baidu.com,携带参数为{ 阅读全文
posted @ 2020-11-15 16:41 程序员小艺 阅读(228) 评论(0) 推荐(0) 编辑
摘要:go env -w GOPROXY=https://goproxy.cn,direct 阅读全文
posted @ 2020-11-13 22:47 程序员小艺 阅读(383) 评论(0) 推荐(0) 编辑
摘要:修改nginx配置文件server { listen 80; server_name test_go.flyfly520.club; location / { proxy_pass http://127.0.0.1:8081/; } }重启nginx后台启动gin编译后的文件nohup ./main 阅读全文
posted @ 2020-11-13 00:19 程序员小艺 阅读(1164) 评论(0) 推荐(0) 编辑
摘要:linux模式: set CGO_ENABLED=0 set GOOS=linux windows模式: set GOARCH=amd64 set GOOS=windows mac模式: SET CGO_ENABLED=0 SET GOOS=darwin SET GOARCH=amd64 阅读全文
posted @ 2020-11-12 23:56 程序员小艺 阅读(221) 评论(0) 推荐(0) 编辑
摘要:1.登录微信公众平台,右键检查,然后搜索window.wx.uin,会看到类似window.wx.uin="12345678" || "0"的结果,复制数字使用base64工具加密即可 2.然后替换掉连接中的__biz参数 https://mp.weixin.qq.com/mp/profile_ex 阅读全文
posted @ 2020-11-09 11:46 程序员小艺 阅读(533) 评论(0) 推荐(0) 编辑
摘要:Creating a "topthink/think=5.1.*" project at "./fyiyy"Installing topthink/think (v5.1.40) - Installing topthink/think (v5.1.40): Extracting archiveCre 阅读全文
posted @ 2020-11-08 21:33 程序员小艺 阅读(1984) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2020-11-07 22:14 程序员小艺 阅读(44) 评论(0) 推荐(0) 编辑
摘要:centos8使用composer安装thinkphp5报错: 原因:php禁用了proc_open函数 解决方法:在php.ini中 查找disable_functions选项中是否有proc_open,如果有去掉即可。 阅读全文
posted @ 2020-11-07 20:58 程序员小艺 阅读(2078) 评论(0) 推荐(0) 编辑
摘要:centos8使用pip3 install mysqlclient 报错如下: Collecting mysqlclient Downloading http://mirrors.cloud.aliyuncs.com/pypi/packages/a5/e1/e5f2b231c05dc51d9d87f 阅读全文
posted @ 2020-11-07 13:20 程序员小艺 阅读(301) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示