You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
438 B
16 lines
438 B
|
6 years ago
|
import request from '@/config/request'
|
||
|
|
|
||
|
|
const baseUrl = '/stock/current'
|
||
|
|
|
||
|
|
export function search(data) {
|
||
|
|
return request.post(baseUrl + '/search', data).then(({data}) => data.data)
|
||
|
|
}
|
||
|
|
|
||
|
|
export function getDetail(cid) {
|
||
|
|
return request.get(baseUrl + '/getDetail?cid=' + cid).then(({data}) => data.data)
|
||
|
|
}
|
||
|
|
|
||
|
|
export function getDetailById(ids) {
|
||
|
|
return request.get(baseUrl + '/getDetailById?ids=' + ids).then(({data}) => data.data)
|
||
|
|
}
|