|
@@ -59,9 +59,11 @@ public class SbSearchServiceImpl implements SbSearchService {
|
|
|
private String appid;
|
|
|
|
|
|
@Override
|
|
|
- public JSONObject reuploadThirdpartyReviseData(MultipartFile file, String instid) {
|
|
|
+ public JSONObject reuploadThirdpartyReviseData(MultipartFile file, String instid, String id, String title) {
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
|
- jsonObject.put("instId", instid);
|
|
|
+ jsonObject.put("instid", instid);
|
|
|
+ jsonObject.put("id", id);
|
|
|
+ jsonObject.put("title", title);
|
|
|
jsonObject.put("file", file);
|
|
|
return getRequestFileData(reuploadThirdpartyReviseURI, jsonObject);
|
|
|
}
|
|
@@ -77,7 +79,7 @@ public class SbSearchServiceImpl implements SbSearchService {
|
|
|
if (StringUtils.isNotEmpty(divisionCode)) {
|
|
|
jsonObject.put("divisionCode", divisionCode);
|
|
|
}
|
|
|
- return getRequestDataFromSheng(landGetRevisePageURI, jsonObject);
|
|
|
+ return getRequestData(landGetRevisePageURI, jsonObject);
|
|
|
}
|
|
|
|
|
|
@Override
|
|
@@ -265,11 +267,11 @@ public class SbSearchServiceImpl implements SbSearchService {
|
|
|
* @return
|
|
|
*/
|
|
|
public JSONObject getRequestFileData(String requestURI, Map<String, Object> params) {
|
|
|
- String token = getAccessTokenFromSheng();
|
|
|
+ String token = getAccessToken();
|
|
|
if (StringUtils.isEmpty(token)) {
|
|
|
return null;
|
|
|
}
|
|
|
- JSONObject reStrMd5 = RInterfaceUtilFromSheng.postRemote(token, requestURI, null, params);
|
|
|
+ JSONObject reStrMd5 = RInterfaceUtil.postRemote(token, requestURI, null, params);
|
|
|
System.out.println("请求地址:" + requestURI);
|
|
|
// System.out.println("请求参数:" + JSON.toJSONString(params));
|
|
|
System.out.println("请求结果:" + reStrMd5.toJSONString());
|