唐金木 5 months ago
parent
commit
81e80a6266

+ 176 - 139
php/.idea/workspace.xml

@@ -3,48 +3,16 @@
   <component name="ChangeListManager">
     <list default="true" id="6c0b7e36-47c6-4066-b96b-afd3eeb21cad" name="Default Changelist" comment="">
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/app/BaseController.php" beforeDir="false" afterPath="$PROJECT_DIR$/app/BaseController.php" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/app/admin/controller/Agent.php" beforeDir="false" afterPath="$PROJECT_DIR$/app/admin/controller/Agent.php" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/app/admin/controller/Certificate.php" beforeDir="false" afterPath="$PROJECT_DIR$/app/admin/controller/Certificate.php" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/app/admin/controller/Finance.php" beforeDir="false" afterPath="$PROJECT_DIR$/app/admin/controller/Finance.php" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/app/admin/controller/Index.php" beforeDir="false" afterPath="$PROJECT_DIR$/app/admin/controller/Index.php" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/app/admin/controller/Login.php" beforeDir="false" afterPath="$PROJECT_DIR$/app/admin/controller/Login.php" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/app/admin/controller/Contents.php" beforeDir="false" afterPath="$PROJECT_DIR$/app/admin/controller/Contents.php" afterDir="false" />
       <change beforePath="$PROJECT_DIR$/app/admin/controller/Order.php" beforeDir="false" afterPath="$PROJECT_DIR$/app/admin/controller/Order.php" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/app/admin/controller/Uploads.php" beforeDir="false" afterPath="$PROJECT_DIR$/app/admin/controller/Uploads.php" afterDir="false" />
       <change beforePath="$PROJECT_DIR$/app/admin/controller/Usermanage.php" beforeDir="false" afterPath="$PROJECT_DIR$/app/admin/controller/Usermanage.php" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/app/common/controller/Backend.php" beforeDir="false" afterPath="$PROJECT_DIR$/app/common/controller/Backend.php" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/app/web/controller/Login.php" beforeDir="false" afterPath="$PROJECT_DIR$/app/web/controller/Login.php" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/runtime/admin/log/202006/06.log" beforeDir="false" />
+      <change beforePath="$PROJECT_DIR$/app/common/controller/Orde.php" beforeDir="false" afterPath="$PROJECT_DIR$/app/common/controller/Orde.php" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/app/web/controller/Base.php" beforeDir="false" afterPath="$PROJECT_DIR$/app/web/controller/Base.php" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/app/web/model/Orders.php" beforeDir="false" afterPath="$PROJECT_DIR$/app/web/model/Orders.php" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/lm_admin.sql" beforeDir="false" afterPath="$PROJECT_DIR$/lm_admin.sql" afterDir="false" />
       <change beforePath="$PROJECT_DIR$/runtime/admin/log/202006/08.log" beforeDir="false" afterPath="$PROJECT_DIR$/runtime/admin/log/202006/08.log" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/runtime/admin/temp/14d50cc59972e0ab82b71f4b5f381353.php" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/runtime/admin/temp/1884f03459cf6a2bd8367d4372b7430f.php" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/runtime/admin/temp/193b3c530962981d3a4dc850749aaa8b.php" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/runtime/admin/temp/1cb5cb0f2bcd9523210fce1e0782c8b8.php" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/runtime/admin/temp/27c627fb9583e5c252a25d23c5420a91.php" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/runtime/admin/temp/33d146d6ac456ef212137e796ae3e332.php" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/runtime/admin/temp/35171583bca6ad4d67f55adf437b098a.php" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/runtime/admin/temp/4a69c5053cc75acd9f20b688d4b5203f.php" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/runtime/admin/temp/54c62c80793775da65d6a733526c2b2f.php" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/runtime/admin/temp/57701a2f9bf5eca2d779936b9b1453ae.php" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/runtime/admin/temp/62ef37f9efcd223baf5a1fe163d79229.php" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/runtime/admin/temp/671c38fd00b1e51063798ff4b8aff463.php" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/runtime/admin/temp/700fb5f408751af5497681515c859de6.php" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/runtime/admin/temp/a5b87fd77913dd9b0ad9dd783203b8ce.php" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/runtime/admin/temp/b7eebf4d17da292020e3e037ce40d039.php" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/runtime/admin/temp/ddb6e4a26b85726c174911078de05097.php" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/runtime/admin/temp/ee651861c15f43b886820383123b6fd9.php" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/runtime/admin/temp/fd3382e0c1e6539206f1c35861056032.php" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/runtime/admin/temp/fe4af39cf9f4c4f81bb0748bcee2f14b.php" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/runtime/cache/0b/dc60c1eb9bd2792cd1fa7f85d9c865.php" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/runtime/cache/b5/0db2208db974a3bc060e4d7255aa98.php" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/runtime/cache/ca/361393b5a02e8a62e8dd6d5373a473.php" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/runtime/session/sess_07ce22ac32d8547a3d9d24464ada30f3" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/runtime/session/sess_29698f1ed04f37c36876e58b4f77d476" beforeDir="false" afterPath="$PROJECT_DIR$/runtime/session/sess_29698f1ed04f37c36876e58b4f77d476" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/view/admin/Agent/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/view/admin/Agent/index.html" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/view/admin/Usermanage/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/view/admin/Usermanage/index.html" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/view/admin/auth/group.html" beforeDir="false" afterPath="$PROJECT_DIR$/view/admin/auth/group.html" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/view/admin/finance/shenhe.html" beforeDir="false" afterPath="$PROJECT_DIR$/view/admin/finance/shenhe.html" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/view/admin/login/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/view/admin/login/index.html" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/runtime/admin/temp/8cf06704c557cf682440809f194660c0.php" beforeDir="false" />
+      <change beforePath="$PROJECT_DIR$/runtime/session/sess_704f72601738fb3cc6160a8139fa9ef3" beforeDir="false" afterPath="$PROJECT_DIR$/runtime/session/sess_704f72601738fb3cc6160a8139fa9ef3" afterDir="false" />
     </list>
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
     <option name="SHOW_DIALOG" value="false" />
@@ -57,58 +25,32 @@
   </component>
   <component name="FileEditorManager">
     <leaf>
-      <file pinned="false" current-in-tab="false">
-        <entry file="file://$PROJECT_DIR$/app/admin/controller/Usermanage.php">
-          <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="274">
-              <caret line="126" lean-forward="true" selection-start-line="126" selection-end-line="126" />
-              <folding>
-                <element signature="e#102#136#0#PHP" expanded="true" />
-              </folding>
-            </state>
-          </provider>
-        </entry>
-      </file>
       <file pinned="false" current-in-tab="true">
-        <entry file="file://$PROJECT_DIR$/view/admin/Usermanage/index.html">
+        <entry file="file://$PROJECT_DIR$/app/admin/controller/Order.php">
           <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="529">
-              <caret line="26" column="41" selection-start-line="26" selection-start-column="41" selection-end-line="26" selection-end-column="41" />
+            <state relative-caret-position="297">
+              <caret line="129" column="16" lean-forward="true" selection-start-line="129" selection-start-column="16" selection-end-line="129" selection-end-column="16" />
               <folding>
-                <element signature="n#style#0;n#div#1;n#!!top" expanded="true" />
-                <element signature="n#div#1;n#!!top" />
-                <element signature="n#style#0;n#div#1;n#div#1;n#!!top" expanded="true" />
-                <element signature="n#style#0;n#div#2;n#div#1;n#!!top" expanded="true" />
-                <element signature="n#style#0;n#div#0;n#div#2;n#div#1;n#!!top" expanded="true" />
-                <element signature="n#style#0;n#div#1;n#div#2;n#div#1;n#!!top" expanded="true" />
-                <element signature="n#style#0;n#div#2;n#div#2;n#div#1;n#!!top" expanded="true" />
-                <element signature="n#style#0;n#div#3;n#div#2;n#div#1;n#!!top" expanded="true" />
+                <element signature="e#102#129#0#PHP" expanded="true" />
               </folding>
             </state>
           </provider>
         </entry>
       </file>
       <file pinned="false" current-in-tab="false">
-        <entry file="file://$PROJECT_DIR$/app/admin/controller/Usersys.php">
+        <entry file="file://$PROJECT_DIR$/app/web/model/Orders.php">
           <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="136">
-              <caret line="91" column="5" lean-forward="true" selection-start-line="91" selection-start-column="5" selection-end-line="91" selection-end-column="5" />
-              <folding>
-                <element signature="e#101#135#0#PHP" expanded="true" />
-              </folding>
+            <state relative-caret-position="713">
+              <caret line="176" column="22" selection-start-line="176" selection-start-column="22" selection-end-line="176" selection-end-column="22" />
             </state>
           </provider>
         </entry>
       </file>
       <file pinned="false" current-in-tab="false">
-        <entry file="file://$PROJECT_DIR$/view/admin/Usermanage/usermessage.html">
+        <entry file="file://$PROJECT_DIR$/app/common/controller/Orde.php">
           <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="184">
-              <caret line="8" selection-start-line="8" selection-end-line="8" />
-              <folding>
-                <element signature="n#style#0;n#span#0;n#!!top" expanded="true" />
-                <element signature="n#style#0;n#span#0;n#!!top" expanded="true" />
-              </folding>
+            <state relative-caret-position="505">
+              <caret line="44" column="44" selection-start-line="44" selection-start-column="31" selection-end-line="44" selection-end-column="44" />
             </state>
           </provider>
         </entry>
@@ -128,7 +70,6 @@
       <find>list</find>
       <find>czcg</find>
       <find>tongxingzheng</find>
-      <find>fenhao</find>
       <find>user_money</find>
       <find>update_leve</find>
       <find>is_admin</find>
@@ -137,6 +78,10 @@
       <find>uploadInst</find>
       <find>lay-verify=&quot;required&quot;</find>
       <find>site_logos</find>
+      <find>vip</find>
+      <find>update_user_admin</find>
+      <find>fenhao</find>
+      <find>update_pwd</find>
     </findStrings>
   </component>
   <component name="Git.Settings">
@@ -156,7 +101,6 @@
         <option value="$PROJECT_DIR$/app/web/controller/Login.php" />
         <option value="$PROJECT_DIR$/view/admin/auth/group.html" />
         <option value="$PROJECT_DIR$/app/admin/controller/Finance.php" />
-        <option value="$PROJECT_DIR$/app/admin/controller/Order.php" />
         <option value="$PROJECT_DIR$/app/admin/controller/Certificate.php" />
         <option value="$PROJECT_DIR$/app/admin/controller/Login.php" />
         <option value="$PROJECT_DIR$/app/common/controller/Backend.php" />
@@ -166,9 +110,21 @@
         <option value="$PROJECT_DIR$/view/admin/usersys/message.html" />
         <option value="$PROJECT_DIR$/view/admin/usersys/account.html" />
         <option value="$PROJECT_DIR$/app/admin/controller/Usersys.php" />
+        <option value="$PROJECT_DIR$/view/admin/Usermanage/usermessage.html" />
         <option value="$PROJECT_DIR$/view/admin/Usermanage/index.html" />
+        <option value="$PROJECT_DIR$/app/web/controller/Base.php" />
+        <option value="$PROJECT_DIR$/view/admin/contents/opens.html" />
+        <option value="$PROJECT_DIR$/app/web/model/Orders.php" />
+        <option value="$PROJECT_DIR$/view/admin/adminaccount/show.html" />
+        <option value="$PROJECT_DIR$/view/admin/adminaccount/index.html" />
+        <option value="$PROJECT_DIR$/app/admin/controller/Adminaccount.php" />
+        <option value="$PROJECT_DIR$/app/admin/controller/Account.php" />
+        <option value="$PROJECT_DIR$/view/admin/contents/showuser.html" />
         <option value="$PROJECT_DIR$/app/admin/controller/Usermanage.php" />
-        <option value="$PROJECT_DIR$/view/admin/Usermanage/usermessage.html" />
+        <option value="$PROJECT_DIR$/app/admin/controller/Contents.php" />
+        <option value="$PROJECT_DIR$/view/admin/contents/adminuser.html" />
+        <option value="$PROJECT_DIR$/app/common/controller/Orde.php" />
+        <option value="$PROJECT_DIR$/app/admin/controller/Order.php" />
       </list>
     </option>
   </component>
@@ -308,6 +264,13 @@
             <path>
               <item name="php" type="b2602c69:ProjectViewProjectNode" />
               <item name="php" type="462c0819:PsiDirectoryNode" />
+              <item name="app" type="462c0819:PsiDirectoryNode" />
+              <item name="web" type="462c0819:PsiDirectoryNode" />
+              <item name="model" type="462c0819:PsiDirectoryNode" />
+            </path>
+            <path>
+              <item name="php" type="b2602c69:ProjectViewProjectNode" />
+              <item name="php" type="462c0819:PsiDirectoryNode" />
               <item name="view" type="462c0819:PsiDirectoryNode" />
             </path>
             <path>
@@ -321,21 +284,21 @@
               <item name="php" type="462c0819:PsiDirectoryNode" />
               <item name="view" type="462c0819:PsiDirectoryNode" />
               <item name="admin" type="462c0819:PsiDirectoryNode" />
-              <item name="user" type="462c0819:PsiDirectoryNode" />
+              <item name="contents" type="462c0819:PsiDirectoryNode" />
             </path>
             <path>
               <item name="php" type="b2602c69:ProjectViewProjectNode" />
               <item name="php" type="462c0819:PsiDirectoryNode" />
               <item name="view" type="462c0819:PsiDirectoryNode" />
               <item name="admin" type="462c0819:PsiDirectoryNode" />
-              <item name="Usermanage" type="462c0819:PsiDirectoryNode" />
+              <item name="login" type="462c0819:PsiDirectoryNode" />
             </path>
             <path>
               <item name="php" type="b2602c69:ProjectViewProjectNode" />
               <item name="php" type="462c0819:PsiDirectoryNode" />
               <item name="view" type="462c0819:PsiDirectoryNode" />
               <item name="admin" type="462c0819:PsiDirectoryNode" />
