Skip to main content

更新: 微信支付SDK - 分离V1和V2两个版本, V1版本需要手动更改库中config.py文件的配置

Project description

常用函数包

    1. 项目根目录下必须包含config.py文件
  • 支付接口编写规范: 支付服务_代码规范.py

更细说明

  • 1.0.69 : 更新 Errors.py中的异常码
  • 1.0.70 : 阿里云 异步短信验证码接口. 注意: 阿里云SDK需单独安装, 安装包在需要用的功能文件中列出
  • 1.0.71 : 调整异步短信接口命名
    • SMS_发送短息ASYNC --> SMS_发送短信v2.py
    • "SMS_发送短信v2", 合并同步短信接口,统一使用阿里V2 SDK.
  • 1.0.72 : 新增: msvc_user_auth 手机登录\注册相关 interface , api
  • 1.0.73 : msvc_user_auth interface异常返回,少嵌套一层detail
  • 1.0.80 : 更改: 微信支付SDK - 分离V1和V2两个版本, V1版本需要手动更改库中config.py文件的配置
  • 1.0.81 : 修改: config.py文件中的 支付宝配置为路径
  • 1.0.82 : ERROR code 增加: 数据查询失败, 数据增加失败, 数据删除失败, 数据更新失败
  • 1.0.83 : Funcs/fastapi_logger.py 优化,可自主设置logger文件名
  • 1.0.84 : 修复logger bug, 新增异步文件logger
  • 1.0.85 : 阿里云 发送短信, 更改 短信模板传参类型为str
  • 1.0.86 : 阿里云 发送短信v2, 更改 短信模板传参类型为str
  • 1.0.87 : 支付宝支付,新增支付回调预处理函数:SDK_支付宝.支付服务_async
  • 1.0.88 : bug fix1: 支付宝支付 - 回调地址引用错误
  • 1.0.89 : bug fix2: 支付宝支付 - 回调地址传参优化
  • 1.1.0 : bug fix:修复以下异常的抛出错误:重复嵌套
  • 1.1.1 : bug fix: 支付宝回调时,模型pydantic验证失败,默认改为空字符串
  • 1.1.2 : bug fix: 支付宝回调时,模型pydantic验证失败,默认改为None
{
  "data": {
		"detail": {
			"error_code": 400,
			"detail": "查询订单接口调用失败: 400: {'error_code': 500001, 'detail': '查询订单失败: Business Failed,交易不存在'}"
		}
	}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

app_tools_zxw-1.1.2.tar.gz (92.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

app_tools_zxw-1.1.2-py3-none-any.whl (153.5 kB view details)

Uploaded Python 3

File details

Details for the file app_tools_zxw-1.1.2.tar.gz.

File metadata

  • Download URL: app_tools_zxw-1.1.2.tar.gz
  • Upload date:
  • Size: 92.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.11.1 readme-renderer/34.0 requests/2.32.3 requests-toolbelt/1.0.0 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.11.4 keyring/24.3.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.9.13

File hashes

Hashes for app_tools_zxw-1.1.2.tar.gz
Algorithm Hash digest
SHA256 34763a56c6707f8b728383dd784973775c6d3ac12393699198c9b95bb7c7cbaa
MD5 92aff31722a97d73cb77983e44dc313a
BLAKE2b-256 0f1b9b49e2eed504137c53793b03f29e4b3e5137a1ff9da0b0f25c24b9ed0d25

See more details on using hashes here.

File details

Details for the file app_tools_zxw-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: app_tools_zxw-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 153.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.11.1 readme-renderer/34.0 requests/2.32.3 requests-toolbelt/1.0.0 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.11.4 keyring/24.3.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.9.13

File hashes

Hashes for app_tools_zxw-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3516a628492a5ed06272c854dd5caec0292ef9b7de4dbee7d2287faa6847c0ba
MD5 e7c38f740e85ed4ee84dba24cd9df7d0
BLAKE2b-256 de0d3989cee182afaf89e4fc23a7753b7281aadec51ddaac6dda9446bfa6f588

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page