兑换码管理订单接口
This commit is contained in:
parent
e580ff879b
commit
ec86479279
|
@ -1,11 +1,6 @@
|
||||||
|
|
||||||
export const baseurl = 'http://market.api.system.com'
|
export const baseurl = 'http://market.api.system.com'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// 通用公用方法(get和post)
|
// 通用公用方法(get和post)
|
||||||
const req = (method, url, params, responseType) => {
|
const req = (method, url, params, responseType) => {
|
||||||
if(method == "get")
|
if(method == "get")
|
||||||
|
@ -82,7 +77,13 @@ export const putKeyEmail = (id,params) => {
|
||||||
return req('put', baseurl + "/keys/receive/:"+id, params)
|
return req('put', baseurl + "/keys/receive/:"+id, params)
|
||||||
}
|
}
|
||||||
|
|
||||||
//销售单中的出库
|
|
||||||
|
// 兑换码管理
|
||||||
|
//兑换码管理列表
|
||||||
|
export const getCodesList = (params) => {
|
||||||
|
return req('get', baseurl + "/codes", params)
|
||||||
|
}
|
||||||
|
|
||||||
export {
|
export {
|
||||||
req
|
req
|
||||||
}
|
}
|
File diff suppressed because one or more lines are too long
|
@ -232,6 +232,9 @@ export default class acclist extends React.Component{
|
||||||
}
|
}
|
||||||
componentWillMount(){
|
componentWillMount(){
|
||||||
this.setState({tableHeight:window.innerHeight-390});
|
this.setState({tableHeight:window.innerHeight-390});
|
||||||
|
}
|
||||||
|
componentDidMount(){
|
||||||
|
|
||||||
}
|
}
|
||||||
sureFn(){
|
sureFn(){
|
||||||
// this.setVisible(false)
|
// this.setVisible(false)
|
||||||
|
|
Loading…
Reference in New Issue