Commit 00038076 authored by ckx's avatar ckx

项目上传

parent b52d9e76
......@@ -8,6 +8,6 @@ import com.yundong.base.result.Result;
*/
public interface ProjectUpload {
Result<StringBuilder> upload(Context context, String appId, String version, String data) throws IllegalAccessException;
Result<String> upload(Context context, String appId, String version, String data) throws IllegalAccessException;
}
......@@ -25,7 +25,7 @@ public class ProjectUploadImpl implements ProjectUpload {
@Override
@YdcGateway(name = "project-upload", url = "biz/third/ht/database/projectUploadImpl.json")
public Result<StringBuilder> upload(Context context, String appId, String version, String data) throws IllegalAccessException {
public Result<String> upload(Context context, String appId, String version, String data) throws IllegalAccessException {
String url1 = "http://10.136.208.159/esbmule/services/receive/DAM_FROM_PM_XM";
try {
......@@ -69,7 +69,7 @@ public class ProjectUploadImpl implements ProjectUpload {
// 关闭连接
connection.disconnect();
return Result.success(response);
return Result.success("response");
} catch (Exception e) {
e.printStackTrace();
......
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