摘要: 第一种:静态方法封装,接口调用入参定义一个(默认json),直接执行接口请求 接口封装代码如下: class OrderTransactionService: @staticmethod def getComboProductList(body): url = http_host + '/servi 阅读全文
posted @ 2024-06-05 14:04 happyyangyanghappy 阅读(5) 评论(0) 推荐(0) 编辑