Skip to content

Commit 7639f34

Browse files
committed
Merge branch 'master' of https://gitee.com/yudaocode/yudao-ui-admin-vue3 into feature/iot
2 parents 77e0a76 + 49fc9b5 commit 7639f34

File tree

94 files changed

+6122
-1737
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+6122
-1737
lines changed

.env.dev

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,6 @@ VITE_MALL_H5_DOMAIN='http://mall.yudao.iocoder.cn'
3232

3333
# 验证码的开关
3434
VITE_APP_CAPTCHA_ENABLE=true
35+
36+
# GoView域名
37+
VITE_GOVIEW_URL='http://127.0.0.1:3000'

.env.local

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,6 @@ VITE_MALL_H5_DOMAIN='http://localhost:3000'
2929

3030
# 验证码的开关
3131
VITE_APP_CAPTCHA_ENABLE=false
32+
33+
# GoView域名
34+
VITE_GOVIEW_URL='http://127.0.0.1:3000'

.env.prod

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,6 @@ VITE_OUT_DIR=dist-prod
2929

3030
# 商城H5会员端域名
3131
VITE_MALL_H5_DOMAIN='http://mall.yudao.iocoder.cn'
32+
33+
# GoView域名
34+
VITE_GOVIEW_URL='http://127.0.0.1:3000'

.env.stage

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,6 @@ VITE_OUT_DIR=dist-stage
2929

3030
# 商城H5会员端域名
3131
VITE_MALL_H5_DOMAIN='http://mall.yudao.iocoder.cn'
32+
33+
# GoView域名
34+
VITE_GOVIEW_URL='http://127.0.0.1:3000'

.env.test

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,6 @@ VITE_OUT_DIR=dist-test
2929

3030
# 商城H5会员端域名
3131
VITE_MALL_H5_DOMAIN='http://mall.yudao.iocoder.cn'
32+
33+
# GoView域名
34+
VITE_GOVIEW_URL='http://127.0.0.1:3000'

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "yudao-ui-admin-vue3",
3-
"version": "2.3.0-snapshot",
3+
"version": "2.4.0-snapshot",
44
"description": "基于vue3、vite4、element-plus、typesScript",
55
"author": "xingyu",
66
"private": false,
@@ -47,7 +47,7 @@
4747
"driver.js": "^1.3.1",
4848
"echarts": "^5.5.0",
4949
"echarts-wordcloud": "^2.1.0",
50-
"element-plus": "2.8.4",
50+
"element-plus": "2.9.1",
5151
"fast-xml-parser": "^4.3.2",
5252
"highlight.js": "^11.9.0",
5353
"jsencrypt": "^3.3.2",
@@ -96,8 +96,8 @@
9696
"@vitejs/plugin-vue": "^5.0.4",
9797
"@vitejs/plugin-vue-jsx": "^3.1.0",
9898
"autoprefixer": "^10.4.17",
99-
"bpmn-js": "8.10.0",
100-
"bpmn-js-properties-panel": "0.46.0",
99+
"bpmn-js": "^17.9.2",
100+
"bpmn-js-properties-panel": "5.23.0",
101101
"consola": "^3.2.3",
102102
"eslint": "^8.57.0",
103103
"eslint-config-prettier": "^9.1.0",

pnpm-lock.yaml

Lines changed: 309 additions & 130 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/api/login/index.ts

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@ export const register = (data: RegisterVO) => {
2222
return request.post({ url: '/system/auth/register', data })
2323
}
2424

25-
// 刷新访问令牌
26-
export const refreshToken = () => {
27-
return request.post({ url: '/system/auth/refresh-token?refreshToken=' + getRefreshToken() })
28-
}
29-
3025
// 使用租户名,获得租户编号
3126
export const getTenantIdByName = (name: string) => {
3227
return request.get({ url: '/system/tenant/get-id-by-name?name=' + name })
@@ -76,11 +71,17 @@ export const socialAuthRedirect = (type: number, redirectUri: string) => {
7671
})
7772
}
7873
// 获取验证图片以及 token
79-
export const getCode = (data) => {
74+
export const getCode = (data: any) => {
75+
debugger
8076
return request.postOriginal({ url: 'system/captcha/get', data })
8177
}
8278

8379
// 滑动或者点选验证
84-
export const reqCheck = (data) => {
80+
export const reqCheck = (data: any) => {
8581
return request.postOriginal({ url: 'system/captcha/check', data })
8682
}
83+
84+
// 通过短信重置密码
85+
export const smsResetPassword = (data: any) => {
86+
return request.post({ url: '/system/auth/sms-reset-password', data })
87+
}

src/api/mall/trade/brokerage/user/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ export interface BrokerageUserVO {
1313
avatar: string
1414
}
1515

16+
// 创建分销用户
17+
export const createBrokerageUser = (data: any) => {
18+
return request.post({ url: '/trade/brokerage-user/create', data })
19+
}
20+
1621
// 查询分销用户列表
1722
export const getBrokerageUserPage = async (params: any) => {
1823
return await request.get({ url: `/trade/brokerage-user/page`, params })

src/assets/svgs/bpm/delay.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)