test ip
This commit is contained in:
@@ -249,7 +249,7 @@ func (c *ApiController) UpdatePrinter(dataMap map[string]interface{}) (data, err
|
|||||||
printNo, name, sim, sound string
|
printNo, name, sim, sound string
|
||||||
appID, volume int
|
appID, volume int
|
||||||
)
|
)
|
||||||
globals.SugarLogger.Debugf("Begin API UpdatePrinter data: [%v]", utils.Format4Output(dataMap, false))
|
globals.SugarLogger.Debugf("Begin API UpdatePrinter data: [%v] , ip : %s", utils.Format4Output(dataMap, false), c.Ctx.Input.IP())
|
||||||
if _, ok := dataMap[keyPrintNo].(string); !ok {
|
if _, ok := dataMap[keyPrintNo].(string); !ok {
|
||||||
return buildParamErrCodeAndErr(keyPrintNo)
|
return buildParamErrCodeAndErr(keyPrintNo)
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user