feat: 회원가입 제한·봇차단(허니팟/레이트리밋)·카드 자동인식 보정

- 관리자 회원가입 허용 토글(app_setting), 공개 GET /auth/signup-enabled
- 회원가입 봇차단: 허니팟(website) + IP 레이트리밋(Redis, 1h 5회)
- 카드 알림: 현금 오선택 보정(카드 양방향 매칭+단일카드 자동), 광고 푸시 차단(승인신호 없는 광고성 표현 무시)
- @MapperScan 에 admin.mapper 추가
- account.sql: 매 기동 wallet MODIFY 제거(라이브 락 위험) — CREATE 정의에 255 반영됨

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
ByungCheol
2026-06-06 00:15:57 +09:00
co-authored by Claude Opus 4.8
parent fb94df8112
commit c05be0880c
13 changed files with 199 additions and 14 deletions
@@ -0,0 +1,16 @@
package com.sb.web.admin.mapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
/**
* 앱 전역 설정(app_setting, 단일 행 id=1) 접근.
*/
@Mapper
public interface AppSettingMapper {
/** 회원가입 허용 여부 (true=허용) */
Boolean isSignupEnabled();
int updateSignupEnabled(@Param("enabled") boolean enabled);
}