From 5b628241669b4d49c9468b9bd29e68479513fe67 Mon Sep 17 00:00:00 2001
From: anyv <anyu@bronet.cn>
Date: Tue, 4 Jun 2019 15:06:26 +0800
Subject: [PATCH] 4

---
 app/portal/controller/IndexController.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/portal/controller/IndexController.php b/app/portal/controller/IndexController.php
index 3f793dc..abc506a 100644
--- a/app/portal/controller/IndexController.php
+++ b/app/portal/controller/IndexController.php
@@ -93,7 +93,7 @@ class IndexController extends WeChatBaseController
                     }else{
                         //当为业务员时显示的数据
                         if($data_my_user['status'] == 2){
-                            $data_goods = Db::name('goods') -> where('uid',$data_my_user['uid']) -> select();
+                            $data_goods = Db::name('goods') -> where('uid',$data_my_user['uid']) -> limit(3) -> select();
                         }
                         //当为学生时显示的数据
                         if($data_my_user['status'] == 4){
--
libgit2 0.24.0