diff --git a/go.mod b/go.mod index 852dd0e..9705b6e 100644 --- a/go.mod +++ b/go.mod @@ -48,7 +48,7 @@ require ( ) require ( - code.fnuoos.com/EggPlanet/egg_models.git v0.2.1-0.20250105033538-64fc2b17074d + code.fnuoos.com/EggPlanet/egg_models.git v0.2.1-0.20250106023606-819b8e81211f github.com/goccy/go-json v0.10.2 // indirect github.com/golang/snappy v0.0.4 // indirect github.com/json-iterator/go v1.1.12 // indirect diff --git a/go.sum b/go.sum index 19b7ee0..6c86928 100644 --- a/go.sum +++ b/go.sum @@ -8,6 +8,8 @@ code.fnuoos.com/EggPlanet/egg_models.git v0.2.1-0.20250105032556-e77dce9e9f23 h1 code.fnuoos.com/EggPlanet/egg_models.git v0.2.1-0.20250105032556-e77dce9e9f23/go.mod h1:+bDK4gfBq4LEkhh6K/A46+0urH/sgxDxnjIjlxb9HI8= code.fnuoos.com/EggPlanet/egg_models.git v0.2.1-0.20250105033538-64fc2b17074d h1:uC4zeU9alPOwvIUML6FxXON+955ds1FOo9bF2zRxWhU= code.fnuoos.com/EggPlanet/egg_models.git v0.2.1-0.20250105033538-64fc2b17074d/go.mod h1:+bDK4gfBq4LEkhh6K/A46+0urH/sgxDxnjIjlxb9HI8= +code.fnuoos.com/EggPlanet/egg_models.git v0.2.1-0.20250106023606-819b8e81211f h1:z3NtjlINZfYSutMrNjs77iZFLTfGi0nH4dnHt2BInZ8= +code.fnuoos.com/EggPlanet/egg_models.git v0.2.1-0.20250106023606-819b8e81211f/go.mod h1:+bDK4gfBq4LEkhh6K/A46+0urH/sgxDxnjIjlxb9HI8= code.fnuoos.com/go_rely_warehouse/zyos_go_es.git v1.0.1-0.20241118083738-0f22da9ba0be h1:zuleX5JnIGQpt6wDAmCFs++lLgOmE6kWo3xkJnjrSck= code.fnuoos.com/go_rely_warehouse/zyos_go_es.git v1.0.1-0.20241118083738-0f22da9ba0be/go.mod h1:Yuc7XnUQ15eaC0ZobcJG7XwkVTttVqp52OTanXhI1Qk= code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git v0.0.5 h1:dqvWJqlJi0WXCwTxbWPLvSOsKPjP+iEDBVgLcAl9nOE= diff --git a/thirdParty/haiwei/api.go b/thirdParty/haiwei/api.go index c3f66c6..733f646 100644 --- a/thirdParty/haiwei/api.go +++ b/thirdParty/haiwei/api.go @@ -216,7 +216,8 @@ func AddOrder(eg *xorm.Engine, method string, order map[string]interface{}, prd PvdOid: utils.AnyToString(order["order_no"]), GoodsTitle: utils.AnyToString(order["product_detail"]), Commission: utils.AnyToString(order["total_rebate"]), - Platform: method, + Platform: "haiwei", + OrdType: method, Uid: utils.StrToInt(uid), Payment: utils.AnyToString(order["settle_price"]), State: statusArr[utils.AnyToString(order["order_status"])],