import com
.alibaba
.fastjson
.JSONObject
;
import com
.alibaba
.fastjson
.JSON
;
String rep
= prev
.getResponseDataAsString
();
log
.info
(rep
);
JSONObject jsonobj
= JSON
.parseObject
(rep
);
String message
= jsonobj
.getString
("success");
log
.info
("message的值:" + message
);
if("tru1".equals
(message
)==true
){
Failure
=false
;
FailureMessage
="接口正确";
}else{
Failure
=true
;
FailureMessage
="接口有误";
}
转载请注明原文地址: https://lol.8miu.com/read-1831.html