浏览代码

海威第三方

master
huangjiajun 4 天前
父节点
当前提交
c80986a1d4
共有 3 个文件被更改,包括 5 次插入2 次删除
  1. +1
    -1
      go.mod
  2. +2
    -0
      go.sum
  3. +2
    -1
      thirdParty/haiwei/api.go

+ 1
- 1
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


+ 2
- 0
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=


+ 2
- 1
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"])],


正在加载...
取消
保存