Skip to content

Commit

Permalink
添加品牌推荐功能
Browse files Browse the repository at this point in the history
  • Loading branch information
zhh committed Nov 12, 2018
1 parent c2efc31 commit 8fb60f6
Show file tree
Hide file tree
Showing 2 changed files with 411 additions and 2 deletions.
32 changes: 32 additions & 0 deletions src/api/homeBrand.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
import request from '@/utils/request'
export function fetchList(params) {
return request({
url:'/home/brand/list',
method:'get',
params:params
})
}

export function updateRecommendStatus(data) {
return request({
url:'/home/brand/update/recommendStatus',
method:'post',
data:data
})
}

export function deleteHomeBrand(data) {
return request({
url:'/home/brand/delete',
method:'post',
data:data
})
}

export function createHomeBrand(data) {
return request({
url:'/home/brand/create',
method:'post',
data:data
})
}
Loading

0 comments on commit 8fb60f6

Please sign in to comment.