From 32555f8668cd69cfd67fe8c661f503db2f45f2ce Mon Sep 17 00:00:00 2001
From: liyaozhi <lzhflash@163.com>
Date: Sun, 16 Nov 2025 23:21:30 +0800
Subject: [PATCH] 1、小程序端分会管理可以添加会员; 2、后台可自定义连盟汇一些页面的的标题; 3、职务和电话增加是否显示的开关; 4、小程序端添加活动增加报名时间; 5、修复分会后台无法上传视频的问题。
---
admin/app/common/model/plus/business/Business.php | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/admin/app/common/model/plus/business/Business.php b/admin/app/common/model/plus/business/Business.php
index 58a6405..add9da1 100644
--- a/admin/app/common/model/plus/business/Business.php
+++ b/admin/app/common/model/plus/business/Business.php
@@ -133,12 +133,13 @@
!empty($paramr['city_id']) && $where['city_id'] = $paramr['city_id'];
!empty($paramr['region_id']) && $where['region_id'] = $paramr['region_id'];
if (!empty($paramr['sort'])) {
+ $order = ['is_top' => 'desc', 'top_time' => 'desc'];
if ($paramr['sort'] == 'name') {
- $order = ['name' => "asc"];
+ $order['name'] = "asc";
} else if ($paramr['sort'] == 'time') {
- $order = ['create_time' => "asc"];
+ $order['create_time'] = "asc";
} else {
- $order = ['unit' => "asc"];
+ $order['unit'] = "asc";
}
} else {
// 检查置顶时间是否过期,如果过期则设置为非置顶
--
Gitblit v1.9.2