单个门店改为列表与配置新增uni页面配置
This commit is contained in:
@ -1,12 +1,20 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function get() {
|
||||
export function add(data) {
|
||||
return request({
|
||||
url: 'api/yxSystemStore',
|
||||
method: 'get'
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// export function get() {
|
||||
// return request({
|
||||
// url: 'api/yxSystemStore',
|
||||
// method: 'get'
|
||||
// })
|
||||
// }
|
||||
|
||||
export function getL(data) {
|
||||
return request({
|
||||
url: 'api/yxSystemStore/getL',
|
||||
@ -23,7 +31,7 @@ export function del(ids) {
|
||||
})
|
||||
}
|
||||
|
||||
export function update(data) {
|
||||
export function edit(data) {
|
||||
return request({
|
||||
url: 'api/yxSystemStore',
|
||||
method: 'put',
|
||||
@ -31,4 +39,4 @@ export function update(data) {
|
||||
})
|
||||
}
|
||||
|
||||
export default { get, getL, update, del }
|
||||
export default { getL, add, edit, del }
|
||||
|
Reference in New Issue
Block a user