Skip to main content

This is a lib for sparrow order projects.

Project description

Project Description

Release History

version==0.1.87

  • event售后完成时,允许起始状态为外仓已邮寄

version==0.1.86

  • event售后完成时,允许起始状态为外仓已邮寄

version==0.1.85

  • 发货单行添加超卖标识 is_oversell

version==0.1.83

  • UserTypes

version==0.1.82

  • 售后仓状态

version==0.1.81

  • 售后仓 可以进B3/自提点

version==0.1.80

  • 售后仓 可以关闭和完成售后

version==0.1.79

  • 发货单event fix

version==0.1.78

  • 发货单状态fix

version==0.1.77

  • 发货单手动拆单

version==0.1.76

  • 客服发货单,不自动拆单
  • 售后仓入库

version==0.1.75

userAftersaleReason

version==0.1.73

userAftersaleReason

version==0.1.72

fix DistributeStatusInHg

version==0.1.71

fix conflicts

version==0.1.70

Distribute Event Map from Pacakged to None By Event Named COMPLETE_AFTERSALE

version==0.1.69

DistributeStatusInHg

version==0.1.68

ShippingPartnerCodes.CODE_2_NAME_MAP

version==0.1.67

sparrow_inparcel

version==0.1.66

StorageRecord

version==0.1.65

BusiType

version==0.1.63

Disstorage 入库记录增加商品数量

version==0.1.59

Disstorage models

version==0.1.58

Disstorage models

version==0.1.57

Distributeline update

version==0.1.56

inparcel init.py

version==0.1.55

parcel constants, inparcel constants

version==0.1.54

constants update

version==0.1.53

constants update

version==0.1.52

aftersale models

version==0.1.51

aftersale models

version==0.1.49

aftersale models

version==0.1.48

aftersale models

version==0.1.47

update aftersale contants 2

version==0.1.46

update aftersale contants

version==0.1.45

Add distribute event for printing shipping_number

version==0.1.44

REMOVE ShippingMethod.VERBOSE_NAME_DICT

version==0.1.43

ShippingMethod.VERBOSE_NAME_DICT

version==0.1.42

HG_STORAGE_N_ID

version==0.1.41

HG_STORAGE_ID

version==0.1.40

DistributeEventConst

version==0.1.39

Remove ShippingMethodInt

version==0.1.38

Support outstorage exhcange in distribute.

version==0.1.37

Support outstorage exhcange.

version==0.1.34

发货仓-发货方式

version==0.1.33

京东包裹上架

version==0.1.32

Allow ServiceStop back to ServiceStore.

version==0.1.31

Add ReturnQuantityType in core/constants file

version==0.1.30

install_requires

version==0.1.29

install_requeires

version==0.1.24

fix line.productmain_id issue.

version==0.1.22

fix conlicts

version==0.1.22

fix conlicts

version==0.1.21

fix conlicts

version==0.1.19

fix conlicts

version==0.1.17

AddressGroup状态 增加 NO_IN_STORE

version == 0.1.16

特需售后单自提转快递时支付运费订单的发货单状态

version==0.1.9

允许取消发货

version==0.1.8

虚拟商品发起售后 不拆单

version==0.1.7

发货单address group 在库-已合

version==0.1.6

虚拟商品发起售后

version==0.1.5

虚拟商品状态配置

version==0.1.4

虚拟商品状态配置

version==0.1.3

虚拟商品状态配置EVENT_TO_BUTTONNAME_MAP,兼容EVENT_TO_BUTTONNAME_MAP未配置的情况

version==0.1.2

虚拟商品状态、Event

version==0.1.1

同步sparrow_order master分支到sparrow-order-lib中,主要是特需售后的内容

version==0.1.0

update for sparrow_order

version==0.0.35

update for sparrow_order

version==0.0.33

order_v3

version==0.0.30

add event update_shipping_method_for_merge

version==0.0.29

estools

version==0.0.28

sparrow_parcel

version==0.0.27

estools

version==0.0.26

首单礼需求
gift_type

version==0.0.25

退货重算功能
BaseModelTimeAndDeleted

version==0.0.24

退货重算功能
AfsVlinesPointsCharge
AfsVlinesOnlyRefundPoint

version==0.0.23

退货重算功能
AfsVersionSuite

version==0.0.22

退货重算功能
AfsVersionSuite

version==0.0.21

退货重算功能
AfsVersionSuite

version==0.0.20

退货重算功能

version==0.0.19

从揽月获取用户信息

version==0.0.18

退货重算相关 models

version==0.0.17

sparrow_parcel 箱体相关 models

version==0.0.19

从揽月获取用户信息

version==0.0.18

物料管理 增加seq排序属性

version==0.0.17

物料管理相关models

version==0.0.17

基于 elasticsearch==7.8.0 定制开发 ES 查询组件

必要环境变量:
ES_HOST: ES 集群的 HOST  
ES_PORT: ES 集群的端口  
ES_USER: 登录 ES 集群的用户名  
ES_PASSWD: 登录 ES 集群的密码  
ES_MAX_RESULT_WINDOW: 需要使用深度分页查询的阈值

version==0.0.16

发货单相关 models 操作添加角色相关信息
core 内新增对方法运行结果缓存的装饰器
清除所有环境变量

version==0.0.15

AfsHgIncomeDivide修改字段 divide_payment_type 类型为 int -> char

version==0.0.14

AfsHgIncomeDivide新增字段payment_num

version==0.0.13

AfsHgIncomeDevide改名为AfsHgIncomeDivide
AfsHgIncomeDivide新增字段hgincome_type_id

version==0.0.12

sparrow_aftersale_afs 新增字段afs_sync_status, afs_sync_time
新增两个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.1.87.tar.gz (115.8 kB view details)

Uploaded Source

Built Distribution

sparrow_order_lib-0.1.87-py3-none-any.whl (149.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sparrow-order-lib-0.1.87.tar.gz
  • Upload date:
  • Size: 115.8 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.1.87.tar.gz
Algorithm Hash digest
SHA256 4f09edfc2d8e94fcadbf927bd08f59c46983592a51cfea2f0a93a629e89aceff
MD5 f1839d36dd1f9d3b79dd688374005d49
BLAKE2b-256 ebb6c778d366decf941e42c0d0410f0513bf4ecae62c6f0ad442272380e4c753

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sparrow_order_lib-0.1.87-py3-none-any.whl
  • Upload date:
  • Size: 149.1 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.1.87-py3-none-any.whl
Algorithm Hash digest
SHA256 ad38d8f37b054ddeb9bb0b9196f9bf3436f78e558396ccbe2d91b9de21f4f9b9
MD5 5e816e9fc948abd36427245c0df13df7
BLAKE2b-256 d573b958f5393368b596dc1dfd600f1958fa4b6da6fc3c12552240ef97e3f97f

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