{"id":13600046,"url":"https://github.com/johnnyzhang1992/gushi_lite","last_synced_at":"2025-04-10T21:31:02.966Z","repository":{"id":110630873,"uuid":"122942500","full_name":"johnnyzhang1992/gushi_lite","owner":"johnnyzhang1992","description":"古诗文小助手（微信小程序）停止维护（2023-12-04）","archived":false,"fork":false,"pushed_at":"2023-12-04T03:19:44.000Z","size":1140,"stargazers_count":79,"open_issues_count":0,"forks_count":15,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-07T02:36:25.453Z","etag":null,"topics":["poem","weapp","wechat-app","wechat-mini-program","wechatapp","weixin-app"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johnnyzhang1992.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-02-26T09:04:15.000Z","updated_at":"2024-06-15T14:02:29.000Z","dependencies_parsed_at":"2023-12-04T04:22:11.209Z","dependency_job_id":null,"html_url":"https://github.com/johnnyzhang1992/gushi_lite","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnnyzhang1992%2Fgushi_lite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnnyzhang1992%2Fgushi_lite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnnyzhang1992%2Fgushi_lite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnnyzhang1992%2Fgushi_lite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnnyzhang1992","download_url":"https://codeload.github.com/johnnyzhang1992/gushi_lite/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248301327,"owners_count":21080874,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["poem","weapp","wechat-app","wechat-mini-program","wechatapp","weixin-app"],"created_at":"2024-08-01T18:00:20.400Z","updated_at":"2025-04-10T21:31:02.668Z","avatar_url":"https://github.com/johnnyzhang1992.png","language":"JavaScript","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# 古诗文小助手（微信小程序）\n\n这个是[学古诗](https://xuegushi.com) 网站的微信小程序。\n\n该小程序的目的是为了大家更方便简洁的学习中国传统古诗文，同时通过这些代码更多的学习使用小程序。\n\n\u003e 该项目为微信原生版本，[Taro 重构版](https://github.com/johnnyzhang1992/gushiTaro) 已上线,当前项目不再维护（2023-12-04）。\n\n## 文件目录\n\n- `apis`\n\n  API 接口统一请求文件\n\n- `component`\n\n  此目录是自定义组件部分\n\n- `images`\n\n  此目录下是小程序所用的一些图标，可以的话可以改为雪碧图。\n\n- `pages`\n\n  此目录下为小程序主要内容，各页面 View 和 js 文件\n\n- `style`\n\n  样式表，使用微信官方的[WeUi](https://weui.io)\n\n- `utils`\n\n  自己封装的一些工具\n\n- `wxSearchView`\n\n  此目录为搜索部分的使用的搜索功能模块。\n\n  搜索部分是在[天未](https://github.com/mindawei)的[wsSearchView](https://github.com/mindawei/wsSearchView)的基础上进行的改造和优化。\n\n## 作者\n\n👤 **johnnyzhang1992**\n\n- Website: [johnnyzhang.cn](https://xuegushi.com)\n- Github: [@johnnyzhang1992](https://github.com/johnnyzhang1992)\n\n## Show your support\n\nGive a ⭐️ if this project helped you!\n\n## License\n\nCopyright © 2019 [johnnyzhang1992](https://github.com/johnnyzhang1992).\n\n---\n\n## 注意事项\n\n- API 请求返回的数据尽量简洁\n- 使用定时器时，当退出当前页面时应该注销（onHide,onUnload）\n- 没有在 wxml 里面使用到的数据尽量不要放到 page.data 里面\n\n## API 使用指南\n\n- API Get 类的方法可以正常使用，POST 类的请求需要用户 openid 不建议使用（例如：收藏以及个人中心相关接口。\n- 用户创建失败的问题。创建用户的逻辑涉及后端解密(和项目的 appid 有关,不同的项目 appid 不同)，会导致解密失败，从而导致用户创建失败。\n\n## 小程序二维码\n\n![古诗文小助手](./images/xcx.jpg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnnyzhang1992%2Fgushi_lite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnnyzhang1992%2Fgushi_lite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnnyzhang1992%2Fgushi_lite/lists"}