摘要: #遍历字典, 分别打印key, value, key:value emp = {'name':'Tom', 'age':20, 'salary' : 8800.00} for k in emp.keys(): print('key = {}'.format(k)) for v in emp.valu 阅读全文
posted @ 2022-11-28 14:53 门徒21 阅读(395) 评论(0) 推荐(0) 编辑
摘要: Promise.all([ request({ url: urlPrefix_custom, method: 'get', params: querys }) ]).then((res)=>{ console.log(" 自定义事件详情数据导出,回调数据 ") console.log(res[0]. 阅读全文
posted @ 2022-11-28 14:05 门徒21 阅读(991) 评论(0) 推荐(0) 编辑
摘要: 获取带参数URL:request.get_all_path() 获取不带参数URL:request.path 获取主机地址:request.get_host() 阅读全文
posted @ 2022-11-28 13:31 门徒21 阅读(17) 评论(0) 推荐(0) 编辑