- 관리자 회원가입 허용 토글(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>
17 lines
386 B
Java
17 lines
386 B
Java
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);
|
|
}
|