-              <item name="usersys" type="462c0819:PsiDirectoryNode" />
+              <item name="Usermanage" type="462c0819:PsiDirectoryNode" />
             </path>
           </expand>
           <select />
@@ -354,6 +317,7 @@
   </component>
   <component name="RecentsManager">
     <key name="CopyFile.RECENT_KEYS">
+      <recent name="D:\phpstudy_pro\WWW\cxy\bts\php\view\admin\contents" />
       <recent name="D:\phpstudy_pro\WWW\cxy\bts\php\view\admin\Usermanage" />
     </key>
   </component>
@@ -379,12 +343,12 @@
       <option name="number" value="Default" />
       <option name="presentableId" value="Default" />
       <updated>1591579855742</updated>
-      <workItem from="1591579857139" duration="19741000" />
+      <workItem from="1591579857139" duration="28400000" />
     </task>
     <servers />
   </component>
   <component name="TimeTrackingManager">
-    <option name="totallyTimeSpent" value="19741000" />
+    <option name="totallyTimeSpent" value="28400000" />
   </component>
   <component name="ToolWindowManager">
     <frame x="-8" y="-8" width="1936" height="1056" extended-state="6" />
@@ -399,7 +363,7 @@
       <window_info anchor="bottom" id="Terminal" weight="0.329718" />
       <window_info anchor="bottom" id="Event Log" side_tool="true" />
       <window_info anchor="bottom" id="Message" order="0" />
-      <window_info anchor="bottom" id="Find" order="1" />
+      <window_info anchor="bottom" id="Find" order="1" weight="0.329718" />
       <window_info anchor="bottom" id="Run" order="2" />
       <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
       <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
@@ -455,13 +419,6 @@
         </state>
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/app/common/controller/Orde.php">
-      <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="74">
-          <caret line="321" selection-start-line="321" selection-end-line="321" />
-        </state>
-      </provider>
-    </entry>
     <entry file="file://$PROJECT_DIR$/view/admin/contents/add.html">
       <provider selected="true" editor-type-id="text-editor">
         <state relative-caret-position="345">
@@ -544,13 +501,6 @@
         </state>
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/view/admin/login/index.html">
-      <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="551">
-          <caret line="70" column="22" selection-start-line="70" selection-start-column="22" selection-end-line="70" selection-end-column="22" />
-        </state>
-      </provider>
-    </entry>
     <entry file="file://$PROJECT_DIR$/view/admin/auth/group.html">
       <provider selected="true" editor-type-id="text-editor">
         <state relative-caret-position="437">
@@ -558,16 +508,6 @@
         </state>
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/app/admin/controller/Order.php">
-      <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="230">
-          <caret line="15" column="27" selection-start-line="15" selection-start-column="27" selection-end-line="15" selection-end-column="27" />
-          <folding>
-            <element signature="e#102#129#0#PHP" expanded="true" />
-          </folding>
-        </state>
-      </provider>
-    </entry>
     <entry file="file://$PROJECT_DIR$/app/admin/controller/Article.php">
       <provider selected="true" editor-type-id="text-editor" />
     </entry>
@@ -615,13 +555,6 @@
         </state>
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/app/admin/controller/Contents.php">
-      <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="138">
-          <caret line="221" column="8" selection-start-line="221" selection-start-column="8" selection-end-line="239" selection-end-column="29" />
-        </state>
-      </provider>
-    </entry>
     <entry file="file://$PROJECT_DIR$/app/common/controller/Backend.php">
       <provider selected="true" editor-type-id="text-editor">
         <state relative-caret-position="1127">
@@ -643,16 +576,6 @@
         </state>
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/view/admin/contents/push.html">
-      <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="138">
-          <caret line="81" column="6" selection-start-line="81" selection-start-column="6" selection-end-line="108" selection-end-column="11" />
-          <folding>
-            <element signature="n#style#0;n#span#0;n#!!top" expanded="true" />
-          </folding>
-        </state>
-      </provider>
-    </entry>
     <entry file="file://$PROJECT_DIR$/app/admin/controller/Uploads.php">
       <provider selected="true" editor-type-id="text-editor">
         <state relative-caret-position="-1058">
@@ -708,30 +631,65 @@
         </state>
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/app/admin/controller/Usermanage.php">
+    <entry file="file://$PROJECT_DIR$/app/web/controller/Base.php">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="274">
-          <caret line="126" lean-forward="true" selection-start-line="126" selection-end-line="126" />
-          <folding>
-            <element signature="e#102#136#0#PHP" expanded="true" />
-          </folding>
+        <state relative-caret-position="598">
+          <caret line="31" column="9" selection-start-line="31" selection-start-column="9" selection-end-line="31" selection-end-column="9" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/view/admin/contents/push.html">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="414">
+          <caret line="93" column="31" selection-end-line="110" selection-end-column="9" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/view/admin/login/index.html">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="528">
+          <caret line="69" column="103" selection-start-line="69" selection-start-column="20" selection-end-line="69" selection-end-column="103" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/view/admin/contents/opens.html">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="276">
+          <caret line="12" column="53" selection-start-line="12" selection-start-column="49" selection-end-line="12" selection-end-column="53" />
         </state>
       </provider>
     </entry>
     <entry file="file://$PROJECT_DIR$/app/admin/controller/Usersys.php">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="136">
-          <caret line="91" column="5" lean-forward="true" selection-start-line="91" selection-start-column="5" selection-end-line="91" selection-end-column="5" />
+        <state relative-caret-position="-47">
+          <caret line="16" column="31" selection-start-line="16" selection-start-column="24" selection-end-line="16" selection-end-column="31" />
           <folding>
             <element signature="e#101#135#0#PHP" expanded="true" />
           </folding>
         </state>
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/view/admin/Usermanage/usermessage.html">
+    <entry file="file://$PROJECT_DIR$/view/admin/Usermanage/index.html">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="184">
-          <caret line="8" selection-start-line="8" selection-end-line="8" />
+        <state relative-caret-position="552">
+          <caret line="60" selection-end-line="285" selection-end-column="9" />
+          <folding>
+            <element signature="n#style#0;n#div#1;n#!!top" expanded="true" />
+            <element signature="n#div#1;n#!!top" />
+            <element signature="n#style#0;n#div#1;n#div#1;n#!!top" expanded="true" />
+            <element signature="n#style#0;n#div#2;n#div#1;n#!!top" expanded="true" />
+            <element signature="n#style#0;n#div#0;n#div#2;n#div#1;n#!!top" expanded="true" />
+            <element signature="n#style#0;n#div#1;n#div#2;n#div#1;n#!!top" expanded="true" />
+            <element signature="n#style#0;n#div#2;n#div#2;n#div#1;n#!!top" expanded="true" />
+            <element signature="n#style#0;n#div#3;n#div#2;n#div#1;n#!!top" expanded="true" />
+          </folding>
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/view/admin/adminaccount/showuser.html">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="1447">
+          <caret line="212" column="9" selection-start-line="212" selection-start-column="9" selection-end-line="212" selection-end-column="9" />
           <folding>
             <element signature="n#style#0;n#span#0;n#!!top" expanded="true" />
             <element signature="n#style#0;n#span#0;n#!!top" expanded="true" />
@@ -739,10 +697,10 @@
         </state>
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/view/admin/Usermanage/index.html">
+    <entry file="file://$PROJECT_DIR$/view/admin/adminaccount/adminuser.html">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="529">
-          <caret line="26" column="41" selection-start-line="26" selection-start-column="41" selection-end-line="26" selection-end-column="41" />
+        <state relative-caret-position="92">
+          <caret line="85" column="33" selection-start-line="85" selection-start-column="33" selection-end-line="85" selection-end-column="33" />
           <folding>
             <element signature="n#style#0;n#div#1;n#!!top" expanded="true" />
             <element signature="n#div#1;n#!!top" />
@@ -756,5 +714,84 @@
         </state>
       </provider>
     </entry>
+    <entry file="file://$PROJECT_DIR$/app/admin/controller/Account.php">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="414">
+          <caret line="23" column="6" selection-start-line="23" selection-start-column="6" selection-end-line="23" selection-end-column="6" />
+          <folding>
+            <element signature="e#102#136#0#PHP" expanded="true" />
+          </folding>
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/view/admin/Usermanage/usermessage.html">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="161">
+          <caret line="67" lean-forward="true" selection-start-line="67" selection-end-line="67" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/view/admin/contents/showuser.html">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="-2691">
+          <caret line="6" column="25" lean-forward="true" selection-start-line="6" selection-start-column="25" selection-end-line="6" selection-end-column="25" />
+          <folding>
+            <element signature="n#style#0;n#span#0;n#!!top" expanded="true" />
+            <element signature="n#style#0;n#span#0;n#!!top" expanded="true" />
+          </folding>
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/app/admin/controller/Usermanage.php">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="441">
+          <caret line="34" column="30" lean-forward="true" selection-start-line="34" selection-start-column="30" selection-end-line="34" selection-end-column="30" />
+          <folding>
+            <element signature="e#102#136#0#PHP" expanded="true" />
+          </folding>
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/app/admin/controller/Contents.php">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="657">
+          <caret line="452" column="5" lean-forward="true" selection-start-line="452" selection-start-column="5" selection-end-line="452" selection-end-column="5" />
+          <folding>
+            <element signature="e#69#103#0#PHP" expanded="true" />
+          </folding>
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/view/admin/contents/adminuser.html">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="372">
+          <caret line="99" column="22" lean-forward="true" selection-start-line="99" selection-start-column="22" selection-end-line="99" selection-end-column="22" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/app/common/controller/Orde.php">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="505">
+          <caret line="44" column="44" selection-start-line="44" selection-start-column="31" selection-end-line="44" selection-end-column="44" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/app/web/model/Orders.php">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="713">
+          <caret line="176" column="22" selection-start-line="176" selection-start-column="22" selection-end-line="176" selection-end-column="22" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/app/admin/controller/Order.php">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="297">
+          <caret line="129" column="16" lean-forward="true" selection-start-line="129" selection-start-column="16" selection-end-line="129" selection-end-column="16" />
+          <folding>
+            <element signature="e#102#129#0#PHP" expanded="true" />
+          </folding>
+        </state>
+      </provider>
+    </entry>
   </component>
 </project>

+ 140 - 1
php/app/admin/controller/Contents.php

@@ -10,7 +10,7 @@ use app\common\model\Problem;
 use think\facade\Db;
 use think\facade\Request;
 use think\facade\View;
-
+use app\common\model\User;
 class Contents extends Backend
 {
     // todo 内容管理
@@ -312,4 +312,143 @@ class Contents extends Backend
         }
 
     }
+
+
+    // 开盘设置
+    public function opens()
+    {
+        if (Request::isPost()){
+            $data = Request::post();
+            if (isset($data["open"])){
+                $data["open"]=1;
+            }else{
+                $data["open"]="";
+            }
+            foreach ($data as $k=>$v){
+                $res =  Db::name('system')->where('name',$k)->update(['value'=>$v]);
+            }
+            json_result(200,"修改成功",$data);
+        }
+
+        $list = Db::name('system')
+            ->where(["type"=>"open"])
+            ->field('name,value')
+            ->column('value','name');
+//        var_dump($list["open"]);die();
+
+
+        View::assign('config',json_encode($list));
+        $view = [
+            'info' => $list,
+            'title' => lang('add'),
+        ];
+        View::assign($view);
+        return View::fetch();
+    }
+
+
+    // 后台收款账号
+    public function adminuser()
+    {
+        if (Request::isPost()){
+
+            $page=input("page")?:1;
+            $limit=input("limit")?:10;
+            $name=input("name");
+            $where=[];
+            if ($name){
+                $where[]=["name","like","%".$name."%"];
+            }
+            $where[]=["admin","=",1];
+            $list=User::where($where)->order("id desc")->paginate(['list_rows' => $limit, 'page' => $page])->each(function ($item) {
+
+                return $item;
+            })->toArray();
+            return  $result = ['code' => 0, 'msg' => lang('get info success'), 'data' => $list['data']?:[], 'count' => $list['total']?:0];
+        }
+
+        return View::fetch();
+
+    }
+
+    // 修改信息
+    public function update_user_admin()
+    {
+        $id=input("id");
+        $field=input("field");
+        $value=input("value");
+        $where["id"]=$id;
+        $update[$field]=$value;
+        User::update($update,$where);
+        json_result(200,"操作成功");
+    }
+    // 收款信息
+    public function showuser()
+    {
+        if (Request::isPost()) {
+            $data = Request::post();
+            $adminid=input("user_id");
+            $where["user_id"]=$adminid;
+            \app\common\model\UserMessage::update($data,$where);
+
+            json_result(200, "修改成功", $data);
+        }
+
+
+        $adminid=input("user_id");
+        $where["user_id"]=$adminid;
+        $code=\app\common\model\UserMessage::where($where)->find();
+        if (!$code){
+            \app\common\model\UserMessage::create($where);
+            $code=\app\common\model\UserMessage::where($where)->find();
+        }
+
+        View::assign("user",$code);
+        return View::fetch();
+    }
+    // 封号
+    public function fenhao()
+    {
+        $id=input("id");
+
+        $user=\app\common\model\User::where(["id"=>$id])->field("status")->find();
+        if ($user->status==1){
+            $update["status"]=0;
+        }else{
+            $update["status"]=1;
+        }
+        \app\common\model\User::update($update,["id"=>$id]);
+        json_result(200,"操作成功");
+    }
+
+    // 密码重置
+    public function update_pwd()
+    {
+        $id=input("id");
+        $pwd=input("pwd");
+
+        $data["pwd"] = password_hash($pwd, PASSWORD_DEFAULT);;
+        User::update($data,["id"=>$id]);
+        json_result(200,"重置成功");
+
+    }
+    // 删除账号
+    public function delete_user()
+    {
+        $id=input("id");
+        User::where(["id"=>$id])->delete();
+        json_result(200,"删除成功");
+
+    }
+    // 添加后台账号
+    public function add_admin_user()
+    {
+        $name=input("name");
+        $add["name"]=$name;
+        $add["admin"]=1;
+        $add["add_time"]=time();
+        $add["update_time"]=time();
+        User::create($add);
+        json_result(200,"添加成功");
+    }
 }

