摘要: ## Postman 脚本处理发送参数 pre-request 发送请求前的sign操作 let openDomain = pm.environment.get("openApiDomain"); let url = openDomain + "/test/open_sign"; let reque 阅读全文
posted @ 2021-10-26 13:52 Au_ww 阅读(58) 评论(0) 推荐(0) 编辑
摘要: IsSecure() func 失效问题 nginx部署好https后,this.Ctx.Input.IsSecure() 返回 false的 解决方法,nginx的conf中需要加入 proxy_set_header X-Forwarded-Proto $scheme; location / { 阅读全文
posted @ 2021-08-27 18:10 Au_ww 阅读(45) 评论(0) 推荐(0) 编辑
摘要: --练手实操-- 新建git项目 新建beego项目 bee new shorturl_on_beego 预先构想 描述 实现将长链接转换为短链接的功能 使用MySQL记录数据 功能划分 接口1 长链接转短链接 接口2 短链接反查长链接 功能3 访问短链接,跳转至长链接 代码实现 引入数据库 定义数 阅读全文
posted @ 2021-07-28 16:44 Au_ww 阅读(94) 评论(0) 推荐(0) 编辑
摘要: ##概念 消息队列概念 队列结构的中间件 消息放入后,不需要立即处理 由订阅者/消费者按顺序处理 业务系统入队数据至消息队列,队列处理系统依次出队数据,进行处理 应用场景 冗余 解耦 流量削峰(秒杀,定时开售) 异步通信 扩展性(新增模块只需订阅该消息队列) 排序保证 优缺点 Mysql:可靠性高、 阅读全文
posted @ 2021-07-20 17:14 Au_ww 阅读(226) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2021-05-10 16:42 Au_ww 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 访问路径 结果 http://localhost:8080/ Hello from / http://localhost:8080/home Same as app.Handle("GET", "/", [...]) http://localhost:8080/u/some/path 😒tring 阅读全文
posted @ 2021-03-29 16:45 Au_ww 阅读(544) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2021-01-04 21:23 Au_ww 阅读(4) 评论(0) 推荐(0) 编辑
摘要: intervention/image https://github.com/Intervention/image 图片处理 reliese/laravel https://github.com/reliese/laravel models 生成器 barryvdh/laravel-ide-helpe 阅读全文
posted @ 2020-09-29 21:59 Au_ww 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 服务容器 Laravel 中的容器 绑定 由 服务提供者进行 $this->app->bind('HelpSpot\Api', function($app){ return new HelpSpot\API($app->make('HttpClient')); }); $this->app->sin 阅读全文
posted @ 2020-09-03 16:05 Au_ww 阅读(202) 评论(0) 推荐(0) 编辑
摘要: SVG基本图形和属性 基本图形 <rect> 长方形 x y width height rx ry <circle> 圆形 cx cy r <ellipse> 椭圆 cx cy rx ry <line> 直线 x1 y1 x2 y2 <polyline> 折线 points="x1 y1 x2 y2 阅读全文
posted @ 2020-09-01 15:58 Au_ww 阅读(186) 评论(0) 推荐(0) 编辑