에이전시
소유자, 관리자, 호스트가 있는 호스트 에이전시, 가입 요청과 초대, 획득한 다이아몬드에 따라 호스트와 에이전시에게 지급하는 목표, 리포트, 앱 안의 호스트 센터, 그리고 여러분을 위한 전체 관리 패널.
Usman Tariq 제작최초 게시 2026. 11. 29.최종 업데이트 2026. 12. 1.
이 기능에 대하여
소유자, 관리자, 호스트가 있는 호스트 에이전시, 가입 요청과 초대, 획득한 다이아몬드에 따라 호스트와 에이전시에게 지급하는 목표, 리포트, 앱 안의 호스트 센터, 그리고 여러분을 위한 전체 관리 패널.
하는 일
- 작동 방식: 에이전시는 소유자 아래에 관리자와 함께 호스트를 묶습니다. 사용자는 에이전시 생성을 요청할 수 있고(패널에서 수락 또는 거절), ID로 에이전시를 찾아 가입 요청을 보낼 수 있으며, 에이전시로부터 초대를 받을 수도 있습니다. 소유자 또는 관리자가 수락하거나 거절합니다. 호스트는 받은 선물로 다이아몬드를 얻습니다. 매 기간이 끝날 때마다 시스템은 여러분이 설정한 목표에 따라 각 호스트와 에이전시 자체가 얼마를 벌었는지 계산해 지급합니다. 필요하면 에이전시를 동결할 수 있고(기록 포함), 여러분이 선택한 규칙에 따라 호스트가 떠날 수도 있습니다.
- 목표(호스트에게 지급하는 방식): 목표 사다리를 정의합니다. 각 단계는 다이아몬드 수를 요구하며, 달러, 마이크 사용 시간, 달성한 날, 순간, 릴스도 요구할 수 있습니다. 각 측정 항목에는 가중치가 있습니다(가중치의 합은 정확히 100%여야 합니다). 한 단계에 도달한 호스트의 지급액은 잠기고, 앱은 다음 단계를 향해 계속 동기를 부여합니다(«Remaining to next target»). 기간(일간, 주간, 15일마다 또는 월간), 환전 가격(1 US 달러당 다이아몬드 수, 모든 목표가 이 가격으로 계산됩니다), 하루를 달성으로 간주할 마이크 시간(한 번의 세션 또는 여러 세션), 그리고 도달한 마지막 단계 위의 다이아몬드를 어떻게 할지(사용자 다이아몬드 가격으로 코인 전환, 새 기간으로 이월, 또는 아무것도 하지 않음 — 앱의 수익으로 기록)를 선택합니다. 방에 대한 목표도 있습니다. Unit Target 애드온은 완료된 다이아몬드 단위별로 지급하는 두 번째 방식입니다. 두 시스템 사이를 전환할 수 있으며, 모든 전환은 기록되고 열린 기간을 정산합니다.
- 구성원: 소유자, 관리자(소유자가 추가하고 제거함), 호스트, 그리고 BD 애드온을 설치하면 에이전시를 돌보는 BD. 각 국가(및 지역) 계정은 자신의 에이전시, 호스트, 요청만 보며, 패널의 국가 및 지역 포털은 각자의 에이전시 화면과 수치를 보여줍니다. 소유자는 에이전시를 두 개 소유할 수 없습니다. 패널에서 호스트의 다이아몬드가 표시되는 곳에서는 여러분의 다이아몬드 이미지를 사용할 수 있습니다.
- 관리 패널의 Agencies 메뉴에서 설정하는 항목: Host Agencies(목록, 상세, 소유자, 구성원, 동결 및 일시 정지, 삭제, 에이전시 ID), Host Agencies Earnings, Hosts, Host Earnings, Join Requests(확인 후 수락 또는 거절), Agency Settings 및 Reports, 그리고 Agency Requests(에이전시 생성용), 에이전시 통계, 목표 설정 화면. Agency Settings에는 탭이 있습니다: Submission Forms(앱에 표시되는 신청 양식을 켜고 끄며, 해당 애드온이 설치되어 있으면 각 양식의 디자이너를 엽니다), Leaving the Agency(호스트를 내보낼 수 있는 사람을 선택: 호스트 본인이 앱에서 언제든지, 에이전시 소유자만, 또는 패널에서 관리자만; 어느 경우든 에이전시는 지급받은 금액을 유지하고 호스트는 목표 진행 상황을 다음 에이전시로 가져갑니다), 그리고 Host diamond image(직접 만든 이미지를 업로드). 목표 화면에는 시스템과 금액, 기간, 환전 가격, 달성한 날의 시간, 가중치, 초과 다이아몬드 규칙이 있습니다. 패널에는 36개의 화면과 51개의 권한이 있으며, 기본적으로 관리자 직책에 부여되고 국가별로 범위가 제한됩니다.
- 파일: 호스트 다이아몬드 이미지는 이미지 업로드이며, 다른 파일은 없습니다.
- 앱에서 사용자가 보는 내용: 일반 사용자에게는 ID로 에이전시를 찾고, 가입 요청을 보내거나 에이전시를 만들 수 있는 Agencies 페이지가 있으며, 에이전시가 없으면 «No agency with this ID»가 표시됩니다. 호스트에게는 Host Center가 있습니다: 자신의 에이전시, Achieved Target 카드(달성한 것, 다음 목표, 남은 수치, 기간 종료까지의 카운트다운 포함), Monthly, Weekly 또는 Daily 데이터(마이크 시간, 받은 선물, 효과 일수), 날짜별 상세, 에이전시의 목표 목록, 본인의 지갑 기록, Leave Agency(창과 확인 포함), 그리고 출금을 위한 Host Salary와 Agency Wallet. 소유자 또는 관리자에게는 Agency Center가 있습니다: 가입 요청(Accept와 Reject), 호스트 및 관리자 목록(Add Admin, Remove Admin, 호스트 제거), 사용자 초대, 날짜별 호스트 리포트와 내보내기, 에이전시의 스타와 히어로(상위 호스트와 후원자), 에이전시 지갑과 그 기록, 실시간 코인 미리보기와 함께 사용자 또는 배송 에이전트에게 잔액 이체, 그리고 에이전시 정보(이미지, 소개, 전화번호). 알림은 사용자에게 요청에 대한 답변이 왔을 때, 관리자가 되었을 때, 목표를 달성했을 때를 알려 줍니다.
- 모든 테마와 호환: Host Center와 Agency Center 화면은 활성 테마의 색을 따릅니다.
- 이 기능의 가치: 에이전시는 여러분의 최고 호스트와 그 관리자들이 앱을 성장시키는 방식입니다. 소유자가 호스트를 데려오고 유지하며, 목표는 호스트가 더 많이 벌기 위한 명확한 목적을 제공합니다. 다이아몬드 가격부터 사다리의 모양까지 모든 숫자는 여러분이 결정하며, 패널에서 전부 볼 수 있습니다.
- 요구 사항: 지갑, 기본 사용자와 알림, 그리고 선물(다이아몬드는 받은 선물에서 나옵니다). 달러 지갑과 출금 기능이 호스트와 에이전시가 번 금액을 지급합니다.
의존 대상
지갑, 선물, 기본 사용자와 알림. 선택 사항: BD, Unit Target, Application Forms, Ranking Rewards, 출금 기능.
앱 화면
옆으로 넘겨 더 보기
설치 및 제거
구매 후에는 “내 구매 내역”에서도 이 명령어를 확인할 수 있습니다.
설치
php artisan feature:install agencies --apply제거(데이터는 그대로 남음)
명령 하나로 기본 설정에서 기능을 끕니다(이 페이지에 표시됨). 앱과 패널의 에이전시 화면이 닫히고, 이에 의존하는 애드온도 함께 꺼지며, 수익은 더 이상 계산되지 않습니다. 에이전시, 구성원, 수익 기록은 보존되며 기능이 돌아오면 다시 나타납니다.
php artisan feature:remove agencies먼저 부가 기능을 제거하세요. 부가 기능이 설치된 상태에서 기능을 제거하는 것은 거부됩니다.
이 기능의 부가 기능



