feat: 完善前端

This commit is contained in:
橙子
2023-10-08 22:59:22 +08:00
parent 68d072cd60
commit c9592446c8
14 changed files with 119 additions and 71 deletions

View File

@@ -1,17 +1,16 @@
import myaxios from '@/utils/myaxios'
import { ArticleEntity } from '@/type/interface/ArticleEntity'
export default {
add(data:any) {
return myaxios({
url: `/article/add`,
url: `/Trends`,
method: 'post',
data: data
})
},
pageList(data:any) {
return myaxios({
url: '/article/pageList',
url: '/Trends',
method: 'get',
params: data
})

View File

@@ -33,7 +33,7 @@ export function register(data:any) {
// 获取用户详细信息
export function getInfo() {
return myaxios({
url: '/account/getUserAllInfo',
url: '/account',
method: 'get'
})
}