Skip to content

Commit

Permalink
Merge pull request #121 from go-admin-team/dev
Browse files Browse the repository at this point in the history
merge dev
  • Loading branch information
wenjianzhang authored Jun 19, 2021
2 parents 548cab6 + 83b4a97 commit 0962756
Show file tree
Hide file tree
Showing 29 changed files with 34 additions and 3,517 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "go-admin",
"version": "2.0.0-beta.5",
"version": "2.0.0-beta.6",
"description": "A magical vue admin. An out-of-box UI solution for enterprise applications. Newest development stack of vue. Lots of awesome features",
"author": "https://github.com/wenjianzhang",
"license": "MIT",
Expand Down
5 changes: 3 additions & 2 deletions src/api/admin/dict/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ export function updateData(data) {
// 删除字典数据
export function delData(dictCode) {
return request({
url: '/api/v1/dict/data/' + dictCode,
method: 'delete'
url: '/api/v1/dict/data',
method: 'delete',
data: dictCode
})
}

Expand Down
5 changes: 3 additions & 2 deletions src/api/admin/sys-post.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ export function updatePost(data, id) {
// 删除岗位
export function delPost(postId) {
return request({
url: '/api/v1/post/' + postId,
method: 'delete'
url: '/api/v1/post',
method: 'delete',
data: postId
})
}

46 changes: 0 additions & 46 deletions src/api/cms/sys-category.js

This file was deleted.

46 changes: 0 additions & 46 deletions src/api/cms/sys-content.js

This file was deleted.

54 changes: 0 additions & 54 deletions src/api/file.js

This file was deleted.

46 changes: 0 additions & 46 deletions src/api/syschinaareadata.js

This file was deleted.

Loading

0 comments on commit 0962756

Please sign in to comment.