java_method
2021-06-29 23:05
标签:return pack photo end key ack append hash json java_method 标签:return pack photo end key ack append hash json 原文地址:https://www.cnblogs.com/hai-peng/p/9644059.htmlpackage mytest;
import java.util.HashMap;
import java.util.Map;
//import com.idss.monkey.common.util.IdssHttpClient;
//import com.idss.monkey.common.util.CommonUtils;
public class TestJave {
public String sayHello()
{
return "Hello";
}
public String sayHelloToPerson(String s)
{
if(s == null || s.equals(""))
s = "nobody";
return (new StringBuilder()).append("Hello ").append(s).toString();
}
public int sum(int a,int b)
{
return a+b;
}
// public static String sendRequest(String url,String serviceCode,String requestCode,String json,String photoPath) {
//
// String re = IdssHttpClient.sendPost(url, serviceCode, requestCode, json);
// System.out.println(re);
// return null;
}