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.
|
|
|
|
import request from "@/api/request"
|
|
|
|
|
|
|
|
|
|
export const baseUrl = '/stock/current'
|
|
|
|
|
|
|
|
|
|
export function search(data) {
|
|
|
|
|
return request.post(`${baseUrl}/search`, data).then(({data}) => data.data)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export function getDetail(cids) {
|
|
|
|
|
return request.get(`${baseUrl}/getDetail?cids=${cids}`).then(({data}) => data.data)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export function getDetailById(ids) {
|
|
|
|
|
return request.get(`${baseUrl}/getDetailById?ids=${ids}`).then(({data}) => data.data)
|
|
|
|
|
}
|