说话人识别、人脸识别、台标识别日志查询接口调整
This commit is contained in:
@@ -427,9 +427,9 @@ public final class Constants {
|
||||
public static final String NTC_MMPORNAUDIOLEVEL_LOG = Configurations.getStringProperty("mmPornAudioLevelLog", "");
|
||||
public static final String NTC_MMPORNVIDEOLEVEL_LOG = Configurations.getStringProperty("mmPornVideoLevelLog", "");
|
||||
public static final String NTC_MMSAMPLEPIC_LOG = Configurations.getStringProperty("mmSamplePicLog", "");
|
||||
public static final String NTC_MMSAMPLESPEAKER_LOG = Configurations.getStringProperty("mmSampleSpeakerLog", "");
|
||||
public static final String NTC_MMSAMPLELOGO_LOG = Configurations.getStringProperty("mmSampleLogoLog", "");
|
||||
public static final String NTC_MMSAMPLEFACE_LOG = Configurations.getStringProperty("mmSampleFaceLog", "");
|
||||
public static final String NTC_MMSAMPLESPEAKER_RECOGNIZATION_LOG = Configurations.getStringProperty("mmSpeakerRecognizationLog", "");
|
||||
public static final String NTC_MMLOGO_DETECTION_LOG = Configurations.getStringProperty("mmLogoDetectionLog", "");
|
||||
public static final String NTC_MMFACE_RECOGNIZATION_LOG = Configurations.getStringProperty("mmFaceRecognizationLog", "");
|
||||
public static final String NTC_MMSAMPLEVOIP_LOG = Configurations.getStringProperty("mmSampleVoipLog", "");
|
||||
public static final String PXY_HTTP_LOG = Configurations.getStringProperty("pxyHttpLog", "");
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ public class MmSampleFaceController extends BaseController{
|
||||
|
||||
try {
|
||||
// 请求接口
|
||||
String url = Constants.LOG_BASE_URL + Constants.NTC_MMSAMPLEFACE_LOG;
|
||||
String url = Constants.LOG_BASE_URL + Constants.NTC_MMFACE_RECOGNIZATION_LOG;
|
||||
String resJson = HttpClientUtil.getMsg(url, params, request);
|
||||
Gson gson = new GsonBuilder().create();
|
||||
LogRecvData<MmSamplePicLog> fromJson = gson.fromJson(resJson, new TypeToken<LogRecvData<MmSamplePicLog>>() {}.getType());
|
||||
|
||||
@@ -45,7 +45,7 @@ public class MmSampleLogoController extends BaseController{
|
||||
|
||||
try {
|
||||
// 请求接口
|
||||
String url = Constants.LOG_BASE_URL + Constants.NTC_MMSAMPLELOGO_LOG;
|
||||
String url = Constants.LOG_BASE_URL + Constants.NTC_MMLOGO_DETECTION_LOG;
|
||||
String resJson = HttpClientUtil.getMsg(url, params, request);
|
||||
Gson gson = new GsonBuilder().create();
|
||||
LogRecvData<MmSamplePicLog> fromJson = gson.fromJson(resJson, new TypeToken<LogRecvData<MmSamplePicLog>>() {}.getType());
|
||||
|
||||
@@ -45,7 +45,7 @@ public class MmSampleSpeakerController extends BaseController{
|
||||
|
||||
try {
|
||||
// 请求接口
|
||||
String url = Constants.LOG_BASE_URL + Constants.NTC_MMSAMPLESPEAKER_LOG;
|
||||
String url = Constants.LOG_BASE_URL + Constants.NTC_MMSAMPLESPEAKER_RECOGNIZATION_LOG;
|
||||
String resJson = HttpClientUtil.getMsg(url, params, request);
|
||||
Gson gson = new GsonBuilder().create();
|
||||
LogRecvData<MmSamplePicLog> fromJson = gson.fromJson(resJson, new TypeToken<LogRecvData<MmSamplePicLog>>() {}.getType());
|
||||
|
||||
Reference in New Issue
Block a user