Commit 94304c18 by liuliufashi

update

parent 90486b11
...@@ -168,8 +168,7 @@ export const onDelectgoodpay = async(data:any)=>{ ...@@ -168,8 +168,7 @@ export const onDelectgoodpay = async(data:any)=>{
console.log(data,'data'); console.log(data,'data');
return await request({ return await request({
url: `/goods/delectgoodpay?goodspayid=${data.goodsid}&uid=${data.uid}`, url: `/goods/delectgoodpay?goodspayid=${data.goodspayid}&uid=${data.uid}`,
method:'post', method:'post',
}); });
} }
\ No newline at end of file
// /goods/delectgoodpay
\ No newline at end of file
...@@ -290,7 +290,7 @@ const onSet = async(index:string)=>{ ...@@ -290,7 +290,7 @@ const onSet = async(index:string)=>{
const onDel = async (e: any) => { const onDel = async (e: any) => {
const prarms = { const prarms = {
uid:getUid(), uid:getUid(),
goodsid:e.id goodspayid:e.id
} }
const data:any = await onDelectgoodpay(prarms) const data:any = await onDelectgoodpay(prarms)
if(data.state == 1){ if(data.state == 1){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment