perf: source update

This commit is contained in:
archer
2023-09-10 15:51:32 +08:00
parent 752dc9b19d
commit d8f660370f
11 changed files with 78 additions and 55 deletions

View File

@@ -50,7 +50,6 @@ export default withNextCors(async function handler(req: NextApiRequest, res: Nex
await PgClient.update(PgTrainingTableName, {
where: [['id', dataId], 'AND', ['user_id', userId]],
values: [
{ key: 'source', value: '手动修改' },
{ key: 'a', value: a.replace(/'/g, '"') },
...(q
? [