ai上传返回结果时间处理

master
chenfei 2 years ago
parent 533ceb9291
commit 61c7f34bbd

@ -383,6 +383,7 @@ public class AppController extends BaseController
throw new ServiceException(data.getString("msg"));
}
jsonObject = removeBase64Image(data,recordId);
tRecord.setAiResultReturnTime(new Date());
tRecord.setUpdateTime(new Date());
tRecord.setResponseTime((end-start)/1000);
tRecord.setAiResult(JSONObject.toJSONString(jsonObject, SerializerFeature.WriteMapNullValue));

Loading…
Cancel
Save