调试打印
This commit is contained in:
@@ -157,6 +157,7 @@ func (c *ApiController) DoPrint(dataMap map[string]interface{}) (data string, er
|
|||||||
orderNo = utils.Interface2Int64WithDefault(dataMap["order_no"], 0)
|
orderNo = utils.Interface2Int64WithDefault(dataMap["order_no"], 0)
|
||||||
db = dao.GetDB()
|
db = dao.GetDB()
|
||||||
)
|
)
|
||||||
|
globals.SugarLogger.Debugf("Begin API DoPrint data: [%v]", dataMap)
|
||||||
if orderNo == 0 {
|
if orderNo == 0 {
|
||||||
return data, fmt.Errorf("订单序号不能为0")
|
return data, fmt.Errorf("订单序号不能为0")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user