订单来源标识
数据库修改
order表:
添加字段 client int M default:null
值 --- 含义
1 station
2 bshop
3 app
4 mini program/小程序
微信商城:GmShop/version
station:GmStation/version
app:GmShopApp/version
小程序:GmShopMp/version
station工程接口
/station/orders 订单列表展示
添加展示 client 字段
/station/sales_analysis/orderdetail 订单列表导出
第一张sheet(订单明细),在"订单状态"后加"订单来源"
/station/order/create 创建订单 --->/order/create
记录订单来源 client
/station/order/create_old 补录订单 --->/order/create
记录订单来源 client
bshop工程修改点
/order/submit 提交订单
记录订单来源 client
order工程修改点
order/create 创建订单
记录订单来源 client
gm_rmiclient
order.py的create方法中data添加client的值
对应修改bshop工程及station工程的requirement.txt中的gm_rmiclient的版本号
app、小程序
都是调用bshop接口,区分记录订单来源