摘要: # 支付 # 被调用 class AliPay(object): """ 支付宝支付接口(PC端支付接口) """ def __init__(self): self.config = settings if not self.config.ALI_APPID: raise Exception('Yo 阅读全文
posted @ 2020-07-28 17:57 关美丽 阅读(481) 评论(0) 推荐(0) 编辑
摘要: # 退款 code = json_data.get('code', None)kind = json_data.get('kind', None)print(1111111111111111112222222222222222)if code is None: return HttpResponse 阅读全文
posted @ 2020-07-28 17:42 关美丽 阅读(185) 评论(0) 推荐(0) 编辑
摘要: health = sorted(healths, key=lambda k: k['sort'])# healths列表名,sort是字段名 阅读全文
posted @ 2020-07-28 17:30 关美丽 阅读(3678) 评论(0) 推荐(1) 编辑