From 492d7a8f737ea29ab8c99a647b4a08aeeeafa465 Mon Sep 17 00:00:00 2001 From: chenzhi Date: Fri, 21 Aug 2020 17:07:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=8E=B7=E5=8F=96=E6=AF=94?= =?UTF-8?q?=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CompanyStatementSetController.class.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Application/Admin/Controller/CompanyStatementSetController.class.php b/Application/Admin/Controller/CompanyStatementSetController.class.php index abdceb971..284ea2a78 100644 --- a/Application/Admin/Controller/CompanyStatementSetController.class.php +++ b/Application/Admin/Controller/CompanyStatementSetController.class.php @@ -1285,7 +1285,17 @@ class CompanyStatementSetController extends Controller { $rfres; } } - public function getPromoteCompanyGameRatio($company_id,$game_ids,$begintime,$endtime,$company_belong=false){ + /** + * 按公司获取游戏分成比例 + * + * @param [type] $company_id 公司id + * @param [type] $game_ids 游戏关联id + * @param [type] $begintime 开始时间 + * @param [type] $endtime 结束时间 + * @param boolean $company_belong 公司内外团 + * @return void + */ + protected function getPromoteCompanyGameRatio($company_id,$game_ids,$begintime,$endtime,$company_belong=false){ //获取默认比例 if($company_belong === false){ $company_belong = M("PromoteCompany","tab_")->field("company_belong")->where("id='{$company_id}'")->find()['company_belong'];