Commit 37a04675 authored by linruibiao's avatar linruibiao

接口编写

parent 2c073f87
...@@ -47,9 +47,6 @@ public class BusinessConfigServiceImpl extends ServiceImpl<BusinessConfigMapper, ...@@ -47,9 +47,6 @@ public class BusinessConfigServiceImpl extends ServiceImpl<BusinessConfigMapper,
if(StringUtils.isNotBlank(x.getField())) { if(StringUtils.isNotBlank(x.getField())) {
x.setField(URLDecoder.decode(x.getField(), StandardCharsets.UTF_8.name())); x.setField(URLDecoder.decode(x.getField(), StandardCharsets.UTF_8.name()));
} }
if(StringUtils.isNotBlank(x.getFieldTime())) {
x.setFieldTime(URLDecoder.decode(x.getFieldTime(), StandardCharsets.UTF_8.name()));
}
}catch (Exception e){ }catch (Exception e){
e.printStackTrace(); e.printStackTrace();
throw new SysException("请联系管理员,数据转化出错了"); throw new SysException("请联系管理员,数据转化出错了");
...@@ -69,9 +66,6 @@ public class BusinessConfigServiceImpl extends ServiceImpl<BusinessConfigMapper, ...@@ -69,9 +66,6 @@ public class BusinessConfigServiceImpl extends ServiceImpl<BusinessConfigMapper,
if(StringUtils.isNotBlank(co.getField())) { if(StringUtils.isNotBlank(co.getField())) {
co.setField(URLDecoder.decode(co.getField(), StandardCharsets.UTF_8.name())); co.setField(URLDecoder.decode(co.getField(), StandardCharsets.UTF_8.name()));
} }
if(StringUtils.isNotBlank(co.getFieldTime())) {
co.setFieldTime(URLDecoder.decode(co.getFieldTime(), StandardCharsets.UTF_8.name()));
}
}catch (Exception e){ }catch (Exception e){
e.printStackTrace(); e.printStackTrace();
throw new SysException("请联系管理员,数据转化出错了"); throw new SysException("请联系管理员,数据转化出错了");
......
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