Commit 47283e0d authored by 赵啸非's avatar 赵啸非

修改通知去重复

parent 1b758b5a
...@@ -8,8 +8,9 @@ module.exports = { ...@@ -8,8 +8,9 @@ module.exports = {
hot: true, //自动保存 hot: true, //自动保存
proxy: { proxy: {
"/office": { "/office": {
target: "http://192.168.0.98:11085", // target: "http://localhost:11085",
// target: 'http://8.136.255.30:11078', //target: "http://192.168.0.98:11085",
target: 'http://8.136.255.30:11085',
changeOrigin: true, changeOrigin: true,
secure: false, secure: false,
cookieDomainRewrite: "localhost", cookieDomainRewrite: "localhost",
......
...@@ -23,8 +23,13 @@ ...@@ -23,8 +23,13 @@
<properties> <properties>
<profiles.active>develop</profiles.active> <profiles.active>develop</profiles.active>
<profiles.platform.type>standalone</profiles.platform.type> <profiles.platform.type>standalone</profiles.platform.type>
<profiles.server.port>21085</profiles.server.port> <profiles.server.port>11085</profiles.server.port>
<profiles.server.path>/office</profiles.server.path> <profiles.server.path>/office</profiles.server.path>
<profiles.rabbitmq.host>127.0.0.1</profiles.rabbitmq.host>
<profiles.rabbitmq.port>5672</profiles.rabbitmq.port>
<profiles.rabbitmq.username>root_mq</profiles.rabbitmq.username>
<profiles.rabbitmq.password>xhx@2022</profiles.rabbitmq.password>
<profiles.rabbitmq.virtualhost>/</profiles.rabbitmq.virtualhost>
<profiles.nacos.server-addr>127.0.0.1:8848</profiles.nacos.server-addr> <profiles.nacos.server-addr>127.0.0.1:8848</profiles.nacos.server-addr>
<profiles.nacos.group>DEFAULT_GROUP</profiles.nacos.group> <profiles.nacos.group>DEFAULT_GROUP</profiles.nacos.group>
<profiles.nacos.namespace>smart-gov</profiles.nacos.namespace> <profiles.nacos.namespace>smart-gov</profiles.nacos.namespace>
......
...@@ -74,7 +74,9 @@ public class StandaloneLoginController extends BaseCRUDJsonBodyMappingController ...@@ -74,7 +74,9 @@ public class StandaloneLoginController extends BaseCRUDJsonBodyMappingController
try { try {
loginForm.validate(); loginForm.validate();
//userEntity = userService.doLogin(loginName, password, ip); userEntity = userService.doCheckUser(loginName, password);
// userEntity = userService.doLogin(loginName, password, ip);
userEntity.setLastLoginAddress(ip); userEntity.setLastLoginAddress(ip);
recordSysLog(request, userEntity, "用户登录系统成功!"); recordSysLog(request, userEntity, "用户登录系统成功!");
......
...@@ -115,7 +115,7 @@ public class MettingRecordServiceImpl extends AbstractCRUDServiceImpl<MettingRec ...@@ -115,7 +115,7 @@ public class MettingRecordServiceImpl extends AbstractCRUDServiceImpl<MettingRec
* @return * @return
*/ */
public Boolean checkTimesHasOverlap(Date dynaStartTime, Date dynaEndTime, Date fixedStartTime, Date fixedEndTime) { public Boolean checkTimesHasOverlap(Date dynaStartTime, Date dynaEndTime, Date fixedStartTime, Date fixedEndTime) {
return !(dynaEndTime.getTime() < fixedStartTime.getTime() || dynaStartTime.getTime() > fixedEndTime.getTime()); return !(dynaEndTime.getTime() <= fixedStartTime.getTime() || dynaStartTime.getTime() >= fixedEndTime.getTime());
} }
......
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