浏览代码

api接口优化

曹鹤洋 2 年之前
父节点
当前提交
810923fd0f
共有 1 个文件被更改,包括 2 次插入12 次删除
  1. 2 12
      application/api/controller/Index.php

+ 2 - 12
application/api/controller/Index.php

@@ -95,18 +95,8 @@ class Index extends Api
                 $row['sec_unit'] = '';
                 $row['proportion'] = '';
             }
-        git add application/admin/controller/QcodeBach.php
-        git add application/admin/lang/zh-cn/qcode_bach.php
-        git add application/admin/view/qcode_bach/index.html
-        git add application/api/controller/Index.php
-        git add public/assets/js/backend/qcode_bach.js
-        git add application/admin/model/QcodeGsmc.php
-        git add application/admin/view/qcode_bach/reprint.html
-        git add public/assets/js/LodopFuncs.js
-        git add vendor/phpqrcode/
-
-
-        //3. 插入主表记录到mongodb中
+
+            //3. 插入主表记录到mongodb中
             $qcodeProduct = new QcodeProduct();
             $qcodeProduct->save($row);
         }