+ 21 - 0
php/app/admin/controller/Order.php

@@ -13,6 +13,7 @@ use app\common\model\State;
 use think\facade\Request;
 use think\facade\View;
 use app\common\controller\Backend;
+use app\common\model\Order as OrderS;
 class Order extends Backend
 {
  // 订单管理
@@ -125,4 +126,24 @@ class Order extends Backend
         return View::fetch();
         
     }
+
+    // 所有 买入订单匹配
+    public function allmatching()
+    {
+
+    }
+
+    //单个 买入订单匹配
+
+    public function matching()
+    {
+        $id=input("id");
+        $order_id=input("order_id");
+        $update["push_user"]=$id;
+        $update["status"]=1;
+        $update["stat_time"]=time()+1*3600;
+        OrderS::update($update,["id"=>$order_id]);
+        json_result(200,"匹配成功");
+    }
+
 }

+ 5 - 0
php/app/admin/controller/Usermanage.php

@@ -28,7 +28,12 @@ class Usermanage extends Backend
             $keys = Request::post('keys', '', 'trim');
             $page = Request::post('page') ? Request::post('page') : 1;
             $limit=input("limit")?:10;
+
+            $where=[];
+            $where[]=["admin","<>",1];
+//            var_dump($where);die();
             $list = Db::name('user')
+                ->where($where)
                 ->where('mail|phone|name','like',"%".$keys."%")
                 ->order('id desc')
                 ->paginate(['list_rows' =>$limit, 'page' => $page])

+ 1 - 1
php/app/common/controller/Orde.php

@@ -45,7 +45,7 @@ class Orde
         $update["push_user"] = $push_user_id;
         $update["sxf_money"] = $money;//卖出已交手续费
         $update["status"] = 1;
-        $update["stat_time"] = time() + 4 * 3600;
+        $update["stat_time"] = time() + 1 * 3600;
         Order::where($where)->update($update);
         // 添加财务记录
         self::Finance($push_user_id, "卖出BTS", $money, 1);

+ 5 - 0
php/app/web/controller/Base.php

@@ -21,11 +21,16 @@ class Base
         if (!$token){
             json_result(9,"请登录后在操作");
         }
+
         $where["token"]=$token;
         $user=User::where($where)->find();
         if (!$user){
             json_result(9,"账号已经在其他设备登录,请重新登录");
         }
+        if ($user->status){
+            json_result(9,"该账号已经被封号请联系管理员");
+        }
+
         $this->user=$user;
         $this->user_id=$user->id;
     }

+ 27 - 5
php/app/web/model/Orders.php

@@ -17,6 +17,7 @@ use app\common\model\User;
 use app\common\model\UserMessage;
 use app\common\model\VendibilityFinance;
 use Ramsey\Uuid\Uuid;
+use think\facade\Db;
 
 class Orders
 {
@@ -79,6 +80,17 @@ class Orders
         return $order;
     }
 
