=分割qrcode
This commit is contained in:
parent
6eaebea373
commit
aef165f2a8
@ -31,11 +31,12 @@ 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 terminalCode = qRCode.substring(qRCode.length() - 16);
|
String terminalCode = qRCode.split("=")[1];
|
||||||
queryTerminalCodeResponse.setTerminalCode(terminalCode);
|
queryTerminalCodeResponse.setTerminalCode(terminalCode);
|
||||||
resp.setData(JSONUtil.toJSONString(queryTerminalCodeResponse));
|
resp.setData(JSONUtil.toJSONString(queryTerminalCodeResponse));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return resp;
|
return resp;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user