|
@@ -3,10 +3,10 @@ package cn.com.qmth.examcloud.core.basic.api.client;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
import cn.com.qmth.examcloud.core.basic.api.SysConfigCloudService;
|
|
|
-import cn.com.qmth.examcloud.core.basic.api.request.GetSysConfigReq;
|
|
|
-import cn.com.qmth.examcloud.core.basic.api.request.SetSysConfigReq;
|
|
|
-import cn.com.qmth.examcloud.core.basic.api.response.GetSysConfigResp;
|
|
|
-import cn.com.qmth.examcloud.core.basic.api.response.SetSysConfigResp;
|
|
|
+import cn.com.qmth.examcloud.core.basic.api.request.GetSystemPropertyReq;
|
|
|
+import cn.com.qmth.examcloud.core.basic.api.request.SetSystemPropertyReq;
|
|
|
+import cn.com.qmth.examcloud.core.basic.api.response.GetSystemPropertyResp;
|
|
|
+import cn.com.qmth.examcloud.core.basic.api.response.SetSystemPropertyResp;
|
|
|
|
|
|
@Service
|
|
|
public class SysConfigCloudServiceClient extends AbstractCloudClientSupport
|
|
@@ -16,13 +16,13 @@ public class SysConfigCloudServiceClient extends AbstractCloudClientSupport
|
|
|
private static final long serialVersionUID = -1572107451517177867L;
|
|
|
|
|
|
@Override
|
|
|
- public SetSysConfigResp setSysConfig(SetSysConfigReq req) {
|
|
|
- return post("sysConfig/setSysConfig", req, SetSysConfigResp.class);
|
|
|
+ public SetSystemPropertyResp setSystemProperty(SetSystemPropertyReq req) {
|
|
|
+ return post("systemProperty/setSystemProperty", req, SetSystemPropertyResp.class);
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public GetSysConfigResp getSysConfig(GetSysConfigReq req) {
|
|
|
- return post("sysConfig/getSysConfig", req, GetSysConfigResp.class);
|
|
|
+ public GetSystemPropertyResp getSystemProperty(GetSystemPropertyReq req) {
|
|
|
+ return post("systemProperty/getSystemProperty", req, GetSystemPropertyResp.class);
|
|
|
}
|
|
|
|
|
|
}
|