From 04102f7237efefa744090ed7c25f7b5d0807b679 Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Thu, 05 Feb 2026 18:11:57 +0800
Subject: [PATCH] 完成运营中心提现和运营中心权限管理
---
admin/app/shop/controller/branch/Branch.php | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/admin/app/shop/controller/branch/Branch.php b/admin/app/shop/controller/branch/Branch.php
index b38e914..4b01531 100644
--- a/admin/app/shop/controller/branch/Branch.php
+++ b/admin/app/shop/controller/branch/Branch.php
@@ -12,7 +12,6 @@
use app\shop\model\settings\Setting as SettingModel;
use app\common\service\qrcode\BranchService;
use app\common\model\settings\Region as RegionModel;
-use app\common\library\fbpay\FbPay as FbPayModel;
/**
* 分会控制器
@@ -25,10 +24,13 @@
*/
public function index()
{
- (new FbPayModel(false))->notify();
$model = new BranchModel;
$postData = $this->postData();
$list = $model->getList($postData);
+ foreach ($list as $key => $value) {
+ $list[$key]['member_num'] = $list[$key]['member_num']+(new \app\shop\model\branch\ActivityUser())
+ ->group('user_id')->where(['branch_id'=>$value['branch_id']])->count();
+ }
return $this->renderSuccess('', compact('list'));
}
--
Gitblit v1.9.2