Browse Source

first commit

liuhairui 6 months ago
parent
commit
9f1ed814b0

+ 1 - 0
application/admin/controller/QcodeBach.php

@@ -1158,6 +1158,7 @@ class QcodeBach extends Backend
         $sel = $qcodeProduct
             ->field('id, product_name, product_code')
             ->where($where)
+            ->order('id','desc')
             ->limit(0,10)
             ->select();
         foreach ($sel as $k=>$v) {

+ 1 - 1
application/admin/controller/QcodeProduct.php

@@ -120,7 +120,7 @@ class QcodeProduct extends Backend
 
             $filter = json_decode($req['filter'], true);
 
-            
+
             foreach ($filter as $k => $v){
                 $where[$k] = new \MongoDB\BSON\Regex($v);
             }

+ 5 - 0
application/admin/view/common/header.html

@@ -28,6 +28,11 @@
 <!--                    <a href="__PUBLIC__" target="_blank"><i class="fa fa-home" style="font-size:14px;"></i> {:__('Home')}</a>-->
 <!--                </li>-->
 
+                <li class="hidden-xs">
+                    <a href="https://www.yuque.com/xiaoqian-sydde/nnltcq/grxfgvi28qra1qz2?singleDoc" target="_blank">
+                        <i class="fa fa-home" style="font-size:14px;"></i> 帮助手册</a>
+                </li>
+
                 <li class="hidden-xs">
                     <a href="http://dm-v2.7in6.com:38080/" target="_blank"><i class="fa fa-home" style="font-size:14px;"></i> 老系统入口</a>
                 </li>