说话人识别、人脸识别、台标识别日志查询接口调整

This commit is contained in:
leijun
2018-09-18 09:47:36 +08:00
parent ac16a17462
commit 53429afd9b
5 changed files with 9 additions and 9 deletions

View File

@@ -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", "");

View File

@@ -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());

View File

@@ -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());

View File

@@ -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());

View File

@@ -265,9 +265,9 @@ mmPornVideoLevelLog=mmPornVideoLevelLogs
mmSamplePicLog=mmSamplePicLogs
mmSampleVoipLog=mmSampleVoipLogs
pxyHttpLog=pxyHttpLogs
mmSampleSpeakerLog=mmSampleSpeakerLogs
mmSampleLogoLog=mmSampleLogoLogs
mmSampleFaceLog=mmSampleFaceLogs
mmSpeakerRecognizationLog=mmSpeakerRecognizationLogs
mmLogoDetectionLog=mmLogoDetectionLogs
mmFaceRecognizationLog=mmFaceRecognizationLogs
########################################
#\u5927\u5C4F\u56FE\u8868\u5C55\u793A\u670D\u52A1\u63A5\u53E3
dashboardUrl=http://10.0.6.242:8080/galaxy/service/log/v1/