|
@@ -121,7 +121,7 @@ public class SecondHandServiceImpl extends IBaseServiceImpl<SecondHandEntity, St
|
|
|
|
|
|
|
|
|
String basePath = null;
|
|
|
- String sceneCode = FileUtils.getCode();
|
|
|
+ String sceneCode = getCode();
|
|
|
SecondHandEntity entity = new SecondHandEntity();
|
|
|
try {
|
|
|
|
|
@@ -205,6 +205,17 @@ public class SecondHandServiceImpl extends IBaseServiceImpl<SecondHandEntity, St
|
|
|
}
|
|
|
|
|
|
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 获取场景码
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ public static String getCode(){
|
|
|
+ String sceneCode = RandomUtils.randowString(9);
|
|
|
+ return "fcb_SH" +sceneCode;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
@Override
|
|
|
public Result testUpdateInfo(String sceneCode) {
|
|
|
SecondHandEntity entity = entityMapper.findBySceneCode(sceneCode);
|