Update micUploadRoutes.js via upload script - 2026-09-21 11:14:26
This commit is contained in:
parent
70d4c6f067
commit
d299567dd3
|
|
@ -193,6 +193,7 @@ function registerMicUpload(app, server, ctx) {
|
|||
// ---- 品类 -> addSimilar模板URL 配置(存进通用storage的 crm:micTemplates) ----
|
||||
|
||||
app.get('/api/mic-upload/templates', requireAuth, (req, res) => {
|
||||
res.set('Cache-Control', 'no-store'); // 避免浏览器把"还没配置"那次的旧响应缓存住
|
||||
res.json({ value: getMicTemplates() });
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue