修改query_terminal_code(补充缺失文件)

This commit is contained in:
wen 2021-11-15 12:05:50 +08:00
parent 54e8208fa4
commit 1dc3b8c598

View File

@ -31,8 +31,8 @@ public class QueryTerminalCodeController {
if (null != qRCode) { if (null != qRCode) {
resp.setRet(EvcsConst.RET_SUCC); resp.setRet(EvcsConst.RET_SUCC);
resp.setMsg("success"); resp.setMsg("success");
String terminalID = qRCode.substring(qRCode.length() - 16); String terminalCode = qRCode.substring(qRCode.length() - 16);
queryTerminalCodeResponse.setTerminalID(terminalID); queryTerminalCodeResponse.setTerminalCode(terminalCode);
resp.setData(JSONUtil.toJSONString(queryTerminalCodeResponse)); resp.setData(JSONUtil.toJSONString(queryTerminalCodeResponse));
} }
} }