兑换码管理订单接口

This commit is contained in:
red-deng-deng 2021-11-17 13:49:18 +08:00
parent e580ff879b
commit ec86479279
3 changed files with 55 additions and 31 deletions

View File

@ -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

View File

@ -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)