diff --git a/cityNew/小程序.md b/cityNew/小程序.md new file mode 100644 index 0000000..459b99e --- /dev/null +++ b/cityNew/小程序.md @@ -0,0 +1,28 @@ +| AppID(小程序ID) | wx2b2ec2ba5ee694bc | +| --------------------- | ------------------ | +| smallzhiyun@gmail.com | | + +| 原始ID | gh_a3692ee8e69f微信客服 企业 id: `wwb04af9a97514271c` | +| ---- | ------------------------------------------------ | + +视频号id: `sphqzUmI0BlppCI` + +客服链接: `[微信客服](https://work.weixin.qq.com/kfid/kfc70f3f112c97a54c5) + +--- + +- 山峰距离排序 + +- 地图导航lbs + +- 天气 (一周) + +- 活动状态: 立即报名/ 取消 | 待审核 | 待参加 | 已结束 + +- 校验登录态 + +- 打卡- 朋友圈 [展示] + +- 首页信息流 + +- 消息推送 diff --git a/cityNew/微信小程序开发.md b/cityNew/微信小程序开发.md new file mode 100644 index 0000000..2a41c8f --- /dev/null +++ b/cityNew/微信小程序开发.md @@ -0,0 +1,89 @@ +## 微信小程序开发 + +> 开发背景 + +作为一个长期的资深宅男,是时候经常去户外呼吸下新鲜空气,贴近大自然,而在深圳这种快节奏的城市, 唯有爬山, + +![Screen Shot 2022-11-27 at 17.33.17.png](/Users/eric/Documents/marktext/images/b7fc0f881c68ba0c072034da23536018c723e9ba.png) + +> 预约报名 + +使用`个人主体`开发一款预约报名的`微信小程序`,历史背景,在此之前也开发过,不过由于每次提交审核, 都会被驳回,理由是质问使用的`知晓云sdk" 是什么用途,于是就懒得维护了 + +在微信云开发推出之前,小程序依靠知晓云的baas服务,进行数据的CURD增删查改,以及cms管理后台 + +Screen Shot 2022-11-27 at 17.33.58.png + +> 微信云开发 + +鉴于云开发,是微信团队主推的自家服务,免鉴权集成,数据库/内容存储/静态网站/云托管等服务应有,于是开始重构 + +- 使用taro多端框架 (react) + +- vant-ui + +- 微信云开发 (后端) + +Screen Shot 2022-11-27 at 17.31.39.png + +--- + +## 开发问题 + +Screen Shot 2022-11-27 at 17.41.44.png + +> 隐私问题 + +以前的小程序, 点一下按钮可以拿到非常多的用户信息 + +手机硬件/软件的多个维度 + +用户的省份/城市/性别/昵称/头像 + +而现在,即使是昵称/头像,都要`专用的组件和api,`用户体验也非常差 + +其他的信息基本拿不到了,没法做数据分析 + +而`手机号/发票`类似的, 只有`企业认证`的主体,才有权限 + +> 权限问题 + +微信文档的api非常全,但是适用于`个人`主体的开放openapi,非常少 + +最常见的form表单,是基本不允许的,不能收集用户相关信息 + +> 开发问题 + +开发小程序,不是传统的前端/后端/运维部署, 很多功能实现基于云开发特有的`云函数`所以要对微信开发者工具IDE, 和 一些概念有理解和实践 + +本身还有一些bug,比如展示的2张图片,是同一个存储库,会有渲染异常,偶现 + +--- + +## 微信生态 + +> 公众号与个人微信 + +原本以为小程序,只是实现app一样的功能, 却发现微信生态是环环相扣的 + +- 公众号/视频号/小程序/小商店/小游戏 + +个人小程序支持 + +1. 引导关注公众号 [扫码场景] + +2. 长按识别个人微信二维码 + +Screen Shot 2022-11-27 at 17.44.37.png + +--- + +## 其他延伸 + +> 微信服务,已经庞大到难以想象 + +由于IOS的小程序,没有`发送到桌面`的功能, 目前android手机使用频率很高 + +桌面上,几乎都是小程序 + +至于为什么,简单说不清楚了, diff --git a/2022-08/.md b/date/2022-08/.md similarity index 100% rename from 2022-08/.md rename to date/2022-08/.md diff --git a/2022-08/test.md b/date/2022-08/test.md similarity index 100% rename from 2022-08/test.md rename to date/2022-08/test.md diff --git a/2022-08/wordpress修改 b/date/2022-08/wordpress修改 similarity index 100% rename from 2022-08/wordpress修改 rename to date/2022-08/wordpress修改 diff --git a/2022-08/wordpress独立博客.md b/date/2022-08/wordpress独立博客.md similarity index 100% rename from 2022-08/wordpress独立博客.md rename to date/2022-08/wordpress独立博客.md diff --git a/2022-08/使用wordpress修改 b/date/2022-08/使用wordpress修改 similarity index 100% rename from 2022-08/使用wordpress修改 rename to date/2022-08/使用wordpress修改 diff --git a/2022-08/折腾手机.md b/date/2022-08/折腾手机.md similarity index 100% rename from 2022-08/折腾手机.md rename to date/2022-08/折腾手机.md diff --git a/2022-08/路由器后续.md b/date/2022-08/路由器后续.md similarity index 100% rename from 2022-08/路由器后续.md rename to date/2022-08/路由器后续.md diff --git a/date/2022-11/think.md b/date/2022-11/think.md new file mode 100644 index 0000000..c4285eb --- /dev/null +++ b/date/2022-11/think.md @@ -0,0 +1,11 @@ +rss. [freshrdss] + +wordpress [english] + +--- + +keep + +digital nomad + +--- diff --git a/date/2022-12/晨飞博客.md b/date/2022-12/晨飞博客.md new file mode 100644 index 0000000..02c1192 --- /dev/null +++ b/date/2022-12/晨飞博客.md @@ -0,0 +1,19 @@ +wordpress + +跨境电商-硬件 + +英语/技术 + + + +keep + +wordpress sns rss + +nethunter + +ios + +dingtalk + +scommerce diff --git a/fastapi/慕课fastapi.md b/fastapi/慕课fastapi.md new file mode 100644 index 0000000..52e98b3 --- /dev/null +++ b/fastapi/慕课fastapi.md @@ -0,0 +1,63 @@ +异步 + +高性能 + +自动生成swaager文档 [调试] + +官网文档友好 + + + +uvicorn是python库,pip包, 不能在linux直接安装 [异步web服务部署] + +gunicorn是linux库 + + + +使用虚拟环境 + +生成requirement.txt + +打包exe + +docker部署 + + + +## pydantic + +https://docs.pydantic.dev/ + +Screen Shot 2022-12-14 at 09.12.08.png + +`python解包` user=User(**XXX) 类似于 js的结构赋值 + +dict与obj的区别 + +vscode python开插件 + + + +数据库操作orm sqlalchemy + +![Screen Shot 2022-12-14 at 09.18.40.png](/Users/eric/Documents/marktext/images/81d743fc638bdf36deb3829680cf523ff1e1febd.png) + + + +路径参数/查询参数/请求体 + +终端启动命令 + +![Screen Shot 2022-12-14 at 09.25.34.png](/Users/eric/Documents/marktext/images/df5cda3b9ab14fb62674851490b8d6b3f0d88e91.png) + +也可以在程序内启动 + +![Screen Shot 2022-12-14 at 09.38.52.png](/Users/eric/Documents/marktext/images/ab9cc13c0a827c617e0eee658d8b7b33d23242d1.png) + + + +异步async await + + + +大型应用目录结构设计 diff --git a/images/350d5d2e9a897c1371c0755735818de0580ba717.jpeg b/images/350d5d2e9a897c1371c0755735818de0580ba717.jpeg new file mode 100644 index 0000000..9d7773c Binary files /dev/null and b/images/350d5d2e9a897c1371c0755735818de0580ba717.jpeg differ diff --git a/images/54f3f8471c583b62e1c38102adc6a57311f1ea57.png b/images/54f3f8471c583b62e1c38102adc6a57311f1ea57.png new file mode 100644 index 0000000..06c4de5 Binary files /dev/null and b/images/54f3f8471c583b62e1c38102adc6a57311f1ea57.png differ diff --git a/images/621c04eda54b1754af3998ccf3cc94af674425b3.png b/images/621c04eda54b1754af3998ccf3cc94af674425b3.png new file mode 100644 index 0000000..033630f Binary files /dev/null and b/images/621c04eda54b1754af3998ccf3cc94af674425b3.png differ diff --git a/images/81d743fc638bdf36deb3829680cf523ff1e1febd.png b/images/81d743fc638bdf36deb3829680cf523ff1e1febd.png new file mode 100644 index 0000000..02e15e8 Binary files /dev/null and b/images/81d743fc638bdf36deb3829680cf523ff1e1febd.png differ diff --git a/images/ab9cc13c0a827c617e0eee658d8b7b33d23242d1.png b/images/ab9cc13c0a827c617e0eee658d8b7b33d23242d1.png new file mode 100644 index 0000000..ff0a8b8 Binary files /dev/null and b/images/ab9cc13c0a827c617e0eee658d8b7b33d23242d1.png differ diff --git a/images/b3a82e7a5785d4fe00dc9593970a3b82373c38e7.png b/images/b3a82e7a5785d4fe00dc9593970a3b82373c38e7.png new file mode 100644 index 0000000..25dba4f Binary files /dev/null and b/images/b3a82e7a5785d4fe00dc9593970a3b82373c38e7.png differ diff --git a/images/b7fc0f881c68ba0c072034da23536018c723e9ba.png b/images/b7fc0f881c68ba0c072034da23536018c723e9ba.png new file mode 100644 index 0000000..23cd44d Binary files /dev/null and b/images/b7fc0f881c68ba0c072034da23536018c723e9ba.png differ diff --git a/images/c672dab3f89aeffd45b6290f1885d5bcb9fa4f2f.png b/images/c672dab3f89aeffd45b6290f1885d5bcb9fa4f2f.png new file mode 100644 index 0000000..e4bf63b Binary files /dev/null and b/images/c672dab3f89aeffd45b6290f1885d5bcb9fa4f2f.png differ diff --git a/images/df5cda3b9ab14fb62674851490b8d6b3f0d88e91.png b/images/df5cda3b9ab14fb62674851490b8d6b3f0d88e91.png new file mode 100644 index 0000000..a020a94 Binary files /dev/null and b/images/df5cda3b9ab14fb62674851490b8d6b3f0d88e91.png differ diff --git a/images/f9f348dbf0b7880b397020504d51275c6f09696e.png b/images/f9f348dbf0b7880b397020504d51275c6f09696e.png new file mode 100644 index 0000000..b009f2f Binary files /dev/null and b/images/f9f348dbf0b7880b397020504d51275c6f09696e.png differ diff --git a/life/放假安排.md b/life/放假安排.md new file mode 100644 index 0000000..4e80d11 --- /dev/null +++ b/life/放假安排.md @@ -0,0 +1,25 @@ +## 小程序 + +- 头像转动漫 [软文] + +- exif元信息 [软文] + +- 同城*户外*爬山 [小红书自动化bot, 开发板] + +- 相亲小程序 [公司] [广告投放] + +- 蓝牙小程序 [智能浇花][二次开发] + +--- + +## 证书 + +- BEC中级 + +- 驾照 + +--- + + + + diff --git a/note/.md b/note/.md new file mode 100644 index 0000000..e69de29 diff --git a/note/2022-12-08.md b/note/2022-12-08.md new file mode 100644 index 0000000..0556f91 --- /dev/null +++ b/note/2022-12-08.md @@ -0,0 +1,9 @@ +健身 + +学车 + +微信小程序 + +硬件开发 + +公众号/视频号 diff --git a/note/life.md b/note/life.md new file mode 100644 index 0000000..82f38dd --- /dev/null +++ b/note/life.md @@ -0,0 +1,11 @@ +keep / 买衣服/ 造型 + +apple硬件 + +rss (sns) => wordpress + +raspberry pi [pyton linux] + +girl [wechat]/ 车子/房子 + +dingtalk diff --git a/note/think.md b/note/think.md new file mode 100644 index 0000000..f9a4909 --- /dev/null +++ b/note/think.md @@ -0,0 +1,5 @@ +keep /买衣服 + +rss/wordpress + +raspberry pi [ecommerce] /sns => python| linux [硬件] diff --git a/work/10.31.md b/work/10.31.md new file mode 100644 index 0000000..4b3eaec --- /dev/null +++ b/work/10.31.md @@ -0,0 +1,13 @@ +```inboundOrderTypes +inboundOrderTypes 入库已审核 +``` + +inboundOrderTypes: [2, 3] + + + + + + + +