| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- {
- //"Connection": "Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ORA12C)));User Id=myjob;Password=HHwx4ISVN51cDam;Connection Timeout=120;",
- "Connection": "Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1539))(CONNECT_DATA=(SERVICE_NAME=ORA12C)));User Id=Kitty_Fall;Password=123456;Connection Timeout=120;",
- "OracleSessionTimeZone": "UTC",
-
- "wsUrl": "http://127.0.0.1:8199/KittyFallWs?wsdl",
- "wsUser": "ws_KittyFall",
- "wsPass": "KittyFall@123A",
- "RewardWorker": {
- // Worker chi goi moi reward NEW mot lan; loi/timeout/PROCESSING de admin doi soat, khong auto retry.
- "IntervalSeconds": 10,
- "BatchSize": 20,
- "ServiceId": "KittyFall",
- "DataPackageName": "GAME_DATA",
- "LoyaltyPackageName": "GAME_LOYALTY",
- "DefaultPackageName": "GAME_REWARD"
- },
- "MonthlyWinner": {
- // Bat/tat worker tu sinh ky quay, ticket va winner draft cho giai thang.
- "AutoGenerate": true,
- // Neu true, worker tu chon winner nhap tu danh sach ticket de CMS duyet.
- "AutoSelectDraftWinners": true,
- // Neu true, winner duoc cong bo luon; neu false CMS doi status 0 -> 1.
- "AutoAnnounceWinners": false,
- // So giay giua moi lan worker quet xu ly giai thang.
- "IntervalSeconds": 3600,
- // Ngay worker duoc phep tong ket. Production de 1; khi test co the doi 1..28.
- "RunDay": 1,
- // Gio/phut cutoff theo gio local cua server. Sau moc nay restart van catch-up.
- "CutoffHour": 2,
- "CutoffMinute": 0,
- // Thang can xu ly so voi thang hien tai, -1 la thang truoc.
- "TargetMonthOffset": -1,
- // Diem toi thieu de user duoc sinh ticket tham gia giai thang.
- "MinEligibleScore": 5000,
- // So luot choi toi thieu trong thang de duoc tham gia.
- "MinEligiblePlay": 1,
- // So ticket mac dinh neu DB chua co rule theo khoang diem.
- "DefaultTicketCount": 1,
- // Gioi han so ticket toi da cho moi user.
- "MaxTicketsPerUser": 100,
- // Gioi han tong ticket worker sinh cho mot ky thang.
- "MaxTotalTicket": 100000,
- // Khong auto chon lai user da trung trong so thang gan nhat.
- "ExcludeRecentWinnerMonths": 3
- },
- "Logging": {
- "LogLevel": {
- "Default": "Information",
- "Microsoft.AspNetCore": "Warning"
- }
- },
- "Kestrel": {
- "EndPoints": {
- "Http": {
- "Url": "http://127.0.0.1:8311"
- }
- }
- },
- "Jwt": {
- "Key": "MyJobApiJwtSecretKey-2026-CHANGE-THIS-IN-PRODUCTION-aB7xK9pQ2wL5nR8",
- "Issuer": "MyJobApi",
- "Audience": "MyJobClient"
- },
- "AllowedHosts": "*"
- }
|