Browse Source

update

V3
DengBiao 10 months ago
parent
commit
cd7a79e6b3
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      app/utils/convert.go
  2. +2
    -2
      consume/init.go

+ 1
- 1
app/utils/convert.go View File

@@ -140,7 +140,7 @@ func AnyToString(raw interface{}) string {
case bool: case bool:
return strconv.FormatBool(i) return strconv.FormatBool(i)
} }
return fmt.Sprintf("%#v", raw)
return fmt.Sprintf("%+v", raw)
} }


func AnyToFloat64(raw interface{}) float64 { func AnyToFloat64(raw interface{}) float64 {


+ 2
- 2
consume/init.go View File

@@ -72,10 +72,10 @@ func initConsumes() {
//jobs[consumeMd.CloudIssuanceMsgCallBackFunName] = CloudIssuanceMsgCallBackConsume //jobs[consumeMd.CloudIssuanceMsgCallBackFunName] = CloudIssuanceMsgCallBackConsume


//////////////////////////////////////// V2 ///////////////////////////////////////////////////// //////////////////////////////////////// V2 /////////////////////////////////////////////////////
//jobs[consumeMd.SupplyCloudChainFenxiaoNewChangeFunName] = SupplyCloudChainFenxiaoNewChangeConsume
jobs[consumeMd.SupplyCloudChainFenxiaoNewChangeFunName] = SupplyCloudChainFenxiaoNewChangeConsume


//////////////////////////////////////// // V3 // ///////////////////////////////////////////////////// //////////////////////////////////////// // V3 // /////////////////////////////////////////////////////
jobs[consumeMd.MallAddSupplyGoodsFunName] = MallAddSupplyGoodsConsume
//jobs[consumeMd.MallAddSupplyGoodsFunName] = MallAddSupplyGoodsConsume


} }




Loading…
Cancel
Save