ai请求接口

master
chenfei 2 years ago
parent 866dfb83b0
commit 8bf55ad006

@ -333,7 +333,8 @@ public class AppController extends BaseController
jsonObject = noBase64Image(JSONObject.parseObject(result)); jsonObject = noBase64Image(JSONObject.parseObject(result));
TRecord tRecord = new TRecord(); TRecord tRecord = new TRecord();
tRecord.setId(recordId); tRecord.setId(recordId);
tRecord.setAiResult(result); tRecord.setAiResult(jsonObject.toJSONString());
tRecord.setAiResult2(jsonObject.toJSONString());
tRecordService.updateTRecord(tRecord); tRecordService.updateTRecord(tRecord);
} }
return AjaxResult.success(jsonObject); return AjaxResult.success(jsonObject);

Loading…
Cancel
Save