Sen descrición

fuwencai 837fe206c1 wip: 调整缓存时间 hai 3 meses
back-end 837fe206c1 wip: 调整缓存时间 hai 3 meses
jypoints-mobile 7d6a1b5b7c feat:eslint语法错误修复 hai 1 ano
jypoints-pc b7a45a1778 feat: 添加txt文件格式标志 hai 1 ano
.gitignore c72846f87a fix: 修改包名、跳转路径名 %!s(int64=4) %!d(string=hai) anos
README.md bc2e47cf2a 分支说明 %!s(int64=2) %!d(string=hai) anos

README.md

积分应用 -- 关键词: 积分、剑鱼币、文库

1. back-end 后端


2. jypoints-mobile 移动端

项目基于 vue & vant & ts 搭建单页面实例

应用平台:微信端、App端

cli
┬
├── public
│  └── index.html     模板页面
├── src							  页面逻辑代码
│  ├── api        		接口配置信息
│  ├── assets        	静态资源
│  ├── components     全局共用组件
│  ├── router         前端路由
│  ├── store          全局状态
│  ├── style          全局样式
│  ├── utils          工具函数等
│  └── views          每个页面(视图)
├── package.json
└── vue.config.js

3. jypoints-pc pc端

采用Single-SPA微前端架构,避免后期多次同步修改剑鱼公用头部导航及底部、登录等

3.1 目录结构
├── App.vue
├── api                     # 接口请求
│   ├── index.js
│   ├── mock                # 本机开发模拟接口JSON
│   │   └── test$ajax.json
│   ├── mock.js
│   └── modules
│       └── user.js
├── assets                  # 静态资源
│   └── style
│       ├── _mixin.scss
│       └── _variables.scss
├── components              # 全局共用组件
│ 
├── main.js
├── router.js
├── set-public-path.js      # 设置single-spa 路径
└── views                   # 视图

3.2 无顶部底部开发

yarn run serve:alone

3.3 接入顶部开发调试
  1. yarn run serve

  2. 本机启动剑鱼Web主程序

  3. 修改systemjs-importmap中app对应的请求地址

    文件地址 /src/web/templates/frontRouter/pc/integral/sess/index.html

  4. 访问/swordfish/integral/index

4. 接口文档

  1. https://showdoc.jianyu360.cn/web/#/34?page_id=629 (剑鱼积分)