Commit c03996b1 by 徐高华

test

parent 999dd947
......@@ -374,11 +374,11 @@ public class TestController extends WebBaseController {
}
@RequestMapping("test-qw-get-dk")
public String testQwGetdk(String url , String corpid , String secret) {
public HaobanResponse testQwGetdk(String url , String corpid , String secret) {
String token = qywxCorpApiService.getToken(corpid, corpid) ;
logger.info("toekn={},appid={} , url={} , json={}",token,corpid ,(url + token));
Map<String, Object> map = HttpClient.getHttpByGet(url + token);
return JSON.toJSONString(map);
return resultResponse(HaoBanErrCode.ERR_0, map) ;
}
......
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