Skip to content

Commit

Permalink
chore(frontend): 重命名为 wechat (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
yansongda authored May 15, 2024
1 parent 06f6d09 commit 6a6a0ed
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 18 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
## v1.5.1

### chore

- chore(frontend): 重命名改为 `wechat`(#69)

## v1.5.0

### chore

- chore(backend): 数据库改为 `wechat`(#67, #68)
- chore(backend): 重命名改为 `wechat`(#67, #68)

## v1.4.3

Expand Down
2 changes: 1 addition & 1 deletion miniprogram/constant/accessToken.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const URL = {
LOGIN: "/api/v1/access-token/login",
LOGIN: "/miniprogram/api/v1/access-token/login",
};

export { URL };
2 changes: 1 addition & 1 deletion miniprogram/constant/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const STORAGE = {
};

const URL = {
BASE: "https://miniprogram.yanda.net.cn",
BASE: "https://wechat.yanda.net.cn",
};

export { STORAGE, URL };
2 changes: 1 addition & 1 deletion miniprogram/constant/shortUrl.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const URL = {
CREATE: "/api/v1/short-url/create",
CREATE: "/miniprogram/api/v1/short-url/create",
};

export { URL };
10 changes: 5 additions & 5 deletions miniprogram/constant/totp.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
const URL = {
ALL: "/api/v1/totp/all",
DETAIL: "/api/v1/totp/detail",
CREATE: "/api/v1/totp/create",
UPDATE: "/api/v1/totp/update",
DELETE: "/api/v1/totp/delete",
ALL: "/miniprogram/api/v1/totp/all",
DETAIL: "/miniprogram/api/v1/totp/detail",
CREATE: "/miniprogram/api/v1/totp/create",
UPDATE: "/miniprogram/api/v1/totp/update",
DELETE: "/miniprogram/api/v1/totp/delete",
};

export { URL };
4 changes: 2 additions & 2 deletions miniprogram/constant/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ const DEFAULT = {
};

const URL = {
DETAIL: "/api/v1/users/detail",
UPDATE: "/api/v1/users/update",
DETAIL: "/miniprogram/api/v1/users/detail",
UPDATE: "/miniprogram/api/v1/users/update",
};

export { DEFAULT, URL };
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "yansongda",
"version": "1.4.3",
"version": "1.5.1",
"description": "miniprogram for yansongda",
"type": "module",
"scripts": {
Expand All @@ -19,6 +19,6 @@
"typescript": "^5.4.5"
},
"dependencies": {
"tdesign-miniprogram": "^1.3.1"
"tdesign-miniprogram": "^1.4.0"
}
}
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6a6a0ed

Please sign in to comment.