def delcart(self, url, data):
     """移除购物车"""
     url = self.url + url
     return SendMethod.sendmethod(url=url, data=data)
 def get_cart(self, url, data):
     """查看购物车"""
     url = self.url + url
     return SendMethod.sendmethod(url=url, data=data)
 def upcart(self, url, data):
     """更新购物车接口"""
     url = self.url + url
     return SendMethod.sendmethod(url=url, data=data)
 def create_cart(self, url, data):
     """添加购物车接口"""
     url = self.url + url
     return SendMethod.sendmethod(url=url, data=data)