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 19, 2018
1 parent
fc34f1b
commit 04f9f7e
Showing
6 changed files
with
469 additions
and
17 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,28 @@ | ||
import request from '@/utils/request' | ||
export function fetchList(params) { | ||
return request({ | ||
url:'/flashProductRelation/list', | ||
method:'get', | ||
params:params | ||
}) | ||
} | ||
export function createFlashProductRelation(data) { | ||
return request({ | ||
url:'/flashProductRelation/create', | ||
method:'post', | ||
data:data | ||
}) | ||
} | ||
export function deleteFlashProductRelation(id) { | ||
return request({ | ||
url:'/flashProductRelation/delete/'+id, | ||
method:'post' | ||
}) | ||
} | ||
export function updateFlashProductRelation(id,data) { | ||
return request({ | ||
url:'/flashProductRelation/update/'+id, | ||
method:'post', | ||
data:data | ||
}) | ||
} |
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 |
---|---|---|
@@ -1,35 +1,48 @@ | ||
import request from '@/utils/request' | ||
|
||
export function fetchList(params) { | ||
return request({ | ||
url:'/flashSession/list', | ||
method:'get', | ||
params:params | ||
url: '/flashSession/list', | ||
method: 'get', | ||
params: params | ||
}) | ||
} | ||
export function updateStatus(id,params) { | ||
|
||
export function fetchSelectList(params) { | ||
return request({ | ||
url:'/flashSession/update/status/'+id, | ||
method:'post', | ||
params:params | ||
url: '/flashSession/selectList', | ||
method: 'get', | ||
params: params | ||
}) | ||
} | ||
|
||
export function updateStatus(id, params) { | ||
return request({ | ||
url: '/flashSession/update/status/' + id, | ||
method: 'post', | ||
params: params | ||
}) | ||
} | ||
|
||
export function deleteSession(id) { | ||
return request({ | ||
url:'/flashSession/delete/'+id, | ||
method:'post' | ||
url: '/flashSession/delete/' + id, | ||
method: 'post' | ||
}) | ||
} | ||
|
||
export function createSession(data) { | ||
return request({ | ||
url:'/flashSession/create', | ||
method:'post', | ||
data:data | ||
url: '/flashSession/create', | ||
method: 'post', | ||
data: data | ||
}) | ||
} | ||
export function updateSession(id,data) { | ||
|
||
export function updateSession(id, data) { | ||
return request({ | ||
url:'/flashSession/update/'+id, | ||
method:'post', | ||
data:data | ||
url: '/flashSession/update/' + id, | ||
method: 'post', | ||
data: data | ||
}) | ||
} |
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
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
Oops, something went wrong.