Procházet zdrojové kódy

海威第三方

master
huangjiajun před 4 dny
rodič
revize
c80986a1d4
3 změnil soubory, kde provedl 5 přidání a 2 odebrání
  1. +1
    -1
      go.mod
  2. +2
    -0
      go.sum
  3. +2
    -1
      thirdParty/haiwei/api.go

+ 1
- 1
go.mod Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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"])],


Načítá se…
Zrušit
Uložit