|
@@ -383,6 +383,9 @@ public class QrBoxMappingServiceImpl implements QrBoxMappingService {
|
|
|
* @return
|
|
|
*/
|
|
|
private Long getCodeIndex(String index) {
|
|
|
+ //如果是URL去除前面的部分留下最后码
|
|
|
+ index = index.substring(index.lastIndexOf("/") + 1);
|
|
|
+
|
|
|
QrCode qrCode = tableStorePlusUtils.selectOne(QrCode.class, index);
|
|
|
return qrCode.getCodeIndex();
|
|
|
}
|