forked from macrozheng/mall-admin-web
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
zhh
committed
Nov 12, 2018
1 parent
c2efc31
commit 8fb60f6
Showing
2 changed files
with
411 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
}) | ||
} |
Oops, something went wrong.