chore: production cleanup - remove debug logs, add DB cleanup script

- App.vue: remove console.log on launch/show/hide, drop unused onShow/onHide imports
- interview.vue: remove verbose console.log('[ASR] upload response')
- login.vue: remove debug console.log('[wxLogin]') logs (keep error logs)
- scripts/cleanup-test-data.ts: new script to identify and remove test data
  while preserving admin accounts; supports --dry-run preview mode
- All 43 backend tests pass
This commit is contained in:
yuzhiran
2026-06-20 23:08:44 +08:00
parent ef4d22a633
commit 310176a11b
4 changed files with 157 additions and 7 deletions
+1 -4
View File
@@ -1,8 +1,7 @@
<script setup lang="ts">
import { onLaunch, onShow, onHide } from '@dcloudio/uni-app'
import { onLaunch } from '@dcloudio/uni-app'
onLaunch(() => {
console.log('职引 App launched')
// #ifdef MP-WEIXIN
initPrivacy()
// #endif
@@ -49,8 +48,6 @@ function initPrivacy() {
}
}
// #endif
onShow(() => { console.log('职引 App shown') })
onHide(() => { console.log('职引 App hidden') })
</script>
<style>