|
@@ -20,8 +20,10 @@ public class MatchServiceImpl implements MatchService {
|
|
|
public String matchMiniprogramVideo(MiniprogramCardRequest request) {
|
|
|
String apiUrl = "http://47.99.132.47:8111/search_videos";
|
|
|
try {
|
|
|
+ log.info("matchMiniprogramVideo request={}", request);
|
|
|
String res = HTTP_POOL_CLIENT_UTIL_DEFAULT.post(apiUrl, JSON.toJSONString(request));
|
|
|
JSONObject jsonObject = JSON.parseObject(res);
|
|
|
+ log.info("matchMiniprogramVideo request={} res={}", request, res);
|
|
|
Integer code = jsonObject.getInteger("code");
|
|
|
if (code == 0) {
|
|
|
return jsonObject.getString("traceId");
|