Commit 50a022ee authored by 周健威's avatar 周健威

修改省bug

parent ff12dfd6
......@@ -50,11 +50,11 @@ public class GtdataController extends CommonBaseController implements UserRestIn
@IgnoreUserToken
public void queryAreaInfoByAreaId() throws Exception {
String url = request.getRequestURI();
String fileUrl = url.substring(url.lastIndexOf("/image/")+1);
String fileUrl = url.substring(url.lastIndexOf("/image/")+6);
String fileName = url.substring(url.lastIndexOf("/")+1);
String filePath = "";
if(fileUrl.contains("SN8")) {
filePath = THUMBNAIL_PATH+"/"+ fileUrl;
filePath = THUMBNAIL_PATH+ fileUrl;
}else {
if(fileName.lastIndexOf(".png") > 0) {
filePath = "/rscloudmart/bg/upload/2021-01-05/1609838996306.png";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment