Files
moneyguide/frontend
ttipo 7bef853664 feat(backend): 업체 링크별 신청·구매 추적 API 추가
상품마다 업체에 단축 링크를 발급하고, 그 링크로 들어온 회원의 신청·구매를
업체별로 세기 위해서다. 아임웹은 주문 완료를 알려주지 않으므로 구매는
주문 API 를 주기적으로 훑어 찾는다.

- 아임웹 상품 동기화(imweb_products) — 회원 동기화와 같은 주기, 실패해도 회원 동기화는 계속
- 단축 링크 /r/{코드}: 사람의 클릭만 기록하고 클릭 ID(mg_ref)를 붙여 상품 페이지로 이동
  (이동 주소는 아임웹 사이트 안만 허용 — open redirect 방지)
- 회원 ↔ 클릭 연결(POST /api/partner-touches), 신청 기록에 클릭 ID 추가
- 마지막 클릭·30일 귀속, 결제완료 주문만 구매로 집계하고 환불·취소는 제외 (금액은 관리하지 않음)
- 관리자 API: 업체·링크 관리, 링크별 실적 상세, 구매 집계 새로고침
- 권한 요청에 product:read·order:read 추가, 토큰 권한 부족은 IMWEB_006
- 에러 코드 IMWEB_006, PARTNER_001~004 추가 및 클라이언트 사전 동기화

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 23:47:10 +09:00
..
2026-10-04 21:27:26 +09:00
2026-10-04 21:27:26 +09:00
2026-10-04 21:27:26 +09:00
2026-10-04 21:27:26 +09:00
2026-10-04 21:27:26 +09:00
2026-10-04 21:27:26 +09:00
2026-10-04 21:27:26 +09:00
2026-10-04 21:27:26 +09:00
2026-10-04 21:27:26 +09:00
2026-10-04 21:27:26 +09:00
2026-10-04 21:27:26 +09:00
2026-10-04 21:27:26 +09:00
2026-10-04 21:27:26 +09:00
2026-10-04 21:27:26 +09:00
2026-10-04 21:27:26 +09:00
2026-10-04 21:27:26 +09:00
2026-10-04 21:27:26 +09:00
2026-10-04 21:27:26 +09:00
2026-10-04 21:27:26 +09:00
2026-10-04 21:27:26 +09:00

frontend

This template should help get you started developing with Vue 3 in Vite.

VS Code + Vue (Official) (and disable Vetur).

Type Support for .vue Imports in TS

TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need Volar to make the TypeScript language service aware of .vue types.

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Type-Check, Compile and Minify for Production

npm run build

Run Unit Tests with Vitest

npm run test:unit