a
This commit is contained in:
@@ -250,7 +250,8 @@ 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], ip: %v", utils.Format4Output(dataMap, false), getRealRemoteIP(c.Ctx.Request))
|
globals.SugarLogger.Debugf("Begin API UpdatePrinter data: [%v], ip: %v", utils.Format4Output(dataMap, false))
|
||||||
|
//, getRealRemoteIP(c.Ctx.Request)
|
||||||
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