diff --git a/.env b/.env
index 775c31a..31a196e 100644
--- a/.env
+++ b/.env
@@ -11,7 +11,7 @@ type = "mysql"
username = "ahbcqz"
[project]
-admin_name = "多商户后台"
-env_name = "多商户后台"
+admin_name = "博创设计"
+env_name = "博创设计"
file_domain = "loca.ahbcqz.com"
ws_domain = "wss://127.0.0.1"
diff --git a/app/admin/controller/community/Organ.php b/app/admin/controller/community/Organ.php
new file mode 100644
index 0000000..a9a713b
--- /dev/null
+++ b/app/admin/controller/community/Organ.php
@@ -0,0 +1,119 @@
+request->isAjax()) {
+ $get = $this->request->get();
+ $lists = OrganTeamLogic::lists($get,0);
+ return JsonServer::success("获取成功", $lists);
+ }
+
+ return view('');
+ }
+
+ /**
+ * @NOTES: 添加帮助类
+ * @author: 张无忌
+ */
+ public function add()
+ {
+ if ($this->request->isAjax()) {
+// (new HelpValidate())->goCheck('add');
+ $post = $this->request->post();
+ $post['type'] = 0;
+ $res = OrganTeamLogic::add($post);
+
+ if ($res === false) {
+ $error = OrganTeamLogic::getError() ?: '新增失败';
+ return JsonServer::error($error);
+ }
+ return JsonServer::success('新增成功');
+ }
+
+
+ return view('');
+ }
+
+ /**
+ * @NOTES: 编辑帮助分类
+ * @author: 张无忌
+ */
+ public function edit()
+ {
+ if ($this->request->isAjax()) {
+// (new HelpValidate())->goCheck('edit');
+ $post = $this->request->post();
+ $post['type'] = 0;
+ $res = OrganTeamLogic::edit($post);
+ if ($res === false) {
+ $error = OrganTeamLogic::getError() ?: '编辑失败';
+ return JsonServer::error($error);
+ }
+ return JsonServer::success('编辑成功');
+ }
+
+ $id = $this->request->get('id');
+ return view('', [
+ 'detail' => OrganTeamLogic::detail($id)
+ ]);
+ }
+
+ /**
+ * @NOTES: 删除帮助分类
+ * @author: 张无忌
+ */
+ public function del()
+ {
+ if ($this->request->isAjax()) {
+// (new HelpValidate())->goCheck('id');
+ $id = $this->request->post('id');
+ $res = OrganTeamLogic::del($id);
+ if ($res === false) {
+ $error = OrganTeamLogic::getError() ?: '删除失败';
+ return JsonServer::error($error);
+ }
+ return JsonServer::success('删除成功');
+ }
+
+ return JsonServer::error('异常');
+ }
+
+ /**
+ * @Notes: 隐藏帮助分类
+ * @Author: 张无忌
+ */
+ public function hide()
+ {
+ if ($this->request->isAjax()) {
+// (new HelpValidate())->goCheck('id');
+ $id = $this->request->post('id');
+ $res = OrganTeamLogic::hide($id);
+ if ($res === false) {
+ $error = OrganTeamLogic::getError() ?: '操作失败';
+ return JsonServer::error($error);
+ }
+ return JsonServer::success('操作成功');
+ }
+
+ return JsonServer::success('异常');
+ }
+}
\ No newline at end of file
diff --git a/app/admin/controller/community/Team.php b/app/admin/controller/community/Team.php
new file mode 100644
index 0000000..bd0fb0f
--- /dev/null
+++ b/app/admin/controller/community/Team.php
@@ -0,0 +1,119 @@
+request->isAjax()) {
+ $get = $this->request->get();
+ $lists = OrganTeamLogic::lists($get,1);
+ return JsonServer::success("获取成功", $lists);
+ }
+
+ return view('');
+ }
+
+ /**
+ * @NOTES: 添加帮助类
+ * @author: 张无忌
+ */
+ public function add()
+ {
+ if ($this->request->isAjax()) {
+// (new HelpValidate())->goCheck('add');
+ $post = $this->request->post();
+ $post['type'] = 1;
+ $res = OrganTeamLogic::add($post);
+
+ if ($res === false) {
+ $error = OrganTeamLogic::getError() ?: '新增失败';
+ return JsonServer::error($error);
+ }
+ return JsonServer::success('新增成功');
+ }
+
+
+ return view('');
+ }
+
+ /**
+ * @NOTES: 编辑帮助分类
+ * @author: 张无忌
+ */
+ public function edit()
+ {
+ if ($this->request->isAjax()) {
+// (new HelpValidate())->goCheck('edit');
+ $post = $this->request->post();
+ $post['type'] = 1;
+ $res = OrganTeamLogic::edit($post);
+ if ($res === false) {
+ $error = OrganTeamLogic::getError() ?: '编辑失败';
+ return JsonServer::error($error);
+ }
+ return JsonServer::success('编辑成功');
+ }
+
+ $id = $this->request->get('id');
+ return view('', [
+ 'detail' => OrganTeamLogic::detail($id)
+ ]);
+ }
+
+ /**
+ * @NOTES: 删除帮助分类
+ * @author: 张无忌
+ */
+ public function del()
+ {
+ if ($this->request->isAjax()) {
+// (new HelpValidate())->goCheck('id');
+ $id = $this->request->post('id');
+ $res = OrganTeamLogic::del($id);
+ if ($res === false) {
+ $error = OrganTeamLogic::getError() ?: '删除失败';
+ return JsonServer::error($error);
+ }
+ return JsonServer::success('删除成功');
+ }
+
+ return JsonServer::error('异常');
+ }
+
+ /**
+ * @Notes: 隐藏帮助分类
+ * @Author: 张无忌
+ */
+ public function hide()
+ {
+ if ($this->request->isAjax()) {
+// (new HelpValidate())->goCheck('id');
+ $id = $this->request->post('id');
+ $res = OrganTeamLogic::hide($id);
+ if ($res === false) {
+ $error = OrganTeamLogic::getError() ?: '操作失败';
+ return JsonServer::error($error);
+ }
+ return JsonServer::success('操作成功');
+ }
+
+ return JsonServer::success('异常');
+ }
+}
\ No newline at end of file
diff --git a/app/admin/controller/setting/Basic.php b/app/admin/controller/setting/Basic.php
index 79e80e6..4aa54e4 100644
--- a/app/admin/controller/setting/Basic.php
+++ b/app/admin/controller/setting/Basic.php
@@ -223,4 +223,28 @@ class Basic extends AdminBase
return JsonServer::success('操作成功');
}
}
+
+ /**
+ * Notes: 政策协议
+ * @author 段誉(2021/6/11 0:41)
+ * @return mixed
+ */
+ public function sensitiveWords()
+ {
+ $config = [
+ 'words' => ConfigServer::get('sensitive_words', 'words'),
+ ];
+ return view('', ['config' => $config]);
+ }
+
+ public function setSensitiveWords()
+ {
+ $post = $this->request->post();
+ if ($post) {
+ ConfigServer::set('sensitive_words', 'words', strip_tags($post['words']));
+ return JsonServer::success('修改成功');
+ }
+ }
+
+
}
\ No newline at end of file
diff --git a/app/admin/logic/community/CommunityArticleLogic.php b/app/admin/logic/community/CommunityArticleLogic.php
index 2d50cde..f291c6f 100644
--- a/app/admin/logic/community/CommunityArticleLogic.php
+++ b/app/admin/logic/community/CommunityArticleLogic.php
@@ -73,7 +73,8 @@ class CommunityArticleLogic extends Logic
foreach ($lists['data'] as &$item) {
$item['avatar'] = !empty($item['avatar']) ? UrlServer::getFileUrl($item['avatar']) : '';
- $item['category'] = !empty($item['category']['name']) ? $item['category']['name'] : '--';
+
+ $item['category'] = !empty($item['category']['name']) ? ($item['category']['type']==0?'需求-':'服务-').$item['category']['name'] : '--';
}
return ['count' => $lists['total'], 'lists' => $lists['data']];
diff --git a/app/admin/logic/community/CommunityCategoryLogic.php b/app/admin/logic/community/CommunityCategoryLogic.php
index acb3ee0..75c785b 100644
--- a/app/admin/logic/community/CommunityCategoryLogic.php
+++ b/app/admin/logic/community/CommunityCategoryLogic.php
@@ -93,6 +93,7 @@ class CommunityCategoryLogic extends Logic
{
return CommunityCategory::create([
'name' => $post['name'],
+ 'type' => $post['type']?? 0,
'is_show' => $post['is_show'],
'sort' => $post['sort'] ?? 255,
'create_time' => time()
@@ -111,6 +112,7 @@ class CommunityCategoryLogic extends Logic
{
return CommunityCategory::update([
'name' => $post['name'],
+ 'type' => $post['type']?? 0,
'is_show' => $post['is_show'],
'sort' => $post['sort'] ?? 255,
'update_time' => time()
diff --git a/app/admin/logic/community/OrganTeamLogic.php b/app/admin/logic/community/OrganTeamLogic.php
new file mode 100644
index 0000000..d338fec
--- /dev/null
+++ b/app/admin/logic/community/OrganTeamLogic.php
@@ -0,0 +1,184 @@
+field(true)
+ ->where($where)
+ ->order('sort', 'asc')
+ ->paginate([
+ 'page' => $get['page'],
+ 'list_rows' => $get['limit'],
+ 'var_page' => 'page'
+ ])
+ ->toArray();
+
+ foreach ($lists['data'] as &$item) {
+ $item['is_show'] = $item['is_show'] ? '显示' : '隐藏';
+ $item['address'] = $item['province_id']?AreaServer::getAddress([
+ $item['province_id'],
+ $item['city_id'],
+ ]):'';
+ }
+
+ return ['count'=>$lists['total'], 'lists'=>$lists['data']];
+ } catch (Exception $e) {
+ return ['error'=>$e->getMessage()];
+ }
+ }
+
+ public static function getAddr(){
+
+ }
+ /**
+ * @Notes: 资料详细
+ * @Author:
+ * @param $id
+ * @return array
+ */
+ public static function detail($id)
+ {
+ $model = new OrganTeam();
+ $detail = $model->field(true)->findOrEmpty($id)->toArray();
+// $detail['path'] = UrlServer::getFileUrl($detail['path']);
+ return $detail;
+ }
+
+ /**
+ * @Notes: 添加帮助
+ * @Author:
+ * @param $post
+ * @return bool
+ */
+ public static function add($post)
+ {
+ try {
+ OrganTeam::create([
+
+ 'name' => $post['name'],
+ 'image' => $post['image'] ?? '',
+ 'intro' => $post['intro'] ?? '',
+ 'content' => $post['content'] ?? '',
+ 'type' => $post['type'] ?? 0,
+ 'province_id' => $post['province_id'] ?? 0,
+ 'city_id' => $post['city_id'] ?? 0,
+ 'district_id' => $post['district_id'] ?? 0,
+ 'visit' => 0,
+ 'contact' => $post['contact'] ?? '',
+ 'sort' => $post['sort'] ?? 0,
+ 'is_show' => $post['is_show'],
+ 'company' => $post['company'] ?? '',
+ ]);
+
+ return true;
+ } catch (\Exception $e) {
+ static::$error = $e->getMessage();
+ return false;
+ }
+ }
+
+ /**
+ * @Notes: 编辑帮助
+ * @Author: 张无忌
+ * @param $post
+ * @return bool
+ */
+ public static function edit($post)
+ {
+ try {
+ OrganTeam::update([
+ 'name' => $post['name'],
+ 'image' => $post['image'] ?? '',
+ 'intro' => $post['intro'] ?? '',
+ 'content' => $post['content'] ?? '',
+ 'company' => $post['company'] ?? '',
+ 'type' => $post['type'] ?? 0,
+ 'province_id' => $post['province_id'] ?? 0,
+ 'city_id' => $post['city_id'] ?? 0,
+ 'district_id' => $post['district_id'] ?? 0,
+ 'visit' => 0,
+ 'contact' => $post['contact'] ?? '',
+ 'sort' => $post['sort'] ?? 0,
+ 'is_show' => $post['is_show']
+ ], ['id'=>$post['id']]);
+
+ return true;
+ } catch (\Exception $e) {
+ static::$error = $e->getMessage();
+ return false;
+ }
+ }
+
+ /**
+ * @Notes: 删除
+ * @Author:
+ * @param $id
+ * @return bool
+ */
+ public static function del($id)
+ {
+ try {
+ OrganTeam::update([
+ 'del' => 1,
+ 'update_time' => time()
+ ], ['id'=>$id]);
+
+ return true;
+ } catch (\Exception $e) {
+ static::$error = $e->getMessage();
+ return false;
+ }
+ }
+
+ /**
+ * @Notes: 隐藏
+ * @Author: 张无忌
+ * @param $id
+ * @return bool
+ */
+ public static function hide($id)
+ {
+ try {
+ $model = new OrganTeam();
+ $article = $model->findOrEmpty($id)->toArray();
+
+ OrganTeam::update([
+ 'is_show' => !$article['is_show'],
+ 'update_time' => time()
+ ], ['id'=>$id]);
+
+ return true;
+ } catch (\Exception $e) {
+ static::$error = $e->getMessage();
+ return false;
+ }
+ }
+}
\ No newline at end of file
diff --git a/app/admin/logic/setting/BasicLogic.php b/app/admin/logic/setting/BasicLogic.php
index b3a4671..23c427c 100644
--- a/app/admin/logic/setting/BasicLogic.php
+++ b/app/admin/logic/setting/BasicLogic.php
@@ -132,6 +132,7 @@ class BasicLogic extends Logic
return ['config'=>$config];
}
+
/**
* @notes 设置版权资质
* @param $post
diff --git a/app/admin/validate/community/CommunityCategoryValidate.php b/app/admin/validate/community/CommunityCategoryValidate.php
index dea629d..065bd26 100644
--- a/app/admin/validate/community/CommunityCategoryValidate.php
+++ b/app/admin/validate/community/CommunityCategoryValidate.php
@@ -16,7 +16,7 @@ class CommunityCategoryValidate extends Validate
{
protected $rule = [
'id' => 'require|number',
- 'name' => 'require|max:4|unique:'.CommunityCategory::class.',name^del',
+ 'name' => 'require|max:4:'.CommunityCategory::class.',name^del^type',
'is_show' => 'require|in:0,1',
'sort' => 'egt:0'
];
diff --git a/app/admin/view/community/community_category/add.html b/app/admin/view/community/community_category/add.html
index e11ac9b..0f99495 100644
--- a/app/admin/view/community/community_category/add.html
+++ b/app/admin/view/community/community_category/add.html
@@ -7,6 +7,13 @@
+
diff --git a/app/admin/view/community/community_category/edit.html b/app/admin/view/community/community_category/edit.html
index 01e0d58..058f912 100644
--- a/app/admin/view/community/community_category/edit.html
+++ b/app/admin/view/community/community_category/edit.html
@@ -9,6 +9,16 @@
+
+
+
@@ -55,6 +63,7 @@
like.tableLists("#like-table-lists", "{:url()}", [
{field:"name", align:"center", title:"分类名称"}
+ ,{field:"type", align:"center", title:"类型",templet: "#showType"}
,{field:"is_show", align:"center", title:"状态", templet: "#showTpl"}
,{field:"sort", align:"center", title:"排序"}
,{field:"create_time", align:"center", title:"创建时间"}
diff --git a/app/admin/view/community/organ/add.html b/app/admin/view/community/organ/add.html
new file mode 100644
index 0000000..26be57c
--- /dev/null
+++ b/app/admin/view/community/organ/add.html
@@ -0,0 +1,215 @@
+{layout name="layout2" /}
+
+
+
+
+
\ No newline at end of file
diff --git a/app/admin/view/community/organ/edit.html b/app/admin/view/community/organ/edit.html
new file mode 100644
index 0000000..5e6a043
--- /dev/null
+++ b/app/admin/view/community/organ/edit.html
@@ -0,0 +1,225 @@
+{layout name="layout2" /}
+
+
+
+
+
\ No newline at end of file
diff --git a/app/admin/view/community/organ/lists.html b/app/admin/view/community/organ/lists.html
new file mode 100644
index 0000000..8bc9b3c
--- /dev/null
+++ b/app/admin/view/community/organ/lists.html
@@ -0,0 +1,226 @@
+{layout name="layout1" /}
+
+
+
+
+
+
+
+
操作提示
+
+
*平台监测机构管理。
+
*排序值越小越前,排序值相同时新增在前。
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/admin/view/community/team/add.html b/app/admin/view/community/team/add.html
new file mode 100644
index 0000000..edbe767
--- /dev/null
+++ b/app/admin/view/community/team/add.html
@@ -0,0 +1,215 @@
+{layout name="layout2" /}
+
+
+
+
+
\ No newline at end of file
diff --git a/app/admin/view/community/team/edit.html b/app/admin/view/community/team/edit.html
new file mode 100644
index 0000000..ef8ab71
--- /dev/null
+++ b/app/admin/view/community/team/edit.html
@@ -0,0 +1,226 @@
+{layout name="layout2" /}
+
+
+
+
+
\ No newline at end of file
diff --git a/app/admin/view/community/team/lists.html b/app/admin/view/community/team/lists.html
new file mode 100644
index 0000000..f7e085c
--- /dev/null
+++ b/app/admin/view/community/team/lists.html
@@ -0,0 +1,226 @@
+{layout name="layout1" /}
+
+
+
+
+
+
+
+
操作提示
+
+
*平台专家信息管理。
+
*排序值越小越前,排序值相同时新增在前。
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/admin/view/setting/basic/sensitive_words.html b/app/admin/view/setting/basic/sensitive_words.html
new file mode 100644
index 0000000..d4ca097
--- /dev/null
+++ b/app/admin/view/setting/basic/sensitive_words.html
@@ -0,0 +1,87 @@
+{layout name="layout1" /}
+
+
+
+
+
+
+
+
操作提示
+
+
*用户提交服务或需求时会审核敏感词,将敏感词替换为**。
+
*多个敏感词之间用 | 隔开。
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/api/controller/Community.php b/app/api/controller/Community.php
index f7ebf30..23c54f7 100644
--- a/app/api/controller/Community.php
+++ b/app/api/controller/Community.php
@@ -94,7 +94,12 @@ class Community extends Api
*/
public function cate()
{
- $result = CommunityLogic::getCate();
+ $get = $this->request->get();
+ $type = '';
+ if(isset($get['type'])){
+ $type = intval($get['type']);
+ }
+ $result = CommunityLogic::getCate($type);
return JsonServer::success('', $result);
}
@@ -322,4 +327,54 @@ class Community extends Api
return JsonServer::success('', $result);
}
+ /**
+ * @notes 获取发现页的文章列表
+ * @return \think\response\Json
+ * @throws \think\db\exception\DataNotFoundException
+ * @throws \think\db\exception\DbException
+ * @throws \think\db\exception\ModelNotFoundException
+ * @author 段誉
+ * @date 2022/4/29 18:09
+ */
+ public function organLists()
+ {
+ $get = $this->request->get();
+ $result = CommunityLogic::getOrganTeamLists($get, $this->page_no, $this->page_size, 0);
+ return JsonServer::success('', $result);
+ }
+ /**
+ * @notes 获取发现页的文章列表
+ * @return \think\response\Json
+ * @throws \think\db\exception\DataNotFoundException
+ * @throws \think\db\exception\DbException
+ * @throws \think\db\exception\ModelNotFoundException
+ * @author 段誉
+ * @date 2022/4/29 18:09
+ */
+ public function teamLists()
+ {
+ $get = $this->request->get();
+ $result = CommunityLogic::getOrganTeamLists($get, $this->page_no, $this->page_size, 1);
+ return JsonServer::success('', $result);
+ }
+
+ /**
+ * @notes 获取发现页的文章列表
+ * @return \think\response\Json
+ * @throws \think\db\exception\DataNotFoundException
+ * @throws \think\db\exception\DbException
+ * @throws \think\db\exception\ModelNotFoundException
+ * @author 段誉
+ * @date 2022/4/29 18:09
+ */
+ public function organTeamDetail()
+ {
+ $id = $this->request->get('id/d');
+ $result = CommunityLogic::organTeamDetail($id);
+ return JsonServer::success('', $result);
+ }
+
+
+
+
}
\ No newline at end of file
diff --git a/app/api/logic/CommunityLogic.php b/app/api/logic/CommunityLogic.php
index 77f9c89..1c80098 100644
--- a/app/api/logic/CommunityLogic.php
+++ b/app/api/logic/CommunityLogic.php
@@ -14,7 +14,7 @@ use app\common\enum\{
CommunityArticleEnum,
CommunityLikeEnum
};
-use app\common\model\{
+use app\common\model\{community\OrganTeam,
goods\Goods,
order\Order,
order\OrderGoods,
@@ -26,12 +26,8 @@ use app\common\model\{
community\CommunityComment,
community\CommunityFollow,
community\CommunityLike,
- community\CommunityTopic
-};
-use app\common\server\{
- ConfigServer,
- UrlServer
-};
+ community\CommunityTopic};
+use app\common\server\{AreaServer, ConfigServer, UrlServer};
use think\facade\Db;
@@ -223,10 +219,14 @@ class CommunityLogic extends Logic
* @author 段誉
* @date 2022/4/29 17:49
*/
- public static function getCate()
+ public static function getCate($type='')
{
- $lists = CommunityCategory::field(['id', 'name'])
- ->where(['is_show' => 1, 'del' => 0])
+ $where = ['is_show' => 1, 'del' => 0];
+ if($type!=''){
+ $where['type'] = $type;
+ }
+ $lists = CommunityCategory::field(['id', 'name','type'])
+ ->where($where)
->order(['sort' => 'asc', 'id' => 'desc'])
->select()->toArray();
return $lists;
@@ -247,11 +247,14 @@ class CommunityLogic extends Logic
*/
public static function getArticleLists($get, $page, $size, $user_id = null)
{
- $where[] = ['del', '=', 0];
+ $where[] = ['a.del', '=', 0];
$where[] = ['status', '=', CommunityArticleEnum::STATUS_SUCCESS];
if (!empty($get['cate_id'])) {
$where[] = ['cate_id', '=', $get['cate_id']];
}
+ if (isset($get['type']) && $get['type']!='') {
+ $where[] = ['b.type', '=', $get['type']];
+ }
if (!empty($get['topic_id'])) {
$where[] = ['topic_id', '=', $get['topic_id']];
}
@@ -274,14 +277,17 @@ class CommunityLogic extends Logic
$sort = ['like' => 'desc', 'id' => 'desc'];
}
+
$model = new CommunityArticle();
- $count = $model->where($where)->count();
+ $count = $model->alias('a')->join('community_category b','a.cate_id = b.id')->where($where)->count();
$lists = $model
+ ->alias('a')
+ ->join('community_category b','a.cate_id = b.id')
->with(['user' => function ($query) {
$query->field(['id', 'nickname', 'avatar']);
}])
->where($where)
- ->field(['id', 'user_id', 'cate_id', 'image', 'content', 'like', 'create_time'])
+ ->field(['a.id', 'user_id', 'cate_id', 'image', 'content', 'like', 'a.create_time'])
->page($page, $size)
->order($sort)
->select()
@@ -507,7 +513,7 @@ class CommunityLogic extends Logic
{
$data = [
'user_id' => $user_id,
- 'content' => $post['content'],
+ 'content' => self::replaceSensitiveWords($post['content']),
'image' => !empty($post['image']) ? reset($post['image']) : '',
'goods' => !empty($post['goods']) ? array_unique(array_values($post['goods'])) : '',
'shop' => !empty($post['shop']) ? array_unique(array_values($post['shop'])) : '',
@@ -563,6 +569,26 @@ class CommunityLogic extends Logic
/**
+ * @notes 过敏感词
+ * @param $image
+ * @param $article_id
+ * @throws \Exception
+ * @author 段誉
+ * @date 2022/5/7 9:52
+ */
+ public static function replaceSensitiveWords ($content)
+ {
+ // 假设敏感词库存储在 $sensitive_words 变量中,用逗号分割每个敏感词
+ $sensitive_words = ConfigServer::get('sensitive_words', 'words');
+ $search_regex = "/(" . $sensitive_words . ")/u";
+ // 批量替换敏感词
+ $content = preg_replace($search_regex, "**", $content);
+ // 输出替换后的字符串
+ return $content;
+ }
+
+
+ /**
* @notes 关注用户
* @param $user_id
* @param $post
@@ -923,5 +949,81 @@ class CommunityLogic extends Logic
return $result;
}
+ /**
+ * @notes 获取文章列表
+ * @param $get
+ * @param $page
+ * @param $size
+ * @return array
+ * @throws \think\db\exception\DataNotFoundException
+ * @throws \think\db\exception\DbException
+ * @throws \think\db\exception\ModelNotFoundException
+ * @author 段誉
+ * @date 2022/4/29 18:09
+ */
+ public static function getOrganTeamLists($get, $page, $size, $type = 0)
+ {
+ $where[] = ['a.del', '=', 0];
+ $where[] = ['a.is_show', '=', 1];
+ $where[] = ['a.type', '=', $type];
+ if (!empty($get['cid'])) {
+ $where[] = ['city_id', '=', $get['cid']];
+ }
+ $sort = [];
+ if (empty($sort)) {
+ $sort = ['sort' => 'asc', 'id' => 'desc'];
+ }
+
+ $model = new OrganTeam();
+ $count = $model->alias('a')->where($where)->count();
+ $lists = $model
+ ->alias('a')
+ ->where($where)
+ ->field('a.*')
+ ->page($page, $size)
+ ->order($sort)
+ ->select()
+ ->toArray();
+
+ foreach ($lists as &$item) {
+ $item['image'] = !empty($item['image']) ? UrlServer::getFileUrl($item['image']) : '';
+ $item['address'] = $item['province_id']?AreaServer::getAddress([
+ $item['province_id'],
+ $item['city_id']]):'全国';
+ }
+
+ return [
+ 'list' => $lists,
+ 'page' => $page,
+ 'size' => $size,
+ 'count' => $count,
+ 'more' => is_more($count, $page, $size)
+ ];
+ }
+
+
+ /**
+ * @Notes: 文章详细
+ * @Author: 张无忌
+ * @param $id
+ * @return array
+ */
+ public static function organTeamDetail($id)
+ {
+ $article = OrganTeam::field('*')->where('id', $id)->findOrEmpty();
+ if($article->isEmpty()) {
+ $article = [];
+ }else{
+ $article->visit = $article->visit + 1;
+ $article->save();
+ $article = $article->toArray();
+
+ $article['address'] = $article['province_id']?AreaServer::getAddress([
+ $article['province_id'],
+ $article['city_id']]):'全国';
+ }
+
+ return $article;
+ }
}
\ No newline at end of file
diff --git a/app/api/logic/GoodsLogic.php b/app/api/logic/GoodsLogic.php
index 7501bfb..ac3ecc3 100644
--- a/app/api/logic/GoodsLogic.php
+++ b/app/api/logic/GoodsLogic.php
@@ -434,6 +434,7 @@ class GoodsLogic extends Logic
$order = [
'sort_weight' => 'asc', // 数字越小,权重越大
'sales_actual' => 'desc',
+ 'create_time' => 'desc',
'id' => 'desc'
];
diff --git a/app/api/logic/IndexLogic.php b/app/api/logic/IndexLogic.php
index 1fdd331..40f7aa8 100644
--- a/app/api/logic/IndexLogic.php
+++ b/app/api/logic/IndexLogic.php
@@ -116,6 +116,7 @@ class IndexLogic extends Logic
'sales_total' => 'desc', // 实际销量+虚拟销量倒序
'sales_actual' => 'desc', // 实际销量倒序
'sort_weight' => 'asc', // 商品权重
+ 'create_time' => 'desc', // 商品权重
'id' => 'desc'
];
$hots = Goods::field('id,name,image,min_price,market_price,sales_actual,create_time,sales_virtual,(sales_actual + sales_virtual) as sales_total')
diff --git a/app/api/logic/ResourceLogic.php b/app/api/logic/ResourceLogic.php
index bdc3619..68587bf 100644
--- a/app/api/logic/ResourceLogic.php
+++ b/app/api/logic/ResourceLogic.php
@@ -148,7 +148,7 @@ class ResourceLogic extends Logic
if($uid){
if($goodsType==2){
$resmodel = new UserResource();
- $count = $resmodel->where("user_id",$uid)->where("type",1)->count();
+ $count = $resmodel->where("resource_id",$id)->where("user_id",$uid)->where("type",1)->count();
if($count){
$goodsType=0;
}
diff --git a/app/common/enum/MenuEnum.php b/app/common/enum/MenuEnum.php
index 75a553b..ea4c16f 100644
--- a/app/common/enum/MenuEnum.php
+++ b/app/common/enum/MenuEnum.php
@@ -127,7 +127,7 @@ class MenuEnum{
//店铺街
[
'index' => 114,
- 'name' => '店铺街',
+ 'name' => '商铺街',
'link' => '/pages/shop_street/shop_street',
'is_tab' => 0,
'link_type' => 1,
@@ -175,10 +175,18 @@ class MenuEnum{
//种草社区
[
'index' => 120,
- 'name' => '种草社区',
+ 'name' => '服务大厅',
'link' => '/pages/community/community',
'is_tab' => 1,
'link_type' => 1,
+ ],
+ //投诉中心
+ [
+ 'index' => 121,
+ 'name' => '投诉中心',
+ 'link' => '/pages/user/complain',
+ 'is_tab' => 1,
+ 'link_type' => 1,
]
];
diff --git a/app/common/model/community/OrganTeam.php b/app/common/model/community/OrganTeam.php
new file mode 100644
index 0000000..88b352a
--- /dev/null
+++ b/app/common/model/community/OrganTeam.php
@@ -0,0 +1,12 @@
+
-a:1:{s:13:"config_server";s:0:"";}
\ No newline at end of file
diff --git a/runtime/cache/08/9f9473551c6be7c249c6691db76e8b.php b/runtime/cache/08/9f9473551c6be7c249c6691db76e8b.php
deleted file mode 100644
index a5f41dd..0000000
--- a/runtime/cache/08/9f9473551c6be7c249c6691db76e8b.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";s:0:"";}
\ No newline at end of file
diff --git a/runtime/cache/12/bb0249cb4a5d867c05cb88253006ec.php b/runtime/cache/12/bb0249cb4a5d867c05cb88253006ec.php
deleted file mode 100644
index a5f41dd..0000000
--- a/runtime/cache/12/bb0249cb4a5d867c05cb88253006ec.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";s:0:"";}
\ No newline at end of file
diff --git a/runtime/cache/17/3cae69e1a1a69728d9c7389c494c9e.php b/runtime/cache/17/3cae69e1a1a69728d9c7389c494c9e.php
deleted file mode 100644
index a5f41dd..0000000
--- a/runtime/cache/17/3cae69e1a1a69728d9c7389c494c9e.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";s:0:"";}
\ No newline at end of file
diff --git a/runtime/cache/17/8b359da1a92eac32afc7a1d31c0b14.php b/runtime/cache/17/8b359da1a92eac32afc7a1d31c0b14.php
deleted file mode 100644
index a5f41dd..0000000
--- a/runtime/cache/17/8b359da1a92eac32afc7a1d31c0b14.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";s:0:"";}
\ No newline at end of file
diff --git a/runtime/cache/18/4ac7d2de0f535b928f57be67c12982.php b/runtime/cache/18/4ac7d2de0f535b928f57be67c12982.php
deleted file mode 100644
index a5f41dd..0000000
--- a/runtime/cache/18/4ac7d2de0f535b928f57be67c12982.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";s:0:"";}
\ No newline at end of file
diff --git a/runtime/cache/18/b0842da0c7ddbd0df1131fc872437b.php b/runtime/cache/18/b0842da0c7ddbd0df1131fc872437b.php
deleted file mode 100644
index a5f41dd..0000000
--- a/runtime/cache/18/b0842da0c7ddbd0df1131fc872437b.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";s:0:"";}
\ No newline at end of file
diff --git a/runtime/cache/1e/9273b3315671b45227b5827559a179.php b/runtime/cache/1e/9273b3315671b45227b5827559a179.php
deleted file mode 100644
index ea2326b..0000000
--- a/runtime/cache/1e/9273b3315671b45227b5827559a179.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:45:{s:2:"id";i:1;s:2:"sn";s:8:"71828424";s:4:"root";i:0;s:8:"nickname";s:14:"用户71828424";s:6:"avatar";s:37:"/static/common/image/default/user.png";s:6:"mobile";s:11:"18256952487";s:9:"real_name";N;s:5:"level";i:0;s:8:"group_id";N;s:3:"sex";i:0;s:8:"birthday";N;s:10:"user_money";s:8:"10000.00";s:13:"user_integral";i:0;s:18:"total_order_amount";s:4:"0.00";s:21:"total_recharge_amount";s:4:"0.00";s:7:"account";s:0:"";s:8:"password";s:32:"5b728ba254f58d115ff28ed18f82f2c3";s:12:"pay_password";N;s:4:"salt";s:4:"90a5";s:12:"first_leader";i:0;s:13:"second_leader";i:0;s:12:"third_leader";i:0;s:17:"ancestor_relation";N;s:15:"is_distribution";i:0;s:24:"distribution_add_remarks";s:0:"";s:19:"freeze_distribution";i:0;s:23:"distribution_h5_qr_code";s:0:"";s:24:"distribution_mnp_qr_code";s:0:"";s:24:"distribution_app_qr_code";s:0:"";s:17:"distribution_code";s:6:"T4T6CG";s:11:"create_time";i:1681693999;s:11:"update_time";i:1681713167;s:10:"login_time";i:1681694028;s:8:"login_ip";s:9:"127.0.0.1";s:7:"disable";i:0;s:3:"del";i:0;s:11:"user_growth";i:0;s:8:"earnings";s:4:"0.00";s:6:"client";i:6;s:7:"tag_ids";s:0:"";s:6:"remark";s:0:"";s:11:"is_new_user";i:0;s:7:"ship_id";N;s:8:"exp_time";i:0;s:5:"token";s:32:"fa189f5600beda8bcf3e52077c9929aa";}
\ No newline at end of file
diff --git a/runtime/cache/20/7f8bc94ca8123509893d9da7e2ff59.php b/runtime/cache/20/7f8bc94ca8123509893d9da7e2ff59.php
deleted file mode 100644
index a5f41dd..0000000
--- a/runtime/cache/20/7f8bc94ca8123509893d9da7e2ff59.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";s:0:"";}
\ No newline at end of file
diff --git a/runtime/cache/22/88986d1983eea4de09bf8e70ec9881.php b/runtime/cache/22/88986d1983eea4de09bf8e70ec9881.php
deleted file mode 100644
index 6ab3602..0000000
--- a/runtime/cache/22/88986d1983eea4de09bf8e70ec9881.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";s:8:"LikeMall";}
\ No newline at end of file
diff --git a/runtime/cache/24/aa79f454ae4a96de164eff1ccef5ee.php b/runtime/cache/24/aa79f454ae4a96de164eff1ccef5ee.php
deleted file mode 100644
index de548f4..0000000
--- a/runtime/cache/24/aa79f454ae4a96de164eff1ccef5ee.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:16:{s:2:"id";i:2;s:4:"root";i:1;s:7:"shop_id";i:2;s:4:"name";s:15:"超级管理员";s:7:"account";s:6:"777777";s:4:"salt";s:4:"613f";s:7:"role_id";i:0;s:11:"create_time";s:19:"2021-06-23 15:57:04";s:11:"update_time";s:19:"2023-04-12 11:03:03";s:10:"login_time";s:19:"2023-04-12 11:03:42";s:8:"login_ip";s:9:"127.0.0.1";s:7:"disable";i:0;s:3:"del";i:0;s:5:"token";s:32:"e860f3c9177894fcc4b3dedcb8515ffc";s:6:"client";i:5;s:9:"shop_name";s:16:"大G数码集团";}
\ No newline at end of file
diff --git a/runtime/cache/26/1b47462c6799213cf37df319f33655.php b/runtime/cache/26/1b47462c6799213cf37df319f33655.php
deleted file mode 100644
index c3c82fb..0000000
--- a/runtime/cache/26/1b47462c6799213cf37df319f33655.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";i:1;}
\ No newline at end of file
diff --git a/runtime/cache/29/b54ac964c061893f6d047ecadf2db6.php b/runtime/cache/29/b54ac964c061893f6d047ecadf2db6.php
deleted file mode 100644
index a5f41dd..0000000
--- a/runtime/cache/29/b54ac964c061893f6d047ecadf2db6.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";s:0:"";}
\ No newline at end of file
diff --git a/runtime/cache/2a/2ba4e15d0b50ad705155378a65bc94.php b/runtime/cache/2a/2ba4e15d0b50ad705155378a65bc94.php
deleted file mode 100644
index a5f41dd..0000000
--- a/runtime/cache/2a/2ba4e15d0b50ad705155378a65bc94.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";s:0:"";}
\ No newline at end of file
diff --git a/runtime/cache/2a/3c59317bf62dee03ac481983f4d910.php b/runtime/cache/2a/3c59317bf62dee03ac481983f4d910.php
deleted file mode 100644
index 0ed857e..0000000
--- a/runtime/cache/2a/3c59317bf62dee03ac481983f4d910.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";i:0;}
\ No newline at end of file
diff --git a/runtime/cache/2a/3e026a446221f44c23a06208998d4b.php b/runtime/cache/2a/3e026a446221f44c23a06208998d4b.php
deleted file mode 100644
index c3c82fb..0000000
--- a/runtime/cache/2a/3e026a446221f44c23a06208998d4b.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";i:1;}
\ No newline at end of file
diff --git a/runtime/cache/2b/0c0c6ac8dbe9c121625db7f115ed18.php b/runtime/cache/2b/0c0c6ac8dbe9c121625db7f115ed18.php
deleted file mode 100644
index 3b4363c..0000000
--- a/runtime/cache/2b/0c0c6ac8dbe9c121625db7f115ed18.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";N;}
\ No newline at end of file
diff --git a/runtime/cache/2e/00473f3b37a60f00d26da6bcff1f42.php b/runtime/cache/2e/00473f3b37a60f00d26da6bcff1f42.php
deleted file mode 100644
index f18c533..0000000
--- a/runtime/cache/2e/00473f3b37a60f00d26da6bcff1f42.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-1
\ No newline at end of file
diff --git a/runtime/cache/2f/29b23217261947c25f2b92b8f31f7b.php b/runtime/cache/2f/29b23217261947c25f2b92b8f31f7b.php
deleted file mode 100644
index a5f41dd..0000000
--- a/runtime/cache/2f/29b23217261947c25f2b92b8f31f7b.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";s:0:"";}
\ No newline at end of file
diff --git a/runtime/cache/33/3d185de946c220cbe4e4ad709f3b67.php b/runtime/cache/33/3d185de946c220cbe4e4ad709f3b67.php
deleted file mode 100644
index 3b4363c..0000000
--- a/runtime/cache/33/3d185de946c220cbe4e4ad709f3b67.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";N;}
\ No newline at end of file
diff --git a/runtime/cache/39/c32ced6a3806745d665754c8c9b590.php b/runtime/cache/39/c32ced6a3806745d665754c8c9b590.php
deleted file mode 100644
index 3b4363c..0000000
--- a/runtime/cache/39/c32ced6a3806745d665754c8c9b590.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";N;}
\ No newline at end of file
diff --git a/runtime/cache/40/6a6b9f24afe34133374bf1b54efb00.php b/runtime/cache/40/6a6b9f24afe34133374bf1b54efb00.php
deleted file mode 100644
index a5f41dd..0000000
--- a/runtime/cache/40/6a6b9f24afe34133374bf1b54efb00.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";s:0:"";}
\ No newline at end of file
diff --git a/runtime/cache/47/0d7371185f215c48473a3b188fc928.php b/runtime/cache/47/0d7371185f215c48473a3b188fc928.php
deleted file mode 100644
index 3b4363c..0000000
--- a/runtime/cache/47/0d7371185f215c48473a3b188fc928.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";N;}
\ No newline at end of file
diff --git a/runtime/cache/49/77e3a4be3b8073aa726f7197724dd7.php b/runtime/cache/49/77e3a4be3b8073aa726f7197724dd7.php
deleted file mode 100644
index c3c82fb..0000000
--- a/runtime/cache/49/77e3a4be3b8073aa726f7197724dd7.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";i:1;}
\ No newline at end of file
diff --git a/runtime/cache/4a/8ad83d0b7747781db62e03fdc7fa37.php b/runtime/cache/4a/8ad83d0b7747781db62e03fdc7fa37.php
deleted file mode 100644
index 75de2cd..0000000
--- a/runtime/cache/4a/8ad83d0b7747781db62e03fdc7fa37.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:46:{s:2:"id";i:1;s:2:"sn";s:8:"71828424";s:4:"root";i:0;s:8:"nickname";s:14:"用户71828424";s:6:"avatar";s:37:"/static/common/image/default/user.png";s:6:"mobile";s:11:"18256952487";s:9:"real_name";N;s:5:"level";i:0;s:8:"group_id";N;s:3:"sex";s:6:"未知";s:8:"birthday";N;s:10:"user_money";s:8:"10000.00";s:13:"user_integral";i:0;s:18:"total_order_amount";s:4:"0.00";s:21:"total_recharge_amount";s:4:"0.00";s:7:"account";s:0:"";s:8:"password";s:32:"5b728ba254f58d115ff28ed18f82f2c3";s:12:"pay_password";N;s:4:"salt";s:4:"90a5";s:12:"first_leader";i:0;s:13:"second_leader";i:0;s:12:"third_leader";i:0;s:17:"ancestor_relation";N;s:15:"is_distribution";i:0;s:24:"distribution_add_remarks";s:0:"";s:19:"freeze_distribution";i:0;s:23:"distribution_h5_qr_code";s:0:"";s:24:"distribution_mnp_qr_code";s:0:"";s:24:"distribution_app_qr_code";s:0:"";s:17:"distribution_code";s:6:"T4T6CG";s:11:"create_time";s:19:"2023-04-17 09:13:19";s:11:"update_time";s:19:"2023-04-17 14:32:47";s:10:"login_time";s:19:"2023-04-21 15:46:38";s:8:"login_ip";s:9:"127.0.0.1";s:7:"disable";i:0;s:3:"del";i:0;s:11:"user_growth";i:0;s:8:"earnings";s:4:"0.00";s:6:"client";i:6;s:7:"tag_ids";s:0:"";s:6:"remark";s:0:"";s:11:"is_new_user";i:0;s:7:"ship_id";N;s:8:"exp_time";i:0;s:9:"ship_free";i:0;s:5:"token";s:32:"9daf08d1fb68e12c55efd79de8b8e100";}
\ No newline at end of file
diff --git a/runtime/cache/4c/326658e22fa2ffaa97949563f8a23c.php b/runtime/cache/4c/326658e22fa2ffaa97949563f8a23c.php
index 3b4363c..a5f41dd 100644
--- a/runtime/cache/4c/326658e22fa2ffaa97949563f8a23c.php
+++ b/runtime/cache/4c/326658e22fa2ffaa97949563f8a23c.php
@@ -1,4 +1,4 @@
-a:1:{s:13:"config_server";N;}
\ No newline at end of file
+a:1:{s:13:"config_server";s:0:"";}
\ No newline at end of file
diff --git a/runtime/cache/55/077c04cc51f163ed648cf74ce8012f.php b/runtime/cache/55/077c04cc51f163ed648cf74ce8012f.php
deleted file mode 100644
index a5f41dd..0000000
--- a/runtime/cache/55/077c04cc51f163ed648cf74ce8012f.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";s:0:"";}
\ No newline at end of file
diff --git a/runtime/cache/56/96fbd4d00285a1b29d7e9d7375fed5.php b/runtime/cache/56/96fbd4d00285a1b29d7e9d7375fed5.php
deleted file mode 100644
index a5f41dd..0000000
--- a/runtime/cache/56/96fbd4d00285a1b29d7e9d7375fed5.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";s:0:"";}
\ No newline at end of file
diff --git a/runtime/cache/61/5afac208647ba8697248d87d324770.php b/runtime/cache/61/5afac208647ba8697248d87d324770.php
deleted file mode 100644
index a5f41dd..0000000
--- a/runtime/cache/61/5afac208647ba8697248d87d324770.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";s:0:"";}
\ No newline at end of file
diff --git a/runtime/cache/62/6bc5ce31e982e46ce54de37d3e71d0.php b/runtime/cache/62/6bc5ce31e982e46ce54de37d3e71d0.php
deleted file mode 100644
index a5f41dd..0000000
--- a/runtime/cache/62/6bc5ce31e982e46ce54de37d3e71d0.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";s:0:"";}
\ No newline at end of file
diff --git a/runtime/cache/63/99f4b69c109e3622c82fb51c3f389f.php b/runtime/cache/63/99f4b69c109e3622c82fb51c3f389f.php
deleted file mode 100644
index 3b4363c..0000000
--- a/runtime/cache/63/99f4b69c109e3622c82fb51c3f389f.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";N;}
\ No newline at end of file
diff --git a/runtime/cache/6a/a49c0d228d3501681da6f355d518cb.php b/runtime/cache/6a/a49c0d228d3501681da6f355d518cb.php
index 0ed857e..c3c82fb 100644
--- a/runtime/cache/6a/a49c0d228d3501681da6f355d518cb.php
+++ b/runtime/cache/6a/a49c0d228d3501681da6f355d518cb.php
@@ -1,4 +1,4 @@
-a:1:{s:13:"config_server";i:0;}
\ No newline at end of file
+a:1:{s:13:"config_server";i:1;}
\ No newline at end of file
diff --git a/runtime/cache/70/314922defec2fc394307405afdf403.php b/runtime/cache/70/314922defec2fc394307405afdf403.php
deleted file mode 100644
index 0ed857e..0000000
--- a/runtime/cache/70/314922defec2fc394307405afdf403.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";i:0;}
\ No newline at end of file
diff --git a/runtime/cache/77/eb6f3f10cc07ca22de436877874513.php b/runtime/cache/77/eb6f3f10cc07ca22de436877874513.php
deleted file mode 100644
index a5f41dd..0000000
--- a/runtime/cache/77/eb6f3f10cc07ca22de436877874513.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";s:0:"";}
\ No newline at end of file
diff --git a/runtime/cache/7f/96b6c31b46c5b22f831d8e28386e93.php b/runtime/cache/7f/96b6c31b46c5b22f831d8e28386e93.php
deleted file mode 100644
index 0ed857e..0000000
--- a/runtime/cache/7f/96b6c31b46c5b22f831d8e28386e93.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";i:0;}
\ No newline at end of file
diff --git a/runtime/cache/80/62fcd43bc8555526146746c2e3d314.php b/runtime/cache/80/62fcd43bc8555526146746c2e3d314.php
deleted file mode 100644
index 0ed857e..0000000
--- a/runtime/cache/80/62fcd43bc8555526146746c2e3d314.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";i:0;}
\ No newline at end of file
diff --git a/runtime/cache/82/d096523cc6d39b76f6b255c2fa21a9.php b/runtime/cache/82/d096523cc6d39b76f6b255c2fa21a9.php
deleted file mode 100644
index a5f41dd..0000000
--- a/runtime/cache/82/d096523cc6d39b76f6b255c2fa21a9.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";s:0:"";}
\ No newline at end of file
diff --git a/runtime/cache/85/bdce959c1221dc2c5b731d4db0ea80.php b/runtime/cache/85/bdce959c1221dc2c5b731d4db0ea80.php
deleted file mode 100644
index 3b4363c..0000000
--- a/runtime/cache/85/bdce959c1221dc2c5b731d4db0ea80.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";N;}
\ No newline at end of file
diff --git a/runtime/cache/85/caa5b1d52613819bf146e7fa3b4382.php b/runtime/cache/85/caa5b1d52613819bf146e7fa3b4382.php
deleted file mode 100644
index a5f41dd..0000000
--- a/runtime/cache/85/caa5b1d52613819bf146e7fa3b4382.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";s:0:"";}
\ No newline at end of file
diff --git a/runtime/cache/86/e67fd18ec7f98d61476d67794c2b10.php b/runtime/cache/86/e67fd18ec7f98d61476d67794c2b10.php
deleted file mode 100644
index 0ed857e..0000000
--- a/runtime/cache/86/e67fd18ec7f98d61476d67794c2b10.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";i:0;}
\ No newline at end of file
diff --git a/runtime/cache/95/42388f400d27a649eb7148f8b75204.php b/runtime/cache/95/42388f400d27a649eb7148f8b75204.php
deleted file mode 100644
index 20a6c34..0000000
--- a/runtime/cache/95/42388f400d27a649eb7148f8b75204.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";a:0:{}}
\ No newline at end of file
diff --git a/runtime/cache/97/e34ce429ea9ead0000ad45740b210e.php b/runtime/cache/97/e34ce429ea9ead0000ad45740b210e.php
deleted file mode 100644
index a5f41dd..0000000
--- a/runtime/cache/97/e34ce429ea9ead0000ad45740b210e.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";s:0:"";}
\ No newline at end of file
diff --git a/runtime/cache/9c/1a1a93828df1e24759a846ec5be67f.php b/runtime/cache/9c/1a1a93828df1e24759a846ec5be67f.php
deleted file mode 100644
index b4d9e7d..0000000
--- a/runtime/cache/9c/1a1a93828df1e24759a846ec5be67f.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";a:1:{i:0;s:0:"";}}
\ No newline at end of file
diff --git a/runtime/cache/9f/d2f37875d1da637002182ec566f162.php b/runtime/cache/9f/d2f37875d1da637002182ec566f162.php
index ba9ba15..2b9fef5 100644
--- a/runtime/cache/9f/d2f37875d1da637002182ec566f162.php
+++ b/runtime/cache/9f/d2f37875d1da637002182ec566f162.php
@@ -1,4 +1,4 @@
-a:6:{i:0;s:75:"D:\waibao\ahbcqz\server\runtime\cache\1e\9273b3315671b45227b5827559a179.php";i:1;s:75:"D:\waibao\ahbcqz\server\runtime\cache\a1\55016152d5af019afbbfd20daf7335.php";i:2;s:75:"D:\waibao\ahbcqz\server\runtime\cache\c0\cf484f10720659d936916d74e6362a.php";i:3;s:75:"E:\waibao\ahbcqz\server\runtime\cache\35\4c90d26061baaa2f7a972849339da3.php";i:4;s:75:"E:\waibao\ahbcqz\server\runtime\cache\64\80bd487ac5e230fd1fb2d74457b697.php";i:5;s:75:"E:\waibao\ahbcqz\server\runtime\cache\11\e63c5fed23ed0b72e5c3d85dccdf6a.php";}
\ No newline at end of file
+a:2:{i:0;s:75:"E:\waibao\ahbcqz\server\runtime\cache\ad\710db81cabed7a4fc183cdbe36b098.php";i:1;s:75:"E:\waibao\ahbcqz\server\runtime\cache\b0\2f627ee37a64f2b7a2192d33ffb6ce.php";}
\ No newline at end of file
diff --git a/runtime/cache/a0/8096bd7dce74be06b92b2f8e3a8b2c.php b/runtime/cache/a0/8096bd7dce74be06b92b2f8e3a8b2c.php
deleted file mode 100644
index 9335696..0000000
--- a/runtime/cache/a0/8096bd7dce74be06b92b2f8e3a8b2c.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";a:1:{i:0;i:1;}}
\ No newline at end of file
diff --git a/runtime/cache/a4/cac12231ceb012f0ffa0d41c73fe3d.php b/runtime/cache/a4/cac12231ceb012f0ffa0d41c73fe3d.php
index 17cbf64..a4f930a 100644
--- a/runtime/cache/a4/cac12231ceb012f0ffa0d41c73fe3d.php
+++ b/runtime/cache/a4/cac12231ceb012f0ffa0d41c73fe3d.php
@@ -1,4 +1,4 @@
-a:1:{s:13:"config_server";s:53:"Copyright © 2019-2021 广州好象科技有限公司";}
\ No newline at end of file
+a:1:{s:13:"config_server";s:71:"Copyright © 2019-2023 安徽博创起重设备安装工程有限公司";}
\ No newline at end of file
diff --git a/runtime/cache/a5/3767114aa0910a8d4c20e9564872b2.php b/runtime/cache/a5/3767114aa0910a8d4c20e9564872b2.php
deleted file mode 100644
index a5f41dd..0000000
--- a/runtime/cache/a5/3767114aa0910a8d4c20e9564872b2.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";s:0:"";}
\ No newline at end of file
diff --git a/runtime/cache/a9/c9c11b4ce126c2478fe48d6a37ad9f.php b/runtime/cache/a9/c9c11b4ce126c2478fe48d6a37ad9f.php
deleted file mode 100644
index 0ed857e..0000000
--- a/runtime/cache/a9/c9c11b4ce126c2478fe48d6a37ad9f.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";i:0;}
\ No newline at end of file
diff --git a/runtime/cache/ad/656c00a17ac7dca6e7693b28eb1e1a.php b/runtime/cache/ad/656c00a17ac7dca6e7693b28eb1e1a.php
index ccd3ae6..51a8464 100644
--- a/runtime/cache/ad/656c00a17ac7dca6e7693b28eb1e1a.php
+++ b/runtime/cache/ad/656c00a17ac7dca6e7693b28eb1e1a.php
@@ -1,4 +1,4 @@
-a:1:{s:13:"config_server";s:20:"likeshop管理后台";}
\ No newline at end of file
+a:1:{s:13:"config_server";s:24:"博创设计管理后台";}
\ No newline at end of file
diff --git a/runtime/cache/b7/119ff97c0593fc73d86c66a1ddc909.php b/runtime/cache/b7/119ff97c0593fc73d86c66a1ddc909.php
deleted file mode 100644
index c3c82fb..0000000
--- a/runtime/cache/b7/119ff97c0593fc73d86c66a1ddc909.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";i:1;}
\ No newline at end of file
diff --git a/runtime/cache/c6/3e867a6e02f41c824b20aa5bcc1677.php b/runtime/cache/c6/3e867a6e02f41c824b20aa5bcc1677.php
deleted file mode 100644
index c3c82fb..0000000
--- a/runtime/cache/c6/3e867a6e02f41c824b20aa5bcc1677.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";i:1;}
\ No newline at end of file
diff --git a/runtime/cache/c9/e49251c47d95189921588a43af1e59.php b/runtime/cache/c9/e49251c47d95189921588a43af1e59.php
deleted file mode 100644
index f45a95f..0000000
--- a/runtime/cache/c9/e49251c47d95189921588a43af1e59.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{i:0;s:75:"D:\waibao\ahbcqz\server\runtime\cache\2e\00473f3b37a60f00d26da6bcff1f42.php";}
\ No newline at end of file
diff --git a/runtime/cache/ce/ecb9316cf9453e86c768bf35cef370.php b/runtime/cache/ce/ecb9316cf9453e86c768bf35cef370.php
index 3b4363c..a5f41dd 100644
--- a/runtime/cache/ce/ecb9316cf9453e86c768bf35cef370.php
+++ b/runtime/cache/ce/ecb9316cf9453e86c768bf35cef370.php
@@ -1,4 +1,4 @@
-a:1:{s:13:"config_server";N;}
\ No newline at end of file
+a:1:{s:13:"config_server";s:0:"";}
\ No newline at end of file
diff --git a/runtime/cache/d1/260e0b5c156de695e1d3fb6e2507ea.php b/runtime/cache/d1/260e0b5c156de695e1d3fb6e2507ea.php
deleted file mode 100644
index 3b4363c..0000000
--- a/runtime/cache/d1/260e0b5c156de695e1d3fb6e2507ea.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";N;}
\ No newline at end of file
diff --git a/runtime/cache/d2/74fcb584937cd6dc52e5797405efa6.php b/runtime/cache/d2/74fcb584937cd6dc52e5797405efa6.php
deleted file mode 100644
index a5f41dd..0000000
--- a/runtime/cache/d2/74fcb584937cd6dc52e5797405efa6.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";s:0:"";}
\ No newline at end of file
diff --git a/runtime/cache/d8/a054e2e395567462f747f11b13d3a7.php b/runtime/cache/d8/a054e2e395567462f747f11b13d3a7.php
deleted file mode 100644
index 3b4363c..0000000
--- a/runtime/cache/d8/a054e2e395567462f747f11b13d3a7.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";N;}
\ No newline at end of file
diff --git a/runtime/cache/df/bcd7e612593de7d6f1945c6e22044c.php b/runtime/cache/df/bcd7e612593de7d6f1945c6e22044c.php
deleted file mode 100644
index a5f41dd..0000000
--- a/runtime/cache/df/bcd7e612593de7d6f1945c6e22044c.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";s:0:"";}
\ No newline at end of file
diff --git a/runtime/cache/e2/1897945f077de19ba1bbc7456fff20.php b/runtime/cache/e2/1897945f077de19ba1bbc7456fff20.php
index 14cbf03..76381d2 100644
--- a/runtime/cache/e2/1897945f077de19ba1bbc7456fff20.php
+++ b/runtime/cache/e2/1897945f077de19ba1bbc7456fff20.php
@@ -1,4 +1,4 @@
-a:1:{s:13:"config_server";s:8:"likeshop";}
\ No newline at end of file
+a:1:{s:13:"config_server";s:12:"博创设计";}
\ No newline at end of file
diff --git a/runtime/cache/e6/1f426b849692c71fd8933d7f1daf31.php b/runtime/cache/e6/1f426b849692c71fd8933d7f1daf31.php
deleted file mode 100644
index 3b4363c..0000000
--- a/runtime/cache/e6/1f426b849692c71fd8933d7f1daf31.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";N;}
\ No newline at end of file
diff --git a/runtime/cache/ea/a98cc14f2c4a8dcadf5e9f3cf4497d.php b/runtime/cache/ea/a98cc14f2c4a8dcadf5e9f3cf4497d.php
deleted file mode 100644
index 0ed857e..0000000
--- a/runtime/cache/ea/a98cc14f2c4a8dcadf5e9f3cf4497d.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";i:0;}
\ No newline at end of file
diff --git a/runtime/cache/f0/f4b7a992b581b49b83b8179a36458e.php b/runtime/cache/f0/f4b7a992b581b49b83b8179a36458e.php
deleted file mode 100644
index 6ab3602..0000000
--- a/runtime/cache/f0/f4b7a992b581b49b83b8179a36458e.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";s:8:"LikeMall";}
\ No newline at end of file
diff --git a/runtime/cache/f4/26ad8c265e571b93fd9aba143f5710.php b/runtime/cache/f4/26ad8c265e571b93fd9aba143f5710.php
deleted file mode 100644
index bf47ffb..0000000
--- a/runtime/cache/f4/26ad8c265e571b93fd9aba143f5710.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";s:31:"/images/share/share_user_bg.png";}
\ No newline at end of file
diff --git a/runtime/cache/f5/cacdaa0fcd810984eb8fc26ad3da5d.php b/runtime/cache/f5/cacdaa0fcd810984eb8fc26ad3da5d.php
deleted file mode 100644
index 0ed857e..0000000
--- a/runtime/cache/f5/cacdaa0fcd810984eb8fc26ad3da5d.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";i:0;}
\ No newline at end of file
diff --git a/runtime/cache/fa/1679f5b24b5e54c47a3243dafd0a6f.php b/runtime/cache/fa/1679f5b24b5e54c47a3243dafd0a6f.php
deleted file mode 100644
index c3c82fb..0000000
--- a/runtime/cache/fa/1679f5b24b5e54c47a3243dafd0a6f.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";i:1;}
\ No newline at end of file
diff --git a/runtime/cache/fc/d3620e93e047cf969297a7eba927a4.php b/runtime/cache/fc/d3620e93e047cf969297a7eba927a4.php
deleted file mode 100644
index 0ed857e..0000000
--- a/runtime/cache/fc/d3620e93e047cf969297a7eba927a4.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";i:0;}
\ No newline at end of file
diff --git a/runtime/cache/ff/161c45942c62f121929d9ce44a4d66.php b/runtime/cache/ff/161c45942c62f121929d9ce44a4d66.php
deleted file mode 100644
index 0ed857e..0000000
--- a/runtime/cache/ff/161c45942c62f121929d9ce44a4d66.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
-a:1:{s:13:"config_server";i:0;}
\ No newline at end of file