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验证失败
{
  "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.1.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.1-py3-none-any.whl (153.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: app_tools_zxw-1.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 edf83e499d95108c4ae0eae601e28258dbe4585d090b9afb3775c8f3cd4b2252
MD5 c638132a8dc4fd068c92327bf576294d
BLAKE2b-256 df7ba82f531ff10b1d4cb1176cdd8af445369581ef3e93f823661584632afb06

See more details on using hashes here.

File details

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

File metadata

  • Download URL: app_tools_zxw-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 153.4 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 559c6c407885b3a61aa6aa4554e28e253be4da89e5c37e88c7717f9cf875474c
MD5 d82aa475b6e95f353f8c4a2b539bd5fd
BLAKE2b-256 2b2d38653d9cb38b06d18344247e19aed21bd40b3f330704e593491cea602ddd

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