Skip to main content

更新: 全新苹果内购支付SDK,与旧版本不兼容

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
  • 1.1.3 : 更新依赖库版本,尚未测试可靠性 ** 非兼容性更新 **
  • 2.0.0 :全新苹果内购SDK,旧版本失效已彻底移除
{
  "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-2.0.0.tar.gz (94.8 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-2.0.0-py3-none-any.whl (155.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: app_tools_zxw-2.0.0.tar.gz
  • Upload date:
  • Size: 94.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for app_tools_zxw-2.0.0.tar.gz
Algorithm Hash digest
SHA256 f3d16b149b5bf3102ea3b5d792cc07caf711f45cc6aa366e8d1ce1e5bce7a5f7
MD5 3db5a15acab33b94a3a1db551305d659
BLAKE2b-256 475eda4cf02bbe25cc23c42132553b71f538874908ffae9d1f8601761f08f06b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: app_tools_zxw-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 155.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for app_tools_zxw-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 78202b51b49f3f25b690cae65a8fe253e3084f9c1f91304bb7557844252ed146
MD5 7770f6521f37667afec6c8d66a38d843
BLAKE2b-256 5f8b2da6b5bea139d64ea89f1fee99ac39606ee4b52eaa47b44e1642c03d6b9f

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