Commit 903866ee authored by 赵啸非's avatar 赵啸非

添加智慧办公回调信息

parent baa390a2
...@@ -373,8 +373,10 @@ public class DeviceServiceImpl extends AbstractCRUDCacheServiceImpl<DeviceDao, D ...@@ -373,8 +373,10 @@ public class DeviceServiceImpl extends AbstractCRUDCacheServiceImpl<DeviceDao, D
ApiResp<String> resp = messageService.sendThirdParty(UrlBuilder.of(phpInUrl).addPath(thirdPartyPath).build(), deviceReq); ApiResp<String> resp = messageService.sendThirdParty(UrlBuilder.of(phpInUrl).addPath(thirdPartyPath).build(), deviceReq);
log.info("sendThirty resp ==>{}", JSON.toJSONString(resp)); log.info("sendThirty resp ==>{}", JSON.toJSONString(resp));
if (resp.getCode() == YesNoEnum.YES.getValue()) { if (!ObjectUtils.isEmpty(resp)&&resp.getCode() == YesNoEnum.YES.getValue()) {
return Rest.ok("成功!"); return Rest.ok("成功!");
}else {
return Rest.fail("发送失败");
} }
} }
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<plugin interceptor="com.mortals.framework.thirty.mybatis.LogInterceptor"> <plugin interceptor="com.mortals.framework.thirty.mybatis.LogInterceptor">
<property name="enableExecutorTime" value="true" /> <property name="enableExecutorTime" value="true" />
<property name="showSql" value="false" /> <property name="showSql" value="true" />
</plugin> </plugin>
</plugins> </plugins>
</configuration> </configuration>
\ No newline at end of file
...@@ -21,7 +21,7 @@ Content-Type: application/json ...@@ -21,7 +21,7 @@ Content-Type: application/json
"page":1, "page":1,
"size":10, "size":10,
"siteId": 1, "siteId": 1,
"selected": 2 "selected": 0
} }
......
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