Application Forms
사람들이 호스트 에이전시, BD 또는 청구(배송) 에이전시가 되기 위해 작성하는 신청서 양식을 만들고, 관리 패널에서 각 신청을 검토해 승인하거나 거절합니다.
Usman Tariq 제작최종 업데이트 2026. 12. 1.

Host Level
호스트가 하루, 일주일 또는 한 달 동안 받은 다이아몬드를 기준으로 한 레벨 단계표이며, 레벨마다 직접 고른 보상이 있고, 호스트는 앱 화면에서 기간마다 한 번 수령합니다.
Usman Tariq 제작최종 업데이트 2026. 12. 1.

Unit Target
단계형 목표 사다리 대신, 완료된 다이아몬드 단위마다 호스트에게 지갑으로 직접 지급합니다. 단위, 분배, 시스템은 관리자 패널에서 정하며, 언제든 되돌릴 수 있습니다.
Usman Tariq 제작최종 업데이트 2026. 12. 1.

Milestones
앱의 역할마다 보상 묶음(호스트, 에이전시 소유자, BD, 청구 에이전시 소유자, 패밀리 소유자, 지역 관리자, 국가 관리자): 사람이 역할을 얻으면 지급되고, 잃으면 회수됩니다.
Usman Tariq 제작최종 업데이트 2026. 12. 1.
필요한 기능
요구 사항이 없습니다: 단독으로 설치할 수 있습니다.
설치 및 제거
이 명령어가 기능의 테이블, 관리자 패널 페이지, 권한, 설정, 기본 데이터를 준비해 줍니다. 앱에서는 기능이 알아서 제자리에 나타납니다. 기능이 앱과 관리자 패널에서 사라지지만 데이터는 그대로 남습니다. 다시 설치하면 모든 것이 이전 그대로 돌아옵니다.
구매 후에는 “내 구매 내역”에서도 이 명령어를 확인할 수 있습니다.
설치
php artisan feature:install agencies --apply제거(데이터는 그대로 남음)
명령 하나로 기본 설정에서 기능을 끕니다(이 페이지에 표시됨). 앱과 패널의 에이전시 화면이 닫히고, 이에 의존하는 애드온도 함께 꺼지며, 수익은 더 이상 계산되지 않습니다. 에이전시, 구성원, 수익 기록은 보존되며 기능이 돌아오면 다시 나타납니다.
php artisan feature:remove agencies먼저 부가 기능을 제거하세요. 부가 기능이 설치된 상태에서 기능을 제거하는 것은 거부됩니다.
이 기능을 내 기능 안에서 사용하기
The plain summary: the feature is not yet fully separated, so what it offers to others is what AgencyAppServiceProvider::boot() registers in the base registries (not contracts it binds with bind). Do not call any class of app/Models/Agency*, nor AgencyService, from your feature. Without the feature every registry answers its default (empty).
1) Use the feature from yours
Modules\AgencyApp\Support\AgencyDirectories::current()givesModules\AgencyApp\Contracts\AgencyDirectory(the feature's public interface: only for features that declarerequires: agencies, which arebd,payment_gatewaysandadmin_positions; without the feature it throws, there is no Null):ownsAgency($userId): bool·hostAgencies($key,$page,$perPage),bds(...),bdsInCountries($countryIds,...)andshippingAgencies(..., $countryIds = [])give a paginator whose rows are['name','id'].ownedAgencyIdsQuery(PortalScope $scope)gives aselect idsubquery of the agencies of those who entered (fails closed: without the feature it matches nothing).agencyCard(User $user): stringgives the agency card in the users list,''if the user has no agency.
App\Support\FeatureCalls::call($name, $default, ...$args)(the name, and the default it returns when the feature is not installed, which you choose):agency.find($id)givesAgency|null·agency.name($agencyId)gives a name ·agency.is_app_owner($userId)gives a bool ·agency.filter_options('plain'|'with_owner')gives[id => label]·agency.active_app_owner_ids()gives ids ·agency.owner_card($user)gives a resource ·agency.close_live_time($uid)gives today's hours ornull·agency.remove_monthly_live_times($userId)·earnings.target_diamonds_per_usd()gives the diamond rate ·earnings.user_static($user,$month,$year)gives{total_usd,current_total_hour,current_total_day,diamond}.- Payment gateways questions (
payment_gateways) throughFeatureCalls(the feature answers itself when the agencies are not installed; the default is on its side):host_agency_wallet.available($agencyId)gives the availablefloat(zero if there is no wallet) ·host_agency_wallet.reserve($agencyId,$amount,$note,$relatedId),.settle_reservation($agencyId,$amount,$approved,$note,$relatedId)and.adjust_paid($agencyId,$amount,$note,$relatedId)givevoid(they refuse an agency that is not a host agency) ·host_agencies.search($key,$page,$perPage)gives a paginator whose rows are['name','id']·host_agencies.find($id)gives a host agency ornull·host_agencies.find_active($id)gives an agency withstatus = 1ornull·host_agencies.card($agency)gives the agency card resource ·host_agencies.average_coins(?Closure $scope)gives the average coins (0.0if there are no agencies) ·user_earnings.has_row($userId)gives a bool ·user_earnings.cut($userId,$usd)givesvoid. It also registers inFeatureModelsthe keyexchange_log(the exchange report in the charging reports screen), the delete permission ofExchangeLog(charger-reports), the relationspaymentGatewaysandAgencypaymentGatewaysonAgency(whenpayment_gatewaysis installed), and theadminsrelation on the charging agency. App\Support\UserPayload: theagency_cardpart of the V2 user answer (UserAgencyResource, empty if the user has no agency).App\Support\WatchChecks(the dailyappgo:watch-diskreport): the feature registers the keysalary_sweep(the heartbeat ofusers:update-salariesand the hosts the retry left unsettled), each line{problem, line}. Without the feature the report says nothing about salaries.- Sources the feature registers in:
WithdrawalSourcesandCoinMovementSources(the withdrawal and coin movement ledgers),RankingSources(the agencies ranking),UserInfoSections(my_store: theagencyandtotalUserSalaryrelations),AppEarnedIndicators(the app's share of the agencies' targets) andSettingsGuard(normalisingagency_target_period).
use App\Support\FeatureCalls;
use Modules\AgencyApp\Support\AgencyDirectories; // only for features that declare requires: agencies
$name = FeatureCalls::call('agency.name', null, $agencyId); // null if the agencies are not installed
$owns = AgencyDirectories::current()->ownsAgency($user->id); // the optional features (games, ranking, chat and events) ask FeatureCalls and get their own default:
// agency.live_type , agency.owns_agency , agency.owns_charge_agency , agency.managed_ids ,
// agency.is_charge_agent , agency.exclude_charge_agents , agency.next_target_diamonds변경 내역
1.8.482026. 12. 1. 출시Usman Tariq 제작
- 1.8.48 and 1.8.46: The agency's stars and heroes lists and the visitor's agency page show the name, the id and the place, no longer each person's diamonds; the visitor's page shows the agency country, its managers and the month's best receivers, and the join button hides only while a request is still waiting.
1.8.462026. 12. 1. 출시Usman Tariq 제작
- 1.8.46: The visitor's agency page (opened from a profile) now shows the agency country, its managers and the month's best receivers, and the join button is hidden only while a request is still waiting (not after it was answered or ran out). The number of queries no longer grows with the gifts. The Reports page sits inside the Agencies section before "Agency Settings", and the target week runs Sunday to Saturday on every server.
1.8.412026. 11. 29. 출시Usman Tariq 제작
- Release 1.8.41 (signed build b148d82)