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

添加智慧办公回调信息

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