公会
包含会长、管理员和主播的主播公会,入会申请与邀请,按主播和公会所赚钻石结算的目标,报告,应用内的主播中心,以及为您提供的完整控制面板。
作者:Usman Tariq首次发布于 2026年11月29日最近更新于 2026年12月1日
关于此功能
包含会长、管理员和主播的主播公会,入会申请与邀请,按主播和公会所赚钻石结算的目标,报告,应用内的主播中心,以及为您提供的完整控制面板。
功能
- 运作方式:公会将主播归于一位会长之下,并设有管理员。用户可以申请创建公会(您在面板中批准或拒绝),通过 ID 查找公会并发送入会申请,也可以被公会邀请;会长或管理员负责接受或拒绝。主播通过收到的礼物赚取钻石。每个周期结束时,系统会根据您设定的目标计算每位主播及公会本身的收入,并进行结算。必要时可以冻结公会(并保留日志),主播也可以根据您选择的规则退出。
- 目标(主播如何获得报酬):您定义一个目标阶梯;每一级要求一定数量的钻石,也可以要求美元、麦位时长、达成的天数、时刻和短视频,每项指标都有一个权重(权重之和必须正好为 100%)。达到某一级的主播,其报酬会被锁定,应用会鼓励他向下一级努力(“Remaining to next target”)。您可以选择周期(每日、每周、每 15 天或每月)、兑换价格(每 1 美元对应的钻石数,所有目标都以此定价)、使一天被视为达成的麦位小时数(单次或多次累计),以及超出最后达到级别的钻石如何处理:按用户钻石价格兑换为金币、结转到新周期,或不做处理(记为应用利润)。房间也有相应的目标。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 项权限,默认授予管理员职位,并按国家划分范围。
- 文件:主播钻石图片为图片上传;没有其他文件。
- 用户在应用中看到的内容:对于普通用户,是 Agencies 页面,他可以通过 ID 找到公会、发送入会申请或创建公会,若没有该公会则显示“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 或货运(charge)机构的申请表,然后在控制面板中审核每份申请并批准或拒绝。
作者: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.48发布于 2026年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.46发布于 2026年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.41发布于 2026年11月29日作者:Usman Tariq
- Release 1.8.41 (signed build b148d82)

