Commit a4f59d595391541dcd04918cd7a461e59ed3de4e
1 parent
ab5f61ae
小程序导购接口名称大小写的错误
Showing
1 changed file
with
2 additions
and
2 deletions
pages/cart/cart2/cart2.js
| ... | ... | @@ -1431,7 +1431,7 @@ Page({ |
| 1431 | 1431 | goods.guide_id=gg.guide_id; |
| 1432 | 1432 | goods.guide_type=gg.guide_type; |
| 1433 | 1433 | //调用接口判断是不是会员 |
| 1434 | - await getApp().request.promiseGet("/api/weshop/shoppingGuide/getid/"+oo.stoid+"/"+gg.guide_id,{}).then(res=>{ | |
| 1434 | + await getApp().request.promiseGet("/api/weshop/shoppingGuide/getId/"+oo.stoid+"/"+gg.guide_id,{}).then(res=>{ | |
| 1435 | 1435 | if(res.data.code==0){ |
| 1436 | 1436 | goods.guide_name=res.data.data.salesman; |
| 1437 | 1437 | goods.guide_sn=res.data.data.salesman_no; |
| ... | ... | @@ -1631,7 +1631,7 @@ Page({ |
| 1631 | 1631 | goods.guide_id=g_item.guide_id; |
| 1632 | 1632 | goods.guide_type=g_item.guide_type; |
| 1633 | 1633 | //调用接口判断是不是会员 |
| 1634 | - await getApp().request.promiseGet("/api/weshop/shoppingGuide/getid/"+oo.stoid+"/"+g_item.guide_id,{}).then(res=>{ | |
| 1634 | + await getApp().request.promiseGet("/api/weshop/shoppingGuide/getId/"+oo.stoid+"/"+g_item.guide_id,{}).then(res=>{ | |
| 1635 | 1635 | if(res.data.code==0){ |
| 1636 | 1636 | goods.guide_name=res.data.data.salesman; |
| 1637 | 1637 | goods.guide_sn=res.data.data.salesman_no; | ... | ... |