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,旧版本失效已彻底移除 ** 非兼容性更新 **
  • 2.1.0 : 新增:自写底层逻辑的苹果内购支付SDK, 新增:苹果应用服务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.1.0.tar.gz (91.4 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.1.0-py3-none-any.whl (153.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: app_tools_zxw-2.1.0.tar.gz
  • Upload date:
  • Size: 91.4 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.1.0.tar.gz
Algorithm Hash digest
SHA256 f708ef4a26a67a697060ec5b119a3c2a542bb0ed0f3bfd401362d7aee6647562
MD5 37a0c400767c3958ceffffddd25e5e8f
BLAKE2b-256 eef8183dd66dc9948943f7882c670484164f20c353b821cfc0283672e45eff8b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: app_tools_zxw-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 153.3 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 abf45bd70e71e5998f641a6bae1618719df80fff68fe4c5e59f15947cb25104f
MD5 e2349c700e889040dfa1b8677ed5b417
BLAKE2b-256 1b84ea82ce177e1057ae99760de5ecceb92e99544964c310c37e3075cd5dc0d5

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