Skip to main content

This is a lib for sparrow order projects.

Project description

Project Description

Release History

version==0.0.15

sparrow_aftersale/model.py AfsHgIncomeDivide修改字段divide_payment_type类型为int-》char

version==0.0.14

sparrow_aftersale/model.py AfsHgIncomeDivide新增字段payment_num

version==0.0.13

sparrow_aftersale/model.py AfsHgIncomeDevide改名为AfsHgIncomeDivide; 新增字段hgincome_type_id

version==0.0.12

sparrow_aftersale/model.py sparrow_aftersale_afs 新增字段afs_sync_status, afs_sync_time sparrow_aftersale/model.py 新增两个model: AfsHgIncome & AfsHgIncomeDevide

version==0.0.11

修复包裹管理中文案错误
添加包裹管理中 BulkEvent

version==0.0.10

删掉不必要通过环境变量赋值的常量
现将前面几个版本所需环境变量整理如下:

RUN_ENV

settings 里面需要添加以下配置, 也可设置为环境变量  
SF_PAYCARD_NUMBER_MAILE
SHIPPING_URL_SF_USERCODE
SHIPPING_URL_SF_CHECKCODE
SF_PAYCARD_NUMBER_HANGUANG
SHIPPING_CREATE_ORDER_SENDER_NO_YZPY
SHIPPING_CREATE_ORDER_ECOMMERCE_NO_YZPY
SHIPPING_CREATE_ORDER_ECCOMPANYID_YZPY
SHIPPING_CREATE_ORDER_SECRET_YZPY

version==0.0.9

为所有 APP_LABEL 设置默认值

version==0.0.8

sparrow_parcel 的 Transfer 实体去掉揽收包裹数量字段

version==0.0.7

修改一些bug

version==0.0.6

将 sparrow_shipping 维护至本项目
将 remote_call 维护至本项目

需要新增以下环境变量
RUN_ENV
export SPARROW_ORDER_APP_LABEL=sparrow_orders
export SPARROW_ORDER_AFS_APP_LABEL=sparrow_orders_afs
export SPARROW_DISTRIBUTE_APP_LABEL=sparrow_distribute
export SPARROW_AFTERSALE_APP_LABEL=sparrow_aftersale
export SPARROW_EXCHANGE_APP_LABEL=sparrow_exchange
export SPARROW_PROMOTIONS_APP_LABEL=sparrow_promotions
export SPARROW_DISSTORAGE_APP_LABEL=sparrow_disstorage
export SPARROW_PARCEL_APP_LABEL=sparrow_parcel
export SPARROW_SHIPPING_APP_LABEL=sparrow_shipping
SC_SPARROW_CORE_GO_SVC
SC_SPARROW_CORE_SVC
SC_SPARROW_PRODUCT_SVC

settings 里面需要添加以下配置
SF_PAYCARD_NUMBER_MAILE
SHIPPING_URL_SF_USERCODE
SHIPPING_URL_SF_CHECKCODE
SF_PAYCARD_NUMBER_HANGUANG
SHIPPING_CREATE_ORDER_SENDER_NO_YZPY
SHIPPING_CREATE_ORDER_ECOMMERCE_NO_YZPY
SHIPPING_CREATE_ORDER_ECCOMPANYID_YZPY
SHIPPING_CREATE_ORDER_SECRET_YZPY

version==0.0.5

############# sparrow-order-lib 使用配置 ############ export SPARROW_ORDER_APP_LABEL=sparrow_orders export SPARROW_ORDER_AFS_APP_LABEL=sparrow_orders_afs export SPARROW_DISTRIBUTE_APP_LABEL=sparrow_distribute export SPARROW_AFTERSALE_APP_LABEL=sparrow_aftersale export SPARROW_EXCHANGE_APP_LABEL=sparrow_exchange export SPARROW_PROMOTIONS_APP_LABEL=sparrow_promotions export SPARROW_DISSTORAGE_APP_LABEL=sparrow_disstorage export SPARROW_PARCEL_APP_LABEL=sparrow_parcel

version==0.0.4

将 sparrow_disstorage 维护至本项目
新增项目 sparrow_parcel
该版本尝试将 exceptions 维护至本项目

需要新增以下环境变量
SPARROW_DISSTORAGE_APP_LABEL
SPARROW_PARCEL_APP_LABEL

version==0.03

将所有公共 models 维护至本项目。

需要以下环境变量:  
SPARROW_ORDER_APP_LABEL
SPARROW_ORDER_AFS_APP_LABEL
SPARROW_DISTRIBUTE_APP_LABEL  
SPARROW_AFTERSALE_APP_LABEL
SPARROW_EXCHANGE_APP_LABEL
SPARROW_PROMOTIONS_APP_LABEL

settings 要包含以下配置

PHONE_NUMBER_REGEX

version==0.02

测试 models 维护至 sparrow-order-lib 可行性

version==0.01

core.db_tool.query

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

sparrow-order-lib-0.0.15.tar.gz (74.7 kB view details)

Uploaded Source

Built Distribution

sparrow_order_lib-0.0.15-py3-none-any.whl (89.0 kB view details)

Uploaded Python 3

File details

Details for the file sparrow-order-lib-0.0.15.tar.gz.

File metadata

  • Download URL: sparrow-order-lib-0.0.15.tar.gz
  • Upload date:
  • Size: 74.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.3

File hashes

Hashes for sparrow-order-lib-0.0.15.tar.gz
Algorithm Hash digest
SHA256 f707305c7f5467584504d26ec35362fc7579dc08d823b1d9e468ca62e05265b6
MD5 130720aba2d5660b6278759dd4858166
BLAKE2b-256 a42636ff8bff0e45b3ebc83b579e45d631e9e633975be8e73a10d70158cd0b50

See more details on using hashes here.

File details

Details for the file sparrow_order_lib-0.0.15-py3-none-any.whl.

File metadata

  • Download URL: sparrow_order_lib-0.0.15-py3-none-any.whl
  • Upload date:
  • Size: 89.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.3

File hashes

Hashes for sparrow_order_lib-0.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 3bbed9271ac920c8065d369009698403c4027ee351645473fa279d35a3781a9f
MD5 b832f7ea9d22766c91d331cfc9ed4aa1
BLAKE2b-256 b6242911e1de4b9265d1503bf140fee090efd8ccf1bf455ec4af1384fbcf69f3

See more details on using hashes here.

Supported by

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