说话人识别、人脸识别、台标识别日志查询接口调整
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());
|
||||
|
||||
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user