+    // 系统开关
+    public static function open_system()
+    {
+        $list = Db::name('system')
+            ->where(["type"=>"open"])
+            ->field('name,value')
+            ->column('value','name');
+        return $list;
+ }
+
+
     /** 买入和卖出
      * @param $user 用户数据
      * @param $user_id 用户id
@@ -91,13 +103,23 @@ class Orders
      */
     public static function push_order($user,$user_id,$type=0,$qit_id=0,$ming_id=0)
     {
-        // todo 未完成卖出订单时间控制,
         // 查看用户是否添加收账信息
         $userMeesage=UserMessage::where(["user_id"=>$user_id])->find();
         if (!$userMeesage){
             json_result(400,"请完善收账信息");
         }
         if ($type==0){// 直接卖出 更新原有数据
+            $open_system=self::open_system();
+            // 查看是否是否开盘
+            if (!$open_system["open"]){
+                json_result(400,"已经关盘,请等待开盘");
+            }
+            $now=date("H");
+            if ($open_system["open_start"]>$now||$open_system["open_end"]<$now){
+                json_result(400,"开盘时间是".$open_system["open_start"]."点到".$open_system["open_end"]."点");
+            }
+
+
             $where["id"]=$qit_id;
             $order=Order::where($where)->find();
             if (!$order){
@@ -133,11 +155,11 @@ class Orders
             if ($order_frequency){// 因为后台交易不加次数
                 $count_order=$order_frequency->push+$count_order;
                 if ($count_order==5){
-                    json_result(400,"每个区块只能卖出5次");
+                    json_result(400,"该价格区已经达到卖出5次,请卖出其他价格区");
                 }
             }else{
                 if ($count_order==5){
-                    json_result(400,"每个区块只能卖出5次");
+                    json_result(400,"该价格区已经达到卖出5次,请卖出其他价格区");
                 }
             }
 
@@ -175,11 +197,11 @@ class Orders
             if ($order_frequency){// 因为后台交易不加次数
                 $count_order=$order_frequency->buy+$count_order;
                 if ($count_order==4){
-                    json_result(400,"每个区块只能买入4次");
+                    json_result(400,"该价格区已经达到买入4次,请购买其他价格区");
                 }
             }else{
                 if ($count_order==4){
-                    json_result(400,"每个区块只能买入4次");
+                    json_result(400,"该价格区已经达到买入4次,请购买其他价格区");
                 }
             }
 

+ 5 - 5
php/lm_admin.sql

@@ -69,26 +69,26 @@ CREATE TABLE `lm_admin_log`  (
 -- ----------------------------
 -- Records of lm_admin_log
 -- ----------------------------
-INSERT INTO `lm_admin_log` VALUES (14204, 1, 'admin', '/admin/adminlog/index.html', '点击菜单', '日志管理', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590993441, 1590993441, 1);
+INSERT INTO `lm_admin_log` VALUES (14204, 1, 'admin', '/admin/adminlog/adminuser.html', '点击菜单', '日志管理', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590993441, 1590993441, 1);
 INSERT INTO `lm_admin_log` VALUES (14205, 1, 'admin', '/admin/system/configlist.html', '点击菜单', '配置列表', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590993447, 1590993447, 1);
 INSERT INTO `lm_admin_log` VALUES (14206, 1, 'admin', '/admin/system/configlist.html', '点击菜单', '配置列表', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590993448, 1590993448, 1);
 INSERT INTO `lm_admin_log` VALUES (14207, 1, 'admin', '/admin/system/configedit.html', '{\"id\":\"1\"}', '编辑配置', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590993468, 1590993468, 1);
 INSERT INTO `lm_admin_log` VALUES (14208, 1, 'admin', '/admin/system/configedit.html', '{\"id\":\"1\",\"pid\":\"site\",\"code\":\"site_name\",\"value\":\"\\u5343\\u7ffc\\u5546\\u57ce\\u5b98\\u7f5122\",\"remark\":\"\\u7f51\\u7ad9\\u540d\\u79f0\"}', '编辑配置', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590993472, 1590993472, 1);
 INSERT INTO `lm_admin_log` VALUES (14209, 1, 'admin', '/admin/system/configedit.html', '{\"id\":\"1\"}', '编辑配置', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590993475, 1590993475, 1);
-INSERT INTO `lm_admin_log` VALUES (14210, 1, 'admin', '/admin/adminlog/index.html', '点击菜单', '日志管理', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590993489, 1590993489, 1);
+INSERT INTO `lm_admin_log` VALUES (14210, 1, 'admin', '/admin/adminlog/adminuser.html', '点击菜单', '日志管理', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590993489, 1590993489, 1);
 INSERT INTO `lm_admin_log` VALUES (14211, 1, 'admin', '/admin/system/configlist.html', '点击菜单', '配置列表', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590993490, 1590993490, 1);
 INSERT INTO `lm_admin_log` VALUES (14212, 1, 'admin', '/admin/system/configlist.html', '点击菜单', '配置列表', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590993492, 1590993492, 1);
 INSERT INTO `lm_admin_log` VALUES (14213, 1, 'admin', '/admin/database/restore.html', '点击菜单', '还原数据库', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590993515, 1590993515, 1);
 INSERT INTO `lm_admin_log` VALUES (14214, 1, 'admin', '/admin/database/restore.html', '点击菜单', '还原数据库', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590993515, 1590993515, 1);
-INSERT INTO `lm_admin_log` VALUES (14215, 1, 'admin', '/admin/database/index.html', '点击菜单', '数据库列表', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590993518, 1590993518, 1);
-INSERT INTO `lm_admin_log` VALUES (14216, 1, 'admin', '/admin/database/index.html', '点击菜单', '数据库列表', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590993519, 1590993519, 1);
+INSERT INTO `lm_admin_log` VALUES (14215, 1, 'admin', '/admin/database/adminuser.html', '点击菜单', '数据库列表', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590993518, 1590993518, 1);
+INSERT INTO `lm_admin_log` VALUES (14216, 1, 'admin', '/admin/database/adminuser.html', '点击菜单', '数据库列表', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590993519, 1590993519, 1);
 INSERT INTO `lm_admin_log` VALUES (14217, 1, 'admin', '/admin/auth/adminrule.html', '点击菜单', '权限列表', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590993527, 1590993527, 1);
 INSERT INTO `lm_admin_log` VALUES (14218, 1, 'admin', '/admin/auth/adminrule.html', '点击菜单', '权限列表', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590993527, 1590993527, 1);
 INSERT INTO `lm_admin_log` VALUES (14219, 1, 'admin', '/admin/auth/group.html', '点击菜单', '权限组', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590993530, 1590993530, 1);
 INSERT INTO `lm_admin_log` VALUES (14220, 1, 'admin', '/admin/auth/group.html', '点击菜单', '权限组', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590993531, 1590993531, 1);
 INSERT INTO `lm_admin_log` VALUES (14221, 1, 'admin', '/admin/auth/adminlist.html', '点击菜单', '管理员列表', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590993533, 1590993533, 1);
 INSERT INTO `lm_admin_log` VALUES (14222, 1, 'admin', '/admin/auth/adminlist.html', '点击菜单', '管理员列表', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590993533, 1590993533, 1);
-INSERT INTO `lm_admin_log` VALUES (14223, 1, 'admin', '/admin/adminlog/index.html', '点击菜单', '日志管理', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590995934, 1590995934, 1);
+INSERT INTO `lm_admin_log` VALUES (14223, 1, 'admin', '/admin/adminlog/adminuser.html', '点击菜单', '日志管理', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36', '127.0.0.1', 1590995934, 1590995934, 1);
 
 -- ----------------------------
 -- Table structure for lm_auth_group

+ 170 - 64
php/runtime/admin/log/202006/08.log

@@ -1,64 +1,170 @@
-[2020-06-08T15:46:41+08:00][sql] CONNECT:[ UseTime:0.182131s ] mysql:host=120.78.128.100;port=3306;dbname=test;charset=utf8
-[2020-06-08T15:46:41+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.122324s ]
-[2020-06-08T15:46:41+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.122220s ]
-[2020-06-08T15:46:42+08:00][sql] CONNECT:[ UseTime:0.182890s ] mysql:host=120.78.128.100;port=3306;dbname=test;charset=utf8
-[2020-06-08T15:46:42+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.124028s ]
-[2020-06-08T15:46:42+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.122222s ]
-[2020-06-08T15:46:42+08:00][sql] SHOW FULL COLUMNS FROM `lm_user_message` [ RunTime:0.122998s ]
-[2020-06-08T15:46:42+08:00][sql] SELECT * FROM `lm_user_message` WHERE  `user_id` = 2 LIMIT 1 [ RunTime:0.122242s ]
-[2020-06-08T15:46:49+08:00][sql] CONNECT:[ UseTime:0.185971s ] mysql:host=120.78.128.100;port=3306;dbname=test;charset=utf8
-[2020-06-08T15:46:49+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.124523s ]
-[2020-06-08T15:46:49+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.123509s ]
-[2020-06-08T15:46:49+08:00][sql] SELECT * FROM `lm_auth_rule` WHERE  `href` = 'Usermanage/index' LIMIT 1 [ RunTime:0.123762s ]
-[2020-06-08T15:46:49+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin_log` [ RunTime:0.124083s ]
-[2020-06-08T15:46:49+08:00][sql] INSERT INTO `lm_admin_log` SET `log_title` = '用户列表' , `log_content` = '点击菜单' , `log_url` = '/admin/usermanage/index.html' , `admin_id` = 1 , `username` = 'admin' , `log_agent` = 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36' , `log_ip` = '127.0.0.1' , `create_time` = 1591602408 , `update_time` = 1591602408 [ RunTime:0.124200s ]
-[2020-06-08T15:46:49+08:00][sql] SHOW FULL COLUMNS FROM `lm_user_level` [ RunTime:0.125391s ]
-[2020-06-08T15:46:49+08:00][sql] SELECT * FROM `lm_user_level` [ RunTime:0.123777s ]
-[2020-06-08T15:46:50+08:00][sql] CONNECT:[ UseTime:0.182623s ] mysql:host=120.78.128.100;port=3306;dbname=test;charset=utf8
-[2020-06-08T15:46:50+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.124267s ]
-[2020-06-08T15:46:50+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.122528s ]
-[2020-06-08T15:46:50+08:00][sql] SELECT * FROM `lm_auth_rule` WHERE  `href` = 'Usermanage/index' LIMIT 1 [ RunTime:0.122665s ]
-[2020-06-08T15:46:50+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin_log` [ RunTime:0.124410s ]
-[2020-06-08T15:46:50+08:00][sql] INSERT INTO `lm_admin_log` SET `log_title` = '用户列表' , `log_content` = '点击菜单' , `log_url` = '/admin/usermanage/index.html' , `admin_id` = 1 , `username` = 'admin' , `log_agent` = 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36' , `log_ip` = '127.0.0.1' , `create_time` = 1591602410 , `update_time` = 1591602410 [ RunTime:0.123746s ]
-[2020-06-08T15:46:50+08:00][sql] SHOW FULL COLUMNS FROM `lm_user_level` [ RunTime:0.123278s ]
-[2020-06-08T15:46:50+08:00][sql] SELECT * FROM `lm_user_level` [ RunTime:0.121921s ]
-[2020-06-08T15:46:51+08:00][sql] CONNECT:[ UseTime:0.184254s ] mysql:host=120.78.128.100;port=3306;dbname=test;charset=utf8
-[2020-06-08T15:46:51+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.122841s ]
-[2020-06-08T15:46:51+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.123241s ]
-[2020-06-08T15:46:51+08:00][sql] SHOW FULL COLUMNS FROM `lm_user` [ RunTime:0.124436s ]
-[2020-06-08T15:46:51+08:00][sql] SELECT COUNT(*) AS think_count FROM `lm_user` WHERE  ( `mail` LIKE '%%' OR `phone` LIKE '%%' OR `name` LIKE '%%' ) [ RunTime:0.122215s ]
-[2020-06-08T15:46:51+08:00][sql] SELECT * FROM `lm_user` WHERE  ( `mail` LIKE '%%' OR `phone` LIKE '%%' OR `name` LIKE '%%' ) ORDER BY `id` DESC LIMIT 0,15 [ RunTime:0.123931s ]
-[2020-06-08T15:46:56+08:00][sql] CONNECT:[ UseTime:0.183929s ] mysql:host=120.78.128.100;port=3306;dbname=test;charset=utf8
-[2020-06-08T15:46:56+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.125238s ]
-[2020-06-08T15:46:56+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.122759s ]
-[2020-06-08T15:46:56+08:00][sql] SHOW FULL COLUMNS FROM `lm_user_message` [ RunTime:0.123674s ]
-[2020-06-08T15:46:56+08:00][sql] SELECT * FROM `lm_user_message` WHERE  `user_id` = 4 LIMIT 1 [ RunTime:0.123235s ]
-[2020-06-08T15:46:56+08:00][sql] INSERT INTO `lm_user_message` SET `user_id` = 4 [ RunTime:0.123755s ]
-[2020-06-08T15:46:56+08:00][sql] SELECT * FROM `lm_user_message` WHERE  `user_id` = 4 LIMIT 1 [ RunTime:0.122702s ]
-[2020-06-08T15:47:00+08:00][sql] CONNECT:[ UseTime:0.190910s ] mysql:host=120.78.128.100;port=3306;dbname=test;charset=utf8
-[2020-06-08T15:47:00+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.125212s ]
-[2020-06-08T15:47:00+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.124814s ]
-[2020-06-08T15:47:00+08:00][sql] SHOW FULL COLUMNS FROM `lm_user_level` [ RunTime:0.124717s ]
-[2020-06-08T15:47:00+08:00][sql] SELECT * FROM `lm_user_level` [ RunTime:0.123653s ]
-[2020-06-08T15:47:01+08:00][sql] CONNECT:[ UseTime:0.188119s ] mysql:host=120.78.128.100;port=3306;dbname=test;charset=utf8
-[2020-06-08T15:47:01+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.126734s ]
-[2020-06-08T15:47:01+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.124813s ]
-[2020-06-08T15:47:01+08:00][sql] SHOW FULL COLUMNS FROM `lm_user` [ RunTime:0.125303s ]
-[2020-06-08T15:47:01+08:00][sql] SELECT COUNT(*) AS think_count FROM `lm_user` WHERE  ( `mail` LIKE '%%' OR `phone` LIKE '%%' OR `name` LIKE '%%' ) [ RunTime:0.123956s ]
-[2020-06-08T15:47:01+08:00][sql] SELECT * FROM `lm_user` WHERE  ( `mail` LIKE '%%' OR `phone` LIKE '%%' OR `name` LIKE '%%' ) ORDER BY `id` DESC LIMIT 0,15 [ RunTime:0.124124s ]
-[2020-06-08T15:47:04+08:00][sql] CONNECT:[ UseTime:0.189614s ] mysql:host=120.78.128.100;port=3306;dbname=test;charset=utf8
-[2020-06-08T15:47:04+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.125960s ]
-[2020-06-08T15:47:04+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.124719s ]
-[2020-06-08T15:47:04+08:00][sql] SHOW FULL COLUMNS FROM `lm_user_message` [ RunTime:0.125990s ]
-[2020-06-08T15:47:04+08:00][sql] SELECT * FROM `lm_user_message` WHERE  `user_id` = 2 LIMIT 1 [ RunTime:0.127173s ]
-[2020-06-08T15:47:11+08:00][sql] CONNECT:[ UseTime:0.179867s ] mysql:host=120.78.128.100;port=3306;dbname=test;charset=utf8
-[2020-06-08T15:47:11+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.121943s ]
-[2020-06-08T15:47:11+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.119357s ]
-[2020-06-08T15:47:11+08:00][sql] SHOW FULL COLUMNS FROM `lm_user_level` [ RunTime:0.119943s ]
-[2020-06-08T15:47:11+08:00][sql] SELECT * FROM `lm_user_level` [ RunTime:0.119717s ]
-[2020-06-08T15:47:12+08:00][sql] CONNECT:[ UseTime:0.180428s ] mysql:host=120.78.128.100;port=3306;dbname=test;charset=utf8
-[2020-06-08T15:47:12+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.122322s ]
-[2020-06-08T15:47:12+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.121521s ]
-[2020-06-08T15:47:12+08:00][sql] SHOW FULL COLUMNS FROM `lm_user` [ RunTime:0.122754s ]
-[2020-06-08T15:47:12+08:00][sql] SELECT COUNT(*) AS think_count FROM `lm_user` WHERE  ( `mail` LIKE '%%' OR `phone` LIKE '%%' OR `name` LIKE '%%' ) [ RunTime:0.121304s ]
-[2020-06-08T15:47:12+08:00][sql] SELECT * FROM `lm_user` WHERE  ( `mail` LIKE '%%' OR `phone` LIKE '%%' OR `name` LIKE '%%' ) ORDER BY `id` DESC LIMIT 0,15 [ RunTime:0.121857s ]
+[2020-06-08T17:56:33+08:00][sql] CONNECT:[ UseTime:0.186071s ] mysql:host=120.78.128.100;port=3306;dbname=test;charset=utf8
+[2020-06-08T17:56:33+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.124695s ]
+[2020-06-08T17:56:33+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.124737s ]
+[2020-06-08T17:56:35+08:00][sql] CONNECT:[ UseTime:0.191221s ] mysql:host=120.78.128.100;port=3306;dbname=test;charset=utf8
+[2020-06-08T17:56:35+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.182189s ]
+[2020-06-08T17:56:35+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.124734s ]
+[2020-06-08T17:56:35+08:00][sql] SELECT * FROM `lm_auth_rule` WHERE  `href` = 'Usermanage/index' LIMIT 1 [ RunTime:0.125204s ]
+[2020-06-08T17:56:35+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin_log` [ RunTime:0.125566s ]
+[2020-06-08T17:56:35+08:00][sql] INSERT INTO `lm_admin_log` SET `log_title` = '用户列表' , `log_content` = '点击菜单' , `log_url` = '/admin/usermanage/index.html' , `admin_id` = 1 , `username` = 'admin' , `log_agent` = 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36' , `log_ip` = '127.0.0.1' , `create_time` = 1591610194 , `update_time` = 1591610194 [ RunTime:0.124455s ]
+[2020-06-08T17:56:35+08:00][sql] SHOW FULL COLUMNS FROM `lm_user_level` [ RunTime:0.126418s ]
+[2020-06-08T17:56:35+08:00][sql] SELECT * FROM `lm_user_level` [ RunTime:0.124447s ]
+[2020-06-08T17:56:36+08:00][sql] CONNECT:[ UseTime:0.184060s ] mysql:host=120.78.128.100;port=3306;dbname=test;charset=utf8
+[2020-06-08T17:56:36+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.122189s ]
+[2020-06-08T17:56:36+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.122073s ]
+[2020-06-08T17:56:36+08:00][sql] SHOW FULL COLUMNS FROM `lm_user` [ RunTime:0.122178s ]
+[2020-06-08T17:56:36+08:00][sql] SELECT COUNT(*) AS think_count FROM `lm_user` WHERE  `admin` IN (neq,1)  AND ( `mail` LIKE '%%' OR `phone` LIKE '%%' OR `name` LIKE '%%' ) [ RunTime:0.121413s ]
+[2020-06-08T17:56:36+08:00][sql] SELECT * FROM `lm_user` WHERE  `admin` IN (neq,1)  AND ( `mail` LIKE '%%' OR `phone` LIKE '%%' OR `name` LIKE '%%' ) ORDER BY `id` DESC LIMIT 0,15 [ RunTime:0.121800s ]
+[2020-06-08T17:57:36+08:00][sql] CONNECT:[ UseTime:0.189996s ] mysql:host=120.78.128.100;port=3306;dbname=test;charset=utf8
+[2020-06-08T17:57:36+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.127081s ]
+[2020-06-08T17:57:36+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.127602s ]
+[2020-06-08T17:57:36+08:00][sql] SELECT * FROM `lm_auth_rule` WHERE  `href` = 'Usermanage/index' LIMIT 1 [ RunTime:0.126411s ]
+[2020-06-08T17:57:36+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin_log` [ RunTime:0.126806s ]
+[2020-06-08T17:57:36+08:00][sql] INSERT INTO `lm_admin_log` SET `log_title` = '用户列表' , `log_content` = '点击菜单' , `log_url` = '/admin/usermanage/index.html' , `admin_id` = 1 , `username` = 'admin' , `log_agent` = 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36' , `log_ip` = '127.0.0.1' , `create_time` = 1591610256 , `update_time` = 1591610256 [ RunTime:0.126780s ]
+[2020-06-08T17:57:36+08:00][sql] SHOW FULL COLUMNS FROM `lm_user_level` [ RunTime:0.126322s ]
+[2020-06-08T17:57:36+08:00][sql] SELECT * FROM `lm_user_level` [ RunTime:0.125861s ]
+[2020-06-08T17:57:38+08:00][sql] CONNECT:[ UseTime:0.186463s ] mysql:host=120.78.128.100;port=3306;dbname=test;charset=utf8
+[2020-06-08T17:57:38+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.124475s ]
+[2020-06-08T17:57:38+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.124768s ]
+[2020-06-08T17:57:38+08:00][sql] SHOW FULL COLUMNS FROM `lm_user` [ RunTime:0.136758s ]
+[2020-06-08T17:57:38+08:00][sql] SELECT COUNT(*) AS think_count FROM `lm_user` WHERE  `admin` IN (<>,1)  AND ( `mail` LIKE '%%' OR `phone` LIKE '%%' OR `name` LIKE '%%' ) [ RunTime:0.124273s ]
+[2020-06-08T17:57:38+08:00][sql] SELECT * FROM `lm_user` WHERE  `admin` IN (<>,1)  AND ( `mail` LIKE '%%' OR `phone` LIKE '%%' OR `name` LIKE '%%' ) ORDER BY `id` DESC LIMIT 0,15 [ RunTime:0.124365s ]
+[2020-06-08T17:57:41+08:00][sql] CONNECT:[ UseTime:0.188910s ] mysql:host=120.78.128.100;port=3306;dbname=test;charset=utf8
+[2020-06-08T17:57:41+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.127137s ]
+[2020-06-08T17:57:41+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.126021s ]
+[2020-06-08T17:57:41+08:00][sql] SELECT * FROM `lm_auth_rule` WHERE  `href` = 'Usermanage/index' LIMIT 1 [ RunTime:0.126921s ]
+[2020-06-08T17:57:41+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin_log` [ RunTime:0.126824s ]
+[2020-06-08T17:57:41+08:00][sql] INSERT INTO `lm_admin_log` SET `log_title` = '用户列表' , `log_content` = '点击菜单' , `log_url` = '/admin/usermanage/index.html' , `admin_id` = 1 , `username` = 'admin' , `log_agent` = 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36' , `log_ip` = '127.0.0.1' , `create_time` = 1591610260 , `update_time` = 1591610260 [ RunTime:0.125703s ]
+[2020-06-08T17:57:41+08:00][sql] SHOW FULL COLUMNS FROM `lm_user_level` [ RunTime:0.127264s ]
+[2020-06-08T17:57:41+08:00][sql] SELECT * FROM `lm_user_level` [ RunTime:0.125063s ]
+[2020-06-08T17:57:42+08:00][sql] CONNECT:[ UseTime:0.199067s ] mysql:host=120.78.128.100;port=3306;dbname=test;charset=utf8
+[2020-06-08T17:57:42+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.129146s ]
+[2020-06-08T17:57:42+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.129632s ]
+[2020-06-08T17:57:42+08:00][sql] SHOW FULL COLUMNS FROM `lm_user` [ RunTime:0.134232s ]
+[2020-06-08T17:57:42+08:00][sql] SELECT COUNT(*) AS think_count FROM `lm_user` WHERE  `admin` IN (<>,1)  AND ( `mail` LIKE '%%' OR `phone` LIKE '%%' OR `name` LIKE '%%' ) [ RunTime:0.126478s ]
+[2020-06-08T17:57:42+08:00][sql] SELECT * FROM `lm_user` WHERE  `admin` IN (<>,1)  AND ( `mail` LIKE '%%' OR `phone` LIKE '%%' OR `name` LIKE '%%' ) ORDER BY `id` DESC LIMIT 0,15 [ RunTime:0.127470s ]
+[2020-06-08T17:58:06+08:00][sql] CONNECT:[ UseTime:0.186329s ] mysql:host=120.78.128.100;port=3306;dbname=test;charset=utf8
+[2020-06-08T17:58:06+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.124767s ]
+[2020-06-08T17:58:06+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.125236s ]
+[2020-06-08T17:58:06+08:00][sql] SELECT * FROM `lm_auth_rule` WHERE  `href` = 'Usermanage/index' LIMIT 1 [ RunTime:0.130800s ]
+[2020-06-08T17:58:06+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin_log` [ RunTime:0.135287s ]
+[2020-06-08T17:58:06+08:00][sql] INSERT INTO `lm_admin_log` SET `log_title` = '用户列表' , `log_content` = '点击菜单' , `log_url` = '/admin/usermanage/index.html' , `admin_id` = 1 , `username` = 'admin' , `log_agent` = 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36' , `log_ip` = '127.0.0.1' , `create_time` = 1591610286 , `update_time` = 1591610286 [ RunTime:0.138394s ]
+[2020-06-08T17:58:06+08:00][sql] SHOW FULL COLUMNS FROM `lm_user_level` [ RunTime:0.126466s ]
+[2020-06-08T17:58:06+08:00][sql] SELECT * FROM `lm_user_level` [ RunTime:0.190961s ]
+[2020-06-08T17:58:12+08:00][sql] CONNECT:[ UseTime:0.195947s ] mysql:host=120.78.128.100;port=3306;dbname=test;charset=utf8
+[2020-06-08T17:58:12+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.127989s ]
+[2020-06-08T17:58:12+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.122718s ]
+[2020-06-08T17:58:12+08:00][sql] SELECT * FROM `lm_auth_rule` WHERE  `href` = 'Usermanage/index' LIMIT 1 [ RunTime:0.121924s ]
+[2020-06-08T17:58:12+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin_log` [ RunTime:0.124645s ]
+[2020-06-08T17:58:12+08:00][sql] INSERT INTO `lm_admin_log` SET `log_title` = '用户列表' , `log_content` = '点击菜单' , `log_url` = '/admin/usermanage/index.html' , `admin_id` = 1 , `username` = 'admin' , `log_agent` = 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36' , `log_ip` = '127.0.0.1' , `create_time` = 1591610292 , `update_time` = 1591610292 [ RunTime:0.122815s ]
+[2020-06-08T17:58:12+08:00][sql] SHOW FULL COLUMNS FROM `lm_user_level` [ RunTime:0.123864s ]
+[2020-06-08T17:58:12+08:00][sql] SELECT * FROM `lm_user_level` [ RunTime:0.122075s ]
+[2020-06-08T17:58:33+08:00][sql] CONNECT:[ UseTime:0.189251s ] mysql:host=120.78.128.100;port=3306;dbname=test;charset=utf8
+[2020-06-08T17:58:33+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.123079s ]
+[2020-06-08T17:58:33+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.122910s ]
+[2020-06-08T17:58:33+08:00][sql] SELECT * FROM `lm_auth_rule` WHERE  `href` = 'Usermanage/index' LIMIT 1 [ RunTime:0.123584s ]
+[2020-06-08T17:58:33+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin_log` [ RunTime:0.123354s ]
+[2020-06-08T17:58:33+08:00][sql] INSERT INTO `lm_admin_log` SET `log_title` = '用户列表' , `log_content` = '点击菜单' , `log_url` = '/admin/usermanage/index.html' , `admin_id` = 1 , `username` = 'admin' , `log_agent` = 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36' , `log_ip` = '127.0.0.1' , `create_time` = 1591610313 , `update_time` = 1591610313 [ RunTime:0.157340s ]
+[2020-06-08T17:58:33+08:00][sql] SHOW FULL COLUMNS FROM `lm_user_level` [ RunTime:0.122539s ]
+[2020-06-08T17:58:33+08:00][sql] SELECT * FROM `lm_user_level` [ RunTime:0.122388s ]
+[2020-06-08T17:58:41+08:00][sql] CONNECT:[ UseTime:0.204839s ] mysql:host=120.78.128.100;port=3306;dbname=test;charset=utf8
+[2020-06-08T17:58:41+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.124379s ]
+[2020-06-08T17:58:41+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.124809s ]
+[2020-06-08T17:58:41+08:00][sql] SELECT * FROM `lm_auth_rule` WHERE  `href` = 'Usermanage/index' LIMIT 1 [ RunTime:0.123930s ]
+[2020-06-08T17:58:41+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin_log` [ RunTime:0.124699s ]
+[2020-06-08T17:58:41+08:00][sql] INSERT INTO `lm_admin_log` SET `log_title` = '用户列表' , `log_content` = '点击菜单' , `log_url` = '/admin/usermanage/index.html' , `admin_id` = 1 , `username` = 'admin' , `log_agent` = 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36' , `log_ip` = '127.0.0.1' , `create_time` = 1591610320 , `update_time` = 1591610320 [ RunTime:0.123977s ]
+[2020-06-08T17:58:41+08:00][sql] SHOW FULL COLUMNS FROM `lm_user_level` [ RunTime:0.124955s ]
+[2020-06-08T17:58:41+08:00][sql] SELECT * FROM `lm_user_level` [ RunTime:0.123909s ]
+[2020-06-08T17:58:42+08:00][sql] CONNECT:[ UseTime:0.182525s ] mysql:host=120.78.128.100;port=3306;dbname=test;charset=utf8
+[2020-06-08T17:58:42+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.123885s ]
+[2020-06-08T17:58:42+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.121921s ]
+[2020-06-08T17:58:42+08:00][sql] SHOW FULL COLUMNS FROM `lm_user` [ RunTime:0.124592s ]
+[2020-06-08T17:58:42+08:00][sql] SELECT COUNT(*) AS think_count FROM `lm_user` WHERE  `admin` <> 1  AND ( `mail` LIKE '%%' OR `phone` LIKE '%%' OR `name` LIKE '%%' ) [ RunTime:0.134192s ]
+[2020-06-08T17:58:42+08:00][sql] SELECT * FROM `lm_user` WHERE  `admin` <> 1  AND ( `mail` LIKE '%%' OR `phone` LIKE '%%' OR `name` LIKE '%%' ) ORDER BY `id` DESC LIMIT 0,15 [ RunTime:0.155576s ]
+[2020-06-08T17:59:15+08:00][sql] CONNECT:[ UseTime:0.230200s ] mysql:host=120.78.128.100;port=3306;dbname=test;charset=utf8
+[2020-06-08T17:59:15+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.127114s ]
+[2020-06-08T17:59:15+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.124764s ]
+[2020-06-08T17:59:16+08:00][sql] CONNECT:[ UseTime:0.184022s ] mysql:host=120.78.128.100;port=3306;dbname=test;charset=utf8
+[2020-06-08T17:59:16+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.124149s ]
+[2020-06-08T17:59:16+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.122269s ]
+[2020-06-08T17:59:16+08:00][sql] SHOW FULL COLUMNS FROM `lm_user` [ RunTime:0.123974s ]
+[2020-06-08T17:59:16+08:00][sql] SELECT COUNT(*) AS think_count FROM `lm_user` WHERE  `admin` = 1 [ RunTime:0.121390s ]
+[2020-06-08T17:59:16+08:00][sql] SELECT * FROM `lm_user` WHERE  `admin` = 1 ORDER BY `id` DESC LIMIT 0,15 [ RunTime:0.124351s ]
+[2020-06-08T17:59:19+08:00][sql] CONNECT:[ UseTime:0.186392s ] mysql:host=120.78.128.100;port=3306;dbname=test;charset=utf8
+[2020-06-08T17:59:19+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.125136s ]
+[2020-06-08T17:59:19+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.124703s ]
+[2020-06-08T17:59:19+08:00][sql] SHOW FULL COLUMNS FROM `lm_user` [ RunTime:0.124425s ]
+[2020-06-08T17:59:19+08:00][sql] SELECT COUNT(*) AS think_count FROM `lm_user` WHERE  `admin` = 1 [ RunTime:0.123113s ]
+[2020-06-08T17:59:19+08:00][sql] SELECT * FROM `lm_user` WHERE  `admin` = 1 ORDER BY `id` DESC LIMIT 0,15 [ RunTime:0.124529s ]
+[2020-06-08T17:59:59+08:00][sql] CONNECT:[ UseTime:0.215060s ] mysql:host=120.78.128.100;port=3306;dbname=test;charset=utf8
+[2020-06-08T17:59:59+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.128086s ]
+[2020-06-08T17:59:59+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.127272s ]
+[2020-06-08T18:00:00+08:00][sql] CONNECT:[ UseTime:0.184133s ] mysql:host=120.78.128.100;port=3306;dbname=test;charset=utf8
+[2020-06-08T18:00:00+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.125381s ]
+[2020-06-08T18:00:00+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.122569s ]
+[2020-06-08T18:00:00+08:00][sql] SHOW FULL COLUMNS FROM `lm_user` [ RunTime:0.124186s ]
+[2020-06-08T18:00:00+08:00][sql] SELECT COUNT(*) AS think_count FROM `lm_user` WHERE  `admin` = 1 [ RunTime:0.124013s ]
+[2020-06-08T18:00:00+08:00][sql] SELECT * FROM `lm_user` WHERE  `admin` = 1 ORDER BY `id` DESC LIMIT 0,15 [ RunTime:0.124344s ]
+[2020-06-08T18:00:29+08:00][sql] CONNECT:[ UseTime:0.181864s ] mysql:host=120.78.128.100;port=3306;dbname=test;charset=utf8
+[2020-06-08T18:00:29+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.122040s ]
+[2020-06-08T18:00:29+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.120865s ]
+[2020-06-08T18:00:29+08:00][sql] SELECT * FROM `lm_auth_rule` WHERE  `href` = 'Order/buy' LIMIT 1 [ RunTime:0.121352s ]
+[2020-06-08T18:00:29+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin_log` [ RunTime:0.121702s ]
+[2020-06-08T18:00:29+08:00][sql] INSERT INTO `lm_admin_log` SET `log_title` = '求购订单列表' , `log_content` = '点击菜单' , `log_url` = '/admin/order/buy.html' , `admin_id` = 1 , `username` = 'admin' , `log_agent` = 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36' , `log_ip` = '127.0.0.1' , `create_time` = 1591610429 , `update_time` = 1591610429 [ RunTime:0.122040s ]
+[2020-06-08T18:00:31+08:00][sql] CONNECT:[ UseTime:0.182304s ] mysql:host=120.78.128.100;port=3306;dbname=test;charset=utf8
+[2020-06-08T18:00:31+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.123414s ]
+[2020-06-08T18:00:31+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.122938s ]
+[2020-06-08T18:00:31+08:00][sql] SELECT * FROM `lm_auth_rule` WHERE  `href` = 'Order/buy' LIMIT 1 [ RunTime:0.121287s ]
+[2020-06-08T18:00:31+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin_log` [ RunTime:0.122522s ]
+[2020-06-08T18:00:31+08:00][sql] INSERT INTO `lm_admin_log` SET `log_title` = '求购订单列表' , `log_content` = '点击菜单' , `log_url` = '/admin/order/buy.html' , `admin_id` = 1 , `username` = 'admin' , `log_agent` = 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36' , `log_ip` = '127.0.0.1' , `create_time` = 1591610430 , `update_time` = 1591610430 [ RunTime:0.122009s ]
+[2020-06-08T18:00:32+08:00][sql] CONNECT:[ UseTime:0.189923s ] mysql:host=120.78.128.100;port=3306;dbname=test;charset=utf8
+[2020-06-08T18:00:32+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.127553s ]
+[2020-06-08T18:00:32+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.127211s ]
+[2020-06-08T18:00:32+08:00][sql] SHOW FULL COLUMNS FROM `lm_order` [ RunTime:0.128032s ]
+[2020-06-08T18:00:32+08:00][sql] SELECT COUNT(*) AS think_count FROM `lm_order` WHERE  `status` = 0 [ RunTime:0.126473s ]
+[2020-06-08T18:00:32+08:00][sql] SELECT * FROM `lm_order` WHERE  `status` = 0 ORDER BY `id` DESC LIMIT 0,15 [ RunTime:0.126437s ]
+[2020-06-08T18:00:32+08:00][sql] SHOW FULL COLUMNS FROM `lm_user` [ RunTime:0.146359s ]
+[2020-06-08T18:00:32+08:00][sql] SELECT `name` FROM `lm_user` WHERE  `id` = 2 LIMIT 1 [ RunTime:0.180921s ]
+[2020-06-08T18:00:32+08:00][sql] SELECT `name` FROM `lm_user` WHERE  `id` = 2 LIMIT 1 [ RunTime:0.126494s ]
+[2020-06-08T18:00:35+08:00][sql] CONNECT:[ UseTime:0.182554s ] mysql:host=120.78.128.100;port=3306;dbname=test;charset=utf8
+[2020-06-08T18:00:35+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.122256s ]
+[2020-06-08T18:00:35+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.123707s ]
+[2020-06-08T18:00:35+08:00][sql] SELECT * FROM `lm_auth_rule` WHERE  `href` = 'Order/push' LIMIT 1 [ RunTime:0.123586s ]
+[2020-06-08T18:00:35+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin_log` [ RunTime:0.123526s ]
+[2020-06-08T18:00:35+08:00][sql] INSERT INTO `lm_admin_log` SET `log_title` = '持有订单列表' , `log_content` = '点击菜单' , `log_url` = '/admin/order/push.html' , `admin_id` = 1 , `username` = 'admin' , `log_agent` = 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36' , `log_ip` = '127.0.0.1' , `create_time` = 1591610434 , `update_time` = 1591610434 [ RunTime:0.121430s ]
+[2020-06-08T18:00:36+08:00][sql] CONNECT:[ UseTime:0.187271s ] mysql:host=120.78.128.100;port=3306;dbname=test;charset=utf8
+[2020-06-08T18:00:36+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.130264s ]
+[2020-06-08T18:00:36+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.125339s ]
+[2020-06-08T18:00:36+08:00][sql] SELECT * FROM `lm_auth_rule` WHERE  `href` = 'Order/push' LIMIT 1 [ RunTime:0.124279s ]
+[2020-06-08T18:00:36+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin_log` [ RunTime:0.125782s ]
+[2020-06-08T18:00:36+08:00][sql] INSERT INTO `lm_admin_log` SET `log_title` = '持有订单列表' , `log_content` = '点击菜单' , `log_url` = '/admin/order/push.html' , `admin_id` = 1 , `username` = 'admin' , `log_agent` = 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36' , `log_ip` = '127.0.0.1' , `create_time` = 1591610435 , `update_time` = 1591610435 [ RunTime:0.123955s ]
+[2020-06-08T18:00:37+08:00][sql] CONNECT:[ UseTime:0.181034s ] mysql:host=120.78.128.100;port=3306;dbname=test;charset=utf8
+[2020-06-08T18:00:37+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.122401s ]
+[2020-06-08T18:00:37+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.121097s ]
+[2020-06-08T18:00:37+08:00][sql] SHOW FULL COLUMNS FROM `lm_order` [ RunTime:0.121356s ]
+[2020-06-08T18:00:37+08:00][sql] SELECT COUNT(*) AS think_count FROM `lm_order` WHERE  `status` > 0 [ RunTime:0.120574s ]
+[2020-06-08T18:00:37+08:00][sql] SELECT * FROM `lm_order` WHERE  `status` > 0 ORDER BY `id` DESC LIMIT 0,15 [ RunTime:0.121855s ]
+[2020-06-08T18:00:37+08:00][sql] SHOW FULL COLUMNS FROM `lm_user` [ RunTime:0.122053s ]
+[2020-06-08T18:00:37+08:00][sql] SELECT `name` FROM `lm_user` WHERE  `id` = 2 LIMIT 1 [ RunTime:0.120485s ]
+[2020-06-08T18:00:37+08:00][sql] SELECT `name` FROM `lm_user` WHERE  `id` = 2 LIMIT 1 [ RunTime:0.119577s ]
+[2020-06-08T18:00:46+08:00][sql] CONNECT:[ UseTime:0.182117s ] mysql:host=120.78.128.100;port=3306;dbname=test;charset=utf8
+[2020-06-08T18:00:46+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.121995s ]
+[2020-06-08T18:00:46+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.122276s ]
+[2020-06-08T18:00:46+08:00][sql] SELECT * FROM `lm_auth_rule` WHERE  `href` = 'Order/buy' LIMIT 1 [ RunTime:0.122951s ]
+[2020-06-08T18:00:46+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin_log` [ RunTime:0.140718s ]
+[2020-06-08T18:00:46+08:00][sql] INSERT INTO `lm_admin_log` SET `log_title` = '求购订单列表' , `log_content` = '点击菜单' , `log_url` = '/admin/order/buy.html' , `admin_id` = 1 , `username` = 'admin' , `log_agent` = 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36' , `log_ip` = '127.0.0.1' , `create_time` = 1591610445 , `update_time` = 1591610445 [ RunTime:0.121344s ]
+[2020-06-08T18:01:03+08:00][sql] CONNECT:[ UseTime:0.190455s ] mysql:host=120.78.128.100;port=3306;dbname=test;charset=utf8
+[2020-06-08T18:01:03+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.127300s ]
+[2020-06-08T18:01:03+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.126167s ]
+[2020-06-08T18:01:03+08:00][sql] SELECT * FROM `lm_auth_rule` WHERE  `href` = 'Order/buy' LIMIT 1 [ RunTime:0.126569s ]
+[2020-06-08T18:01:03+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin_log` [ RunTime:0.127082s ]
+[2020-06-08T18:01:03+08:00][sql] INSERT INTO `lm_admin_log` SET `log_title` = '求购订单列表' , `log_content` = '点击菜单' , `log_url` = '/admin/order/buy.html' , `admin_id` = 1 , `username` = 'admin' , `log_agent` = 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36' , `log_ip` = '127.0.0.1' , `create_time` = 1591610463 , `update_time` = 1591610463 [ RunTime:0.127050s ]
+[2020-06-08T18:01:05+08:00][sql] CONNECT:[ UseTime:0.183565s ] mysql:host=120.78.128.100;port=3306;dbname=test;charset=utf8
+[2020-06-08T18:01:05+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.122843s ]
+[2020-06-08T18:01:05+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.121903s ]
+[2020-06-08T18:01:05+08:00][sql] SHOW FULL COLUMNS FROM `lm_order` [ RunTime:0.122923s ]
+[2020-06-08T18:01:05+08:00][sql] SELECT COUNT(*) AS think_count FROM `lm_order` WHERE  `status` = 0 [ RunTime:0.121322s ]
+[2020-06-08T18:01:05+08:00][sql] SELECT * FROM `lm_order` WHERE  `status` = 0 ORDER BY `id` DESC LIMIT 0,15 [ RunTime:0.121673s ]
+[2020-06-08T18:01:05+08:00][sql] SHOW FULL COLUMNS FROM `lm_user` [ RunTime:0.138649s ]
+[2020-06-08T18:01:05+08:00][sql] SELECT `name` FROM `lm_user` WHERE  `id` = 2 LIMIT 1 [ RunTime:0.122471s ]
+[2020-06-08T18:01:05+08:00][sql] SELECT `name` FROM `lm_user` WHERE  `id` = 2 LIMIT 1 [ RunTime:0.122259s ]

+ 174 - 0
php/runtime/admin/temp/492b7ed1ae4d47eebdacd95ef84c73a4.php

@@ -0,0 +1,174 @@
+<?php /*a:3:{s:58:"D:\phpstudy_pro\WWW\cxy\bts\php\view\admin\order\push.html";i:1591579556;s:61:"D:\phpstudy_pro\WWW\cxy\bts\php\view\admin\common\header.html";i:1591579556;s:61:"D:\phpstudy_pro\WWW\cxy\bts\php\view\admin\common\footer.html";i:1591579556;}*/ ?>
+<!DOCTYPE html>
+<html>
+<head>
+    <meta charset="utf-8">
+    <title><?php echo config('admin.sys_name'); ?>后台管理</title>
+    <meta name="renderer" content="webkit">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
+    <meta name="apple-mobile-web-app-status-bar-style" content="black">
+    <meta name="apple-mobile-web-app-capable" content="yes">
+    <meta name="format-detection" content="telephone=no">
+    <link rel="stylesheet" href="/static/plugins/layui/css/layui.css" media="all" />
+    <link rel="stylesheet" href="/static/admin/css/main.css?v=<?php echo time(); ?>" media="all">
+    <link rel="stylesheet" href="/static/plugins/font-awesome-4.7.0/css/font-awesome.min.css" media="all">
+
+    <style id="LM-bg-color">
+    </style>
+
+</head>
+<style>
+    .upload-wrap {
+        position: relative;
+        display: inline-block;
+        overflow: hidden;
+        border: 1px solid #2d78f4;
+        border-radius: 3px;
+    }
+
+    .upload-wrap .file-ele {
+        position: absolute;
+        top: 0;
+        right: 0;
+        opacity: 0;
+        height: 100%;
+        width: 100%;
+        cursor: pointer;
+
+    }
+
+    .upload-wrap .file-open {
+        width: 90px;
+        height: 30px;
+        line-height: 30px;
+        text-align: center;
+        color: #fff;
+        background: #3385ff;
+    }
+
+</style>
+<div class="LM-container">
+    <div class="LM-main">
+        <fieldset class="layui-elem-field layui-field-title">
+            <legend>交易订单列表</legend>
+            <blockquote class="layui-elem-quote">
+                <div class="LM-table">
+
+                </div>
+
+            </blockquote>
+
+        </fieldset>
+
+        <table class="layui-table" id="list" lay-filter="list">
+
+        </table>
+    </div>
+</div>
+
+<script type="text/html" id="image">
+
+    {{# layui.each(d.image, function(index, item){ }}
+    <img src="/static/admin/images/image.gif"   onmouseover="layer.tips('<img src={{item}}>',this,{tips: [1, '#fff']});" onmouseout="layer.closeAll();">
+    {{# });
+    }}
+</script>
+<script type="text/html" id="barDemo">
+<!--    <input type="button" class="layui-btn layui-btn-xs" lay-event="del" value="删除">-->
+    <!--<a href="addhlep?id={{d.id}}" class="layui-btn layui-btn-xs" >编辑</a>-->
+</script>
+<script src="/static/plugins/layui/layui.js" charset="utf-8"></script>
+<script src="/static/plugins/jquery-3.4.1/jquery-3.4.1.min.js"></script>
+<script src="/static/plugins/jquery-3.4.1/jquery-3.4.1.min.js"></script>
+<script>
+
+    layui.use(['form', 'table'], function () {
+        var $ = layui.jquery,
+            form = layui.form,
+            table = layui.table;
+
+        var tableIn = table.render({
+            elem: '#list',
+            url: '<?php echo url("push"); ?>',
+            method: 'post',
+            title: '反馈意见',
+            loading: true,
+            toolbar: '#toolbar', //开启头部工具栏,并为其绑定左侧模板
+
+            defaultToolbar: ['filter', 'exports', 'print', "excel", { //自定义头部工具栏右侧图标。如无需自定义,去除该参数即可
+                title: '提示'
+                , layEvent: 'LAYTABLE_TIPS'
+                , icon: 'layui-icon-tips'
+            }],
+            cols: [[
+                // {checkbox: true, fixed: true},
+                {field: 'id', title: 'ID', width: 20, fixed: true, sort: true},
+                {field: 'buy_user', title: '购买用户id', width: 80, sort: true},
+                {field: 'push_user', title: '卖出用户id', width: 80, sort: true},
+                // {field: 'user_name', title: '用户', width: 120, sort: true},
+                {field: 'number', title: '发布数量', width: 80, sort: true},
+                {field: 'enlarge_quota', title: '放大额度', width: 80, sort: true},
+                {field: 'order', title: '订单编号', width: 100, sort: true},
+                {field: 'add_time', title: '添加时间', width: 150, sort: true},
+                {field: 'stat_time', title: '未支付结束时间', width: 150, sort: true},
+                {field: 'end_time', title: '完成时间', width: 150, sort: true},
+                {field: 'msg', title: '失败原因', width: 150, sort: true},
+                {field: 'image', title: '凭证', width: 150, templet: '#image'},
+                {field: 'status', title: '订单状态', width: 150, sort: true},
+                {title: '操作', width: 150, align: "center", toolbar: "#barDemo"},
+            ]],
+            limits: [10, 15, 20, 25, 50, 100],
+            limit: 10,
+            page: true
+        });
+
+
+        table.on('tool(list)', function (obj) {
+            var data = obj.data;
+            let event = obj.event;
+            switch (event) {
+                case "check":
+                    layer.confirm('确定要进行这样的操作码', function (index) {
+                        loading = layer.load(1, {shade: [0.1, '#fff']});
+                        $.post("<?php echo url('status'); ?>", {id: data.id}, function (res) {
+                            layer.close(loading);
+                            layer.close(index);
+                            if (res.code == 1) {
+                                layer.msg(res.msg, {time: 1000, icon: 1});
+                                tableIn.reload();
+                            } else {
+                                layer.msg(res.msg, {time: 1000, icon: 2});
+                            }
+                        }, "json")
+                    })
+                    break;
+            }
+
+
+        });
+
+        form.on('switch(status)', function (data) {
+
+        });
+
+        $('#search').click(function () {
+            var $keys = $('#name').val();
+            if (!$keys) {
+                return layer.msg('请输入关键词');
+            }
+
+            tableIn.reload({page: {page: 1}, where: {name: $keys}});
+
+        })
+        // setInterval(function () {
+        //     tableIn.reload();
+        // }, 50000)
+
+
+
+
+
+    });
+
+</script>

+ 238 - 0
php/runtime/admin/temp/88cc7e8c07ffdf66aede76b686cf99a2.php

@@ -0,0 +1,238 @@
+<?php /*a:3:{s:66:"D:\phpstudy_pro\WWW\cxy\bts\php\view\admin\contents\adminuser.html";i:1591610397;s:61:"D:\phpstudy_pro\WWW\cxy\bts\php\view\admin\common\header.html";i:1591579556;s:61:"D:\phpstudy_pro\WWW\cxy\bts\php\view\admin\common\footer.html";i:1591579556;}*/ ?>
+<!DOCTYPE html>
+<html>
+<head>
+    <meta charset="utf-8">
+    <title><?php echo config('admin.sys_name'); ?>后台管理</title>
+    <meta name="renderer" content="webkit">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
+    <meta name="apple-mobile-web-app-status-bar-style" content="black">
+    <meta name="apple-mobile-web-app-capable" content="yes">
+    <meta name="format-detection" content="telephone=no">
+    <link rel="stylesheet" href="/static/plugins/layui/css/layui.css" media="all" />
+    <link rel="stylesheet" href="/static/admin/css/main.css?v=<?php echo time(); ?>" media="all">
+    <link rel="stylesheet" href="/static/plugins/font-awesome-4.7.0/css/font-awesome.min.css" media="all">
+
+    <style id="LM-bg-color">
+    </style>
+
+</head>
+
+<style>
+    .yourclass {
+        display: block;
+    }
+
+    .canel {
+        display: none;
+    }
+</style>
+<div class="LM-container">
+    <div class="LM-main">
+        <fieldset class="layui-elem-field layui-field-title">
+            <legend>后台账号列表</legend>
+            <blockquote class="layui-elem-quote">
+                <div class="LM-table">
+                    <div class="layui-inline">
+                        <input type="text" id='keys' name="keys" lay-verify="required"
+                               placeholder="<?php echo lang('pleaseEnter'); ?>" autocomplete="off" class="layui-input">
+                    </div>
+                    <a href="javascript:;" class="layui-btn data-add-btn layui-btn-sm" lay-submit="" lay-filter="add"
+                       id="search">
+                        <?php echo lang('search'); ?>
+                    </a>
+
+                    <div class="layui-inline">
+                        <input type="text" id='name' name="name" lay-verify="required"
+                               placeholder="账号呢称" autocomplete="off" class="layui-input">
+                    </div>
+                    <a href="javascript:;" class="layui-btn data-add-btn layui-btn-sm" lay-submit="" lay-filter="add"
+                       id="addUser">添加用户
+                    </a>
+                </div>
+
+            </blockquote>
+
+        </fieldset>
+
+        <table class="layui-table" id="list" lay-filter="list"></table>
+    </div>
+</div>
+
+<script type="text/html" id="action">
+    <!--<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="vip_level">设置会员等级</a>-->
+    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除账号</a>
+    <a    class="layui-btn  layui-btn-xs" lay-event="update_pwd">重置密码</a>
+    <a   href="<?php echo url('showuser'); ?>?user_id={{d.id}}"  class="layui-btn  layui-btn-xs" >查看收款信息</a>
+</script>
+<script type="text/html" id="status">
+    <input type="checkbox" name="status" value="{{d.id}}" lay-skin="switch" lay-text="正常|禁止" lay-filter="status" {{ d.status== 0 ? 'checked' : '' }}>
+</script>
+
+<script type="text/html" id="daili">
+    <input type="checkbox" name="is_admin" value="{{d.id}}" lay-skin="switch" lay-text="是|否" lay-filter="is_admin" {{ d.is_admin== 1 ? 'checked' : '' }}>
+</script>
+
+<script type="text/html" id="avatar">
+    {{d.image}}<img src="/static/admin/images/image.gif"
+                    onmouseover="layer.tips('<img src={{d.image}}>',this,{tips: [1, '#fff']});"
+                    onmouseout="layer.closeAll();">
+</script>
+
+
+
+<script src="/static/plugins/layui/layui.js" charset="utf-8"></script>
+<script src="/static/plugins/jquery-3.4.1/jquery-3.4.1.min.js"></script>
+<script>
+
+    layui.use(['form', 'table'], function () {
+        var $ = layui.jquery,
+            form = layui.form,
+            table = layui.table;
+
+        var tableIn = table.render({
+            elem: '#list',
+            url: '<?php echo url("adminuser"); ?>',
+            method: 'post',
+            title: '用户数据表',
+            // toolbar: '#toolbar', //开启头部工具栏,并为其绑定左侧模板
+
+            defaultToolbar: ['filter', 'exports', 'print', { //自定义头部工具栏右侧图标。如无需自定义,去除该参数即可
+                title: '提示'
+                , layEvent: 'LAYTABLE_TIPS'
+                , icon: 'layui-icon-tips'
+            }],
+            cols: [[
+                // {checkbox: true, fixed: true},
+                {field: 'id', title: 'ID', width: 80, sort: true},
+                {field: 'name', title: '名字', width: 120,edit:"text"},
+                {field: 'mail', title: '邮箱', width: 120,edit:"text"},
+                {field: 'phone', title: '手机', width: 120,edit:"text"},
+                {field: 'status', title: '状态', width: 180, templet: '#status'},
+                {field: 'money', title: '通证余额', width: 180,edit:"text"},
+                {field: 'ensure_money', title: '保证金', width: 180,edit:"text"},
+                {field: 'push_money', title: '可售额度', width: 180,edit:"text"},
+                {field: 'pool_money', title: '矿池矿金', width: 180,edit:"text"},
+                {title: '操作', width: 300, toolbar: '#action', align: "center"},
+            ]],
+            limits: [10, 15, 20, 25, 50, 100],
+            limit: 15,
+            page: true
+        });
+
+//监听单元格编辑
+        table.on('edit(list)', function(obj){
+            var value = obj.value //得到修改后的值
+                ,data = obj.data //得到所在行所有键值
+                ,field = obj.field; //得到字段
+            let da={
+                id:data.id,
+                field:field,
+                value:value
+            }
+            $.post("<?php echo url('update_user_admin'); ?>", da, function (res) {
+                if (res.code ==200) {
+                    layer.msg(res.msg, {time: 1000, icon: 1});
+                } else {
+                    tableIn.reload()
+                    layer.msg(res.msg, {time: 1000, icon: 2});
+                }
+            },"json");
+        });
+
+        table.on('tool(list)', function (obj) {
+            var data = obj.data;
+            if (obj.event === 'del') {
+                layer.confirm('您确定要删除该账号吗', function (index) {
+                    loading = layer.load(1, {shade: [0.1, '#fff']});
+                    $.post("<?php echo url('delete_user'); ?>", {id: data.id}, function (res) {
+                        layer.close(loading);
+                        layer.close(index);
+                        if (res.code ==200) {
+                            layer.msg(res.msg, {time: 1000, icon: 1});
+                            obj.del();
+                        } else {
+                            layer.msg(res.msg, {time: 1000, icon: 2});
+                        }
+                    },"json");
+                });
+            }
+            if (obj.event === 'update_pwd') {
+                layer.prompt({title: '请填写新密码', formType: 3}, function(text, index){
+                    layer.close(index);
+                    if (!text){
+                        layer.msg("请填写新密码", {time: 1000, icon: 1});
+                        return ;
+                    }
+                    let datas={
+                        id:data.id,
+                        pwd:text
+                    }
+                    loading = layer.load(1, {shade: [0.1, '#fff']});
+                    $.post("<?php echo url('update_pwd'); ?>", datas, function (res) {
+                        layer.close(loading);
+                        if (res.code ==200) {
+                            layer.msg(res.msg, {time: 1000, icon: 1});
+                            // obj.del();
+                        } else {
+                            layer.msg(res.msg, {time: 1000, icon: 2});
+                        }
+                    },"json");
+
+                });
+
+            }
+
+
+
+        });
+
+        form.on('switch(status)', function (data) {
+            // 修改状态
+            loading = layer.load(1, {shade: [0.1, '#fff']});
+            $.post("<?php echo url('fenhao'); ?>", {id: data.value}, function (res) {
+                layer.close(loading);
+                if (res.code == 200) {
+                    layer.msg(res.msg, {time: 1000, icon: 1});
+                } else {
+                    layer.msg(res.msg, {time: 1000, icon: 2});
+                }
+            }, "json");
+        });
+
+
+        $('#search').click(function () {
+            var $keys = $('#keys').val();
+            if (!$keys) {
+                return layer.msg('请输入关键词');
+            }
+
+            tableIn.reload({page: {page: 1}, where: {keys: $keys}});
+
+        })
+
+        // 添加账号
+        $("#addUser").click(function () {
+            let name=$("#name").val()
+            if (!name){
+                return layer.msg('请输入呢称');
+            }
+            let data={
+                name:name
+            }
+            loading = layer.load(1, {shade: [0.1, '#fff']});
+            $.post("<?php echo url('add_admin_user'); ?>", data, function (res) {
+                layer.close(loading);
+                if (res.code == 200) {
+                    layer.msg(res.msg, {time: 1000, icon: 1});
+                    tableIn.reload()
+                } else {
+                    layer.msg(res.msg, {time: 1000, icon: 2});
+                }
+            }, "json");
+        })
+    });
+
+
+</script>

+ 162 - 0
php/runtime/admin/temp/fd3382e0c1e6539206f1c35861056032.php

@@ -0,0 +1,162 @@
+<?php /*a:3:{s:57:"D:\phpstudy_pro\WWW\cxy\bts\php\view\admin\order\buy.html";i:1591579556;s:61:"D:\phpstudy_pro\WWW\cxy\bts\php\view\admin\common\header.html";i:1591579556;s:61:"D:\phpstudy_pro\WWW\cxy\bts\php\view\admin\common\footer.html";i:1591579556;}*/ ?>
+<!DOCTYPE html>
+<html>
+<head>
+    <meta charset="utf-8">
+    <title><?php echo config('admin.sys_name'); ?>后台管理</title>
+    <meta name="renderer" content="webkit">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
+    <meta name="apple-mobile-web-app-status-bar-style" content="black">
+    <meta name="apple-mobile-web-app-capable" content="yes">
+    <meta name="format-detection" content="telephone=no">
+    <link rel="stylesheet" href="/static/plugins/layui/css/layui.css" media="all" />
+    <link rel="stylesheet" href="/static/admin/css/main.css?v=<?php echo time(); ?>" media="all">
+    <link rel="stylesheet" href="/static/plugins/font-awesome-4.7.0/css/font-awesome.min.css" media="all">
+
+    <style id="LM-bg-color">
+    </style>
+
+</head>
+<style>
+    .upload-wrap {
+        position: relative;
+        display: inline-block;
+        overflow: hidden;
+        border: 1px solid #2d78f4;
+        border-radius: 3px;
+    }
+
+    .upload-wrap .file-ele {
+        position: absolute;
+        top: 0;
+        right: 0;
+        opacity: 0;
+        height: 100%;
+        width: 100%;
+        cursor: pointer;
+
+    }
+
+    .upload-wrap .file-open {
+        width: 90px;
+        height: 30px;
+        line-height: 30px;
+        text-align: center;
+        color: #fff;
+        background: #3385ff;
+    }
+
+</style>
+<div class="LM-container">
+    <div class="LM-main">
+        <fieldset class="layui-elem-field layui-field-title">
+            <legend>求购订单列表</legend>
+            <blockquote class="layui-elem-quote">
+                <div class="LM-table">
+
+                </div>
+
+            </blockquote>
+
+        </fieldset>
+
+        <table class="layui-table" id="list" lay-filter="list">
+
+        </table>
+    </div>
+</div>
+<script type="text/html" id="barDemo">
+<!--    <input type="button" class="layui-btn layui-btn-xs" lay-event="del" value="删除">-->
+    <!--<a href="addhlep?id={{d.id}}" class="layui-btn layui-btn-xs" >编辑</a>-->
+</script>
+<script src="/static/plugins/layui/layui.js" charset="utf-8"></script>
+<script src="/static/plugins/jquery-3.4.1/jquery-3.4.1.min.js"></script>
+<script src="/static/plugins/jquery-3.4.1/jquery-3.4.1.min.js"></script>
+<script>
+
+    layui.use(['form', 'table'], function () {
+        var $ = layui.jquery,
+            form = layui.form,
+            table = layui.table;
+
+        var tableIn = table.render({
+            elem: '#list',
+            url: '<?php echo url("buy"); ?>',
+            method: 'post',
+            title: '反馈意见',
+            loading: true,
+            toolbar: '#toolbar', //开启头部工具栏,并为其绑定左侧模板
+
+            defaultToolbar: ['filter', 'exports', 'print', "excel", { //自定义头部工具栏右侧图标。如无需自定义,去除该参数即可
+                title: '提示'
+                , layEvent: 'LAYTABLE_TIPS'
+                , icon: 'layui-icon-tips'
+            }],
+            cols: [[
+                // {checkbox: true, fixed: true},
+                {field: 'id', title: 'ID', width: 80, fixed: true, sort: true},
+                {field: 'buy_user', title: '购买用户id', width: 120, sort: true},
+
+                {field: 'user_name', title: '用户', width: 120, sort: true},
+                {field: 'number', title: '发布数量', width: 120, sort: true},
+                {field: 'enlarge_quota', title: '放大额度', width: 120, sort: true},
+                {field: 'order', title: '订单编号', width: 120, sort: true},
+                {field: 'add_time', title: '添加时间', width: 120, sort: true},
+                {field: 'status', title: '订单状态', width: 120, sort: true},
+                {title: '操作', width: 150, align: "center", toolbar: "#barDemo"},
+            ]],
+            limits: [10, 15, 20, 25, 50, 100],
+            limit: 10,
+            page: true
+        });
+
+
+        table.on('tool(list)', function (obj) {
+            var data = obj.data;
+            let event = obj.event;
+            switch (event) {
+                case "check":
+                    layer.confirm('确定要进行这样的操作码', function (index) {
+                        loading = layer.load(1, {shade: [0.1, '#fff']});
+                        $.post("<?php echo url('status'); ?>", {id: data.id}, function (res) {
+                            layer.close(loading);
+                            layer.close(index);
+                            if (res.code == 1) {
+                                layer.msg(res.msg, {time: 1000, icon: 1});
+                                tableIn.reload();
+                            } else {
+                                layer.msg(res.msg, {time: 1000, icon: 2});
+                            }
+                        }, "json")
+                    })
+                    break;
+            }
+
+
+        });
+
+        form.on('switch(status)', function (data) {
+
+        });
+
+        $('#search').click(function () {
+            var $keys = $('#name').val();
+            if (!$keys) {
+                return layer.msg('请输入关键词');
+            }
+
+            tableIn.reload({page: {page: 1}, where: {name: $keys}});
+
+        })
+        // setInterval(function () {
+        //     tableIn.reload();
+        // }, 50000)
+
+
+
+
+
+    });
+
+</script>

BIN
php/runtime/session/sess_704f72601738fb3cc6160a8139fa9ef3


+ 218 - 0
php/view/admin/contents/adminuser.html

@@ -0,0 +1,218 @@
+{include file="common/header"/}
+
+<style>
+    .yourclass {
+        display: block;
+    }
+
+    .canel {
+        display: none;
+    }
+</style>
+<div class="LM-container">
+    <div class="LM-main">
+        <fieldset class="layui-elem-field layui-field-title">
+            <legend>后台账号列表</legend>
+            <blockquote class="layui-elem-quote">
+                <div class="LM-table">
+                    <div class="layui-inline">
+                        <input type="text" id='keys' name="keys" lay-verify="required"
+                               placeholder="{:lang('pleaseEnter')}" autocomplete="off" class="layui-input">
+                    </div>
+                    <a href="javascript:;" class="layui-btn data-add-btn layui-btn-sm" lay-submit="" lay-filter="add"
+                       id="search">
+                        {:lang('search')}
+                    </a>
+
+                    <div class="layui-inline">
+                        <input type="text" id='name' name="name" lay-verify="required"
+                               placeholder="账号呢称" autocomplete="off" class="layui-input">
+                    </div>
+                    <a href="javascript:;" class="layui-btn data-add-btn layui-btn-sm" lay-submit="" lay-filter="add"
+                       id="addUser">添加用户
+                    </a>
+                </div>
+
+            </blockquote>
+
+        </fieldset>
+
+        <table class="layui-table" id="list" lay-filter="list"></table>
+    </div>
+</div>
+
+<script type="text/html" id="action">
+    <!--<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="vip_level">设置会员等级</a>-->
+    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除账号</a>
+    <a    class="layui-btn  layui-btn-xs" lay-event="update_pwd">重置密码</a>
+    <a   href="{:url('showuser')}?user_id={{d.id}}"  class="layui-btn  layui-btn-xs" >查看收款信息</a>
+</script>
+<script type="text/html" id="status">
+    <input type="checkbox" name="status" value="{{d.id}}" lay-skin="switch" lay-text="正常|禁止" lay-filter="status" {{ d.status== 0 ? 'checked' : '' }}>
+</script>
+
+<script type="text/html" id="daili">
+    <input type="checkbox" name="is_admin" value="{{d.id}}" lay-skin="switch" lay-text="是|否" lay-filter="is_admin" {{ d.is_admin== 1 ? 'checked' : '' }}>
+</script>
+
+<script type="text/html" id="avatar">
+    {{d.image}}<img src="/static/admin/images/image.gif"
+                    onmouseover="layer.tips('<img src={{d.image}}>',this,{tips: [1, '#fff']});"
+                    onmouseout="layer.closeAll();">
+</script>
+
+
+
+{include file="common/footer"/}
+<script>
+
+    layui.use(['form', 'table'], function () {
+        var $ = layui.jquery,
+            form = layui.form,
+            table = layui.table;
+
+        var tableIn = table.render({
+            elem: '#list',
+            url: '{:url("adminuser")}',
+            method: 'post',
+            title: '用户数据表',
+            // toolbar: '#toolbar', //开启头部工具栏,并为其绑定左侧模板
+
+            defaultToolbar: ['filter', 'exports', 'print', { //自定义头部工具栏右侧图标。如无需自定义,去除该参数即可
+                title: '提示'
+                , layEvent: 'LAYTABLE_TIPS'
+                , icon: 'layui-icon-tips'
+            }],
+            cols: [[
+                // {checkbox: true, fixed: true},
+                {field: 'id', title: 'ID', width: 80, sort: true},
+                {field: 'name', title: '名字', width: 120,edit:"text"},
+                {field: 'mail', title: '邮箱', width: 120,edit:"text"},
+                {field: 'phone', title: '手机', width: 120,edit:"text"},
+                {field: 'status', title: '状态', width: 180, templet: '#status'},
+                {field: 'money', title: '通证余额', width: 180,edit:"text"},
+                {field: 'ensure_money', title: '保证金', width: 180,edit:"text"},
+                {field: 'push_money', title: '可售额度', width: 180,edit:"text"},
+                {field: 'pool_money', title: '矿池矿金', width: 180,edit:"text"},
+                {title: '操作', width: 300, toolbar: '#action', align: "center"},
+            ]],
+            limits: [10, 15, 20, 25, 50, 100],
+            limit: 15,
+            page: true
+        });
+
+//监听单元格编辑
+        table.on('edit(list)', function(obj){
+            var value = obj.value //得到修改后的值
+                ,data = obj.data //得到所在行所有键值
+                ,field = obj.field; //得到字段
+            let da={
+                id:data.id,
+                field:field,
+                value:value
+            }
+            $.post("{:url('update_user_admin')}", da, function (res) {
+                if (res.code ==200) {
+                    layer.msg(res.msg, {time: 1000, icon: 1});
+                } else {
+                    tableIn.reload()
+                    layer.msg(res.msg, {time: 1000, icon: 2});
+                }
+            },"json");
+        });
+
+        table.on('tool(list)', function (obj) {
+            var data = obj.data;
+            if (obj.event === 'del') {
+                layer.confirm('您确定要删除该账号吗', function (index) {
+                    loading = layer.load(1, {shade: [0.1, '#fff']});
+                    $.post("{:url('delete_user')}", {id: data.id}, function (res) {
+                        layer.close(loading);
+                        layer.close(index);
+                        if (res.code ==200) {
+                            layer.msg(res.msg, {time: 1000, icon: 1});
+                            obj.del();
+                        } else {
+                            layer.msg(res.msg, {time: 1000, icon: 2});
+                        }
+                    },"json");
+                });
+            }
+            if (obj.event === 'update_pwd') {
+                layer.prompt({title: '请填写新密码', formType: 3}, function(text, index){
+                    layer.close(index);
+                    if (!text){
+                        layer.msg("请填写新密码", {time: 1000, icon: 1});
+                        return ;
+                    }
+                    let datas={
+                        id:data.id,
+                        pwd:text
+                    }
+                    loading = layer.load(1, {shade: [0.1, '#fff']});
+                    $.post("{:url('update_pwd')}", datas, function (res) {
+                        layer.close(loading);
+                        if (res.code ==200) {
+                            layer.msg(res.msg, {time: 1000, icon: 1});
+                            // obj.del();
+                        } else {
+                            layer.msg(res.msg, {time: 1000, icon: 2});
+                        }
+                    },"json");
+
+                });
+
+            }
+
+
+
+        });
+
+        form.on('switch(status)', function (data) {
+            // 修改状态
+            loading = layer.load(1, {shade: [0.1, '#fff']});
+            $.post("{:url('fenhao')}", {id: data.value}, function (res) {
+                layer.close(loading);
+                if (res.code == 200) {
+                    layer.msg(res.msg, {time: 1000, icon: 1});
+                } else {
+                    layer.msg(res.msg, {time: 1000, icon: 2});
+                }
+            }, "json");
+        });
+
+
+        $('#search').click(function () {
+            var $keys = $('#keys').val();
+            if (!$keys) {
+                return layer.msg('请输入关键词');
+            }
+
+            tableIn.reload({page: {page: 1}, where: {keys: $keys}});
+
+        })
+
+        // 添加账号
+        $("#addUser").click(function () {
+            let name=$("#name").val()
+            if (!name){
+                return layer.msg('请输入呢称');
+            }
+            let data={
+                name:name
+            }
+            loading = layer.load(1, {shade: [0.1, '#fff']});
+            $.post("{:url('add_admin_user')}", data, function (res) {
+                layer.close(loading);
+                if (res.code == 200) {
+                    layer.msg(res.msg, {time: 1000, icon: 1});
+                    tableIn.reload()
+                } else {
+                    layer.msg(res.msg, {time: 1000, icon: 2});
+                }
+            }, "json");
+        })
+    });
+
+
+</script>

+ 94 - 0
php/view/admin/contents/opens.html

@@ -0,0 +1,94 @@
+{include file="common/header"/}
+<div class="LM-container">
+    <div class="LM-main">
+        <fieldset class="layui-elem-field layui-field-title">
+
+        </fieldset>
+        <form class="layui-form layui-form-pane" lay-filter="form">
+            <!--<input type="hidden" name="id" id="id">-->
+
+            <div class="layui-form-item">
+                <label class="layui-form-label">开关-默认关</label>
+                <div class="layui-input-block">
+                    <input type="checkbox" name="open" lay-skin="switch" lay-text="ON|OFF">
+                </div>
+            </div>
+
+
+            <div class="layui-form-item">
+                <label class="layui-form-label">开盘时间</label>
+                <div class="layui-input-inline">
+                    <input type="number" name="open_start" lay-verify="required" class="layui-input">
+                </div>
+                <div class="layui-form-mid layui-word-aux">
+                    时间格式 如下午2点  写成14
+                </div>
+            </div>
+
+            <div class="layui-form-item">
+                <label class="layui-form-label">闭盘时间</label>
+                <div class="layui-input-inline">
+                    <input type="number" name="open_end" lay-verify="required" class="layui-input">
+                </div>
+                <div class="layui-form-mid layui-word-aux">
+                    时间格式 如下午2点  写成14
+                </div>
+            </div>
+
+
+
+            <div class="layui-form-item">
+                <div class="layui-input-inline">
+                    <button type="button" class="layui-btn" lay-submit="" lay-filter="submit">{:lang('submit')}</button>
+                    <!--<a href="{:url('hlep')}" class="layui-btn layui-btn-primary">{:lang('back')}</a>-->
+                </div>
+            </div>
+        </form>
+    </div>
+</div>
+
+{include file="common/footer"/}
+
+<script>
+    layui.use(['form', 'layer','upload','laydate'], function () {
+        var form = layui.form, laydate=layui.laydate,layer = layui.layer,$= layui.jquery,upload = layui.upload ;
+        var info = '';
+        var config = {$config|raw};
+
+        console.log("config",config)
+        //日期范围
+        laydate.render({
+            elem: '#date'
+            ,range: true
+        });
+
+        form.val("form", config);
+            console.log("config",config["open"])
+        if (config["open"]==1){
+            $("#open").attr("checked",true)
+        }else {
+            $("#open").removeAttr("checked")
+        }
+
+
+        form.render();
+        form.on('submit(submit)', function (data) {
+            console.log("data",data.field)
+
+            loading =layer.load(1, {shade: [0.1,'#fff']});
+            $.post("", data.field, function (res) {
+                layer.close(loading);
+                if (res.code== 200) {
+                    layer.msg(res.msg, {time: 1800, icon: 1}, function () {
+                        // location.href = res.url;
+                        // location.href = res.url;
+                    });
+                } else {
+                    layer.msg(res.msg, {time: 1800, icon: 2});
+                }
+            },"json");
+
+        });
+
+    });
+</script>

+ 11 - 31
php/runtime/admin/temp/8cf06704c557cf682440809f194660c0.php

@@ -1,28 +1,9 @@
-<?php /*a:3:{s:70:"D:\phpstudy_pro\WWW\cxy\bts\php\view\admin\usermanage\usermessage.html";i:1591602273;s:61:"D:\phpstudy_pro\WWW\cxy\bts\php\view\admin\common\header.html";i:1591579556;s:61:"D:\phpstudy_pro\WWW\cxy\bts\php\view\admin\common\footer.html";i:1591579556;}*/ ?>
-<!DOCTYPE html>
-<html>
-<head>
-    <meta charset="utf-8">
-    <title><?php echo config('admin.sys_name'); ?>后台管理</title>
-    <meta name="renderer" content="webkit">
-    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
-    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
-    <meta name="apple-mobile-web-app-status-bar-style" content="black">
-    <meta name="apple-mobile-web-app-capable" content="yes">
-    <meta name="format-detection" content="telephone=no">
-    <link rel="stylesheet" href="/static/plugins/layui/css/layui.css" media="all" />
-    <link rel="stylesheet" href="/static/admin/css/main.css?v=<?php echo time(); ?>" media="all">
-    <link rel="stylesheet" href="/static/plugins/font-awesome-4.7.0/css/font-awesome.min.css" media="all">
-
-    <style id="LM-bg-color">
-    </style>
-
-</head>
+{include file="common/header"/}
 <div class="LM-container">
     <div class="LM-main">
         <fieldset class="layui-elem-field layui-field-title">
             <blockquote class="layui-elem-quote">
-                <a   href="<?php echo url('index'); ?>"  class="layui-btn  layui-btn-xs" lay-event="update_pwd">返回</a>
+                <a   href="{:url('adminuser')}"  class="layui-btn  layui-btn-xs" lay-event="update_pwd">返回</a>
             </blockquote>
         </fieldset>
 
@@ -35,7 +16,7 @@
                 </div>
 
             </div>
-            
+
             <div class="layui-form-item">
                 <label class="layui-form-label">银行卡持卡人</label>
                 <div class="layui-input-inline">
@@ -92,7 +73,7 @@
                 <div class="layui-input-block">
                     <div class="layui-upload">
                         <button type="button" class="layui-btn layui-btn-primary" id="logoBtn"><i
-                                class="icon icon-upload3"></i><?php echo lang('upload'); ?>
+                                class="icon icon-upload3"></i>{:lang('upload')}
                         </button>
                         <div class="layui-upload-list">
                             <img class="layui-upload-img" id="site_logo">
@@ -111,7 +92,7 @@
                 <div class="layui-input-block">
                     <div class="layui-upload">
                         <button type="button" class="layui-btn layui-btn-primary" id="logoBtns"><i
-                                class="icon icon-upload3"></i><?php echo lang('upload'); ?>
+                                class="icon icon-upload3"></i>{:lang('upload')}
                         </button>
                         <div class="layui-upload-list">
                             <img class="layui-upload-img" id="site_logos">
@@ -127,22 +108,21 @@
 
             <div class="layui-form-item">
                 <div class="layui-input-inline">
-                    <button type="button" class="layui-btn" lay-submit="" lay-filter="submit"><?php echo lang('submit'); ?></button>
-                    <!--<a href="<?php echo url('hlep'); ?>" class="layui-btn layui-btn-primary"><?php echo lang('back'); ?></a>-->
+                    <button type="button" class="layui-btn" lay-submit="" lay-filter="submit">{:lang('submit')}</button>
+                    <a href="{:url('adminuser')}" class="layui-btn layui-btn-primary">{:lang('back')}</a>
                 </div>
             </div>
         </form>
     </div>
 </div>
 
-<script src="/static/plugins/layui/layui.js" charset="utf-8"></script>
-<script src="/static/plugins/jquery-3.4.1/jquery-3.4.1.min.js"></script>
+{include file="common/footer"/}
 
 <script>
     layui.use(['form', 'layer','upload','laydate'], function () {
         var form = layui.form, laydate=layui.laydate,layer = layui.layer,$= layui.jquery,upload = layui.upload;
         var info = '';
-        var config = <?php echo $user; ?>;
+        var config = {$user|raw};
 
         console.log("user",config)
         //日期范围
@@ -175,7 +155,7 @@
         //普通图片上传
         var uploadInst = upload.render({
             elem: '#logoBtn'
-            ,url: '<?php echo url("uploads/uploads"); ?>'
+            ,url: '{:url("uploads/uploads")}'
             ,before: function(obj){
                 //预读本地文件示例,不支持ie8
                 obj.preview(function(index, file, result){
@@ -204,7 +184,7 @@
         //普通图片上传
         var uploadInsts = upload.render({
             elem: '#logoBtns'
-            ,url: '<?php echo url("uploads/uploads"); ?>'
+            ,url: '{:url("uploads/uploads")}'
             ,before: function(obj){
                 //预读本地文件示例,不支持ie8
                 obj.preview(function(index, file, result){