马铁龙 %!s(int64=7) %!d(string=hai) anos
pai
achega
ad68011bc1

+ 434 - 225
.idea/workspace.xml

@@ -4,17 +4,8 @@
     <list default="true" id="e2d274f8-1a7e-4d0d-be0c-6c15e2724c43" name="Default" comment="">
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
       <change beforePath="$PROJECT_DIR$/application/admin/controller/Protector.php" afterPath="$PROJECT_DIR$/application/admin/controller/Protector.php" />
-      <change beforePath="$PROJECT_DIR$/application/admin/view/intention/edit.html" afterPath="$PROJECT_DIR$/application/admin/view/intention/edit.html" />
-      <change beforePath="$PROJECT_DIR$/application/admin/view/protector/add.html" afterPath="$PROJECT_DIR$/application/admin/view/protector/add.html" />
-      <change beforePath="$PROJECT_DIR$/application/admin/view/protector/edit.html" afterPath="$PROJECT_DIR$/application/admin/view/protector/edit.html" />
-      <change beforePath="$PROJECT_DIR$/application/admin/view/protector/index.html" afterPath="$PROJECT_DIR$/application/admin/view/protector/index.html" />
-      <change beforePath="$PROJECT_DIR$/public/assets/js/backend/protector.js" afterPath="$PROJECT_DIR$/public/assets/js/backend/protector.js" />
-      <change beforePath="$PROJECT_DIR$/public/assets/js/require-backend.js" afterPath="$PROJECT_DIR$/public/assets/js/require-backend.js" />
-      <change beforePath="$PROJECT_DIR$/runtime/cache/cb/78ef4a9130f39208ff10858ddd8377.php" afterPath="$PROJECT_DIR$/runtime/cache/cb/78ef4a9130f39208ff10858ddd8377.php" />
+      <change beforePath="$PROJECT_DIR$/application/admin/controller/auth/Admin.php" afterPath="$PROJECT_DIR$/application/admin/controller/auth/Admin.php" />
       <change beforePath="$PROJECT_DIR$/runtime/log/201805/20.log" afterPath="$PROJECT_DIR$/runtime/log/201805/20.log" />
-      <change beforePath="$PROJECT_DIR$/runtime/temp/295e2e5b4e27a9d63d02a9e5aae750f0.php" afterPath="$PROJECT_DIR$/runtime/temp/295e2e5b4e27a9d63d02a9e5aae750f0.php" />
-      <change beforePath="$PROJECT_DIR$/runtime/temp/ea026552008cebe6d5dccded957e014a.php" afterPath="$PROJECT_DIR$/runtime/temp/ea026552008cebe6d5dccded957e014a.php" />
-      <change beforePath="$PROJECT_DIR$/runtime/temp/f833ac328d577dcb1ac0802b2643e9c8.php" afterPath="$PROJECT_DIR$/runtime/temp/f833ac328d577dcb1ac0802b2643e9c8.php" />
     </list>
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
     <option name="TRACKING_ENABLED" value="true" />
@@ -28,32 +19,39 @@
   </component>
   <component name="FileEditorManager">
     <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
-      <file leaf-file-name="intention.js" pinned="false" current-in-tab="false">
-        <entry file="file://$PROJECT_DIR$/public/assets/js/backend/intention.js">
+      <file leaf-file-name="Index.php" pinned="false" current-in-tab="false">
+        <entry file="file://$PROJECT_DIR$/application/admin/controller/Index.php">
           <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="440">
-              <caret line="33" column="57" lean-forward="false" selection-start-line="33" selection-start-column="0" selection-end-line="34" selection-end-column="0" />
-              <folding />
+            <state relative-caret-position="-588">
+              <caret line="54" column="27" lean-forward="true" selection-start-line="54" selection-start-column="27" selection-end-line="54" selection-end-column="27" />
+              <folding>
+                <element signature="e#449#1165#0#PHP" expanded="false" />
+              </folding>
             </state>
           </provider>
         </entry>
       </file>
-      <file leaf-file-name="protector.js" pinned="false" current-in-tab="false">
-        <entry file="file://$PROJECT_DIR$/public/assets/js/backend/protector.js">
+      <file leaf-file-name="Auth.php" pinned="false" current-in-tab="false">
+        <entry file="file://$PROJECT_DIR$/application/admin/library/Auth.php">
           <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="401">
-              <caret line="33" column="62" lean-forward="false" selection-start-line="33" selection-start-column="62" selection-end-line="33" selection-end-column="62" />
+            <state relative-caret-position="769">
+              <caret line="62" column="8" lean-forward="false" selection-start-line="62" selection-start-column="8" selection-end-line="62" selection-end-column="8" />
               <folding />
             </state>
           </provider>
         </entry>
       </file>
-      <file leaf-file-name="edit.html" pinned="false" current-in-tab="false">
-        <entry file="file://$PROJECT_DIR$/application/admin/view/auth/rule/edit.html">
+      <file leaf-file-name="Admin.php" pinned="false" current-in-tab="false">
+        <entry file="file://$PROJECT_DIR$/application/admin/controller/auth/Admin.php">
           <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="0">
-              <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
-              <folding />
+            <state relative-caret-position="335">
+              <caret line="136" column="0" lean-forward="true" selection-start-line="136" selection-start-column="0" selection-end-line="136" selection-end-column="0" />
+              <folding>
+                <element signature="e#409#1764#0#PHP" expanded="false" />
+                <element signature="e#1796#3920#0#PHP" expanded="false" />
+                <element signature="e#5174#7278#0#PHP" expanded="false" />
+                <element signature="e#7310#8309#0#PHP" expanded="false" />
+              </folding>
             </state>
           </provider>
         </entry>
@@ -68,16 +66,6 @@
           </provider>
         </entry>
       </file>
-      <file leaf-file-name="add.html" pinned="false" current-in-tab="false">
-        <entry file="file://$PROJECT_DIR$/application/admin/view/intention/add.html">
-          <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="52">
-              <caret line="2" column="0" lean-forward="false" selection-start-line="2" selection-start-column="0" selection-end-line="61" selection-end-column="10" />
-              <folding />
-            </state>
-          </provider>
-        </entry>
-      </file>
       <file leaf-file-name="add.html" pinned="false" current-in-tab="false">
         <entry file="file://$PROJECT_DIR$/application/admin/view/protector/add.html">
           <provider selected="true" editor-type-id="text-editor">
@@ -88,7 +76,7 @@
           </provider>
         </entry>
       </file>
-      <file leaf-file-name="edit.html" pinned="false" current-in-tab="true">
+      <file leaf-file-name="edit.html" pinned="false" current-in-tab="false">
         <entry file="file://$PROJECT_DIR$/application/admin/view/protector/edit.html">
           <provider selected="true" editor-type-id="text-editor">
             <state relative-caret-position="694">
@@ -98,32 +86,242 @@
           </provider>
         </entry>
       </file>
-      <file leaf-file-name="addons.js" pinned="false" current-in-tab="false">
-        <entry file="file://$PROJECT_DIR$/public/assets/js/addons.js">
+      <file leaf-file-name="Intention.php" pinned="false" current-in-tab="true">
+        <entry file="file://$PROJECT_DIR$/application/admin/controller/Intention.php">
           <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="0">
-              <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
-              <folding />
+            <state relative-caret-position="216">
+              <caret line="69" column="0" lean-forward="false" selection-start-line="69" selection-start-column="0" selection-end-line="69" selection-end-column="0" />
+              <folding>
+                <element signature="e#351#467#0#PHP" expanded="false" />
+                <element signature="e#473#494#0#PHP" expanded="false" />
+                <element signature="e#499#1405#0#PHP" expanded="false" />
+                <element signature="e#702#814#0#PHP" expanded="false" />
+                <element signature="e#1411#1432#0#PHP" expanded="false" />
+                <element signature="e#1621#1781#0#PHP" expanded="false" />
+              </folding>
             </state>
           </provider>
         </entry>
       </file>
-      <file leaf-file-name="comment.js" pinned="false" current-in-tab="false">
-        <entry file="file://$PROJECT_DIR$/public/assets/js/backend/comment.js">
+      <file leaf-file-name="Protector.php" pinned="false" current-in-tab="false">
+        <entry file="file://$PROJECT_DIR$/application/admin/controller/Protector.php">
           <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="130">
-              <caret line="5" column="1" lean-forward="false" selection-start-line="5" selection-start-column="1" selection-end-line="5" selection-end-column="1" />
-              <folding />
+            <state relative-caret-position="475">
+              <caret line="117" column="21" lean-forward="false" selection-start-line="117" selection-start-column="21" selection-end-line="117" selection-end-column="21" />
+              <folding>
+                <element signature="e#40#76#0#PHP" expanded="true" />
+                <element signature="e#320#436#0#PHP" expanded="false" />
+                <element signature="e#442#463#0#PHP" expanded="false" />
+                <element signature="e#468#2774#0#PHP" expanded="false" />
+                <element signature="e#892#2562#0#PHP" expanded="false" />
+                <element signature="e#993#1089#0#PHP" expanded="false" />
+                <element signature="e#993#1136#0#PHP" expanded="false" />
+                <element signature="e#1200#1296#0#PHP" expanded="false" />
+                <element signature="e#1200#1343#0#PHP" expanded="false" />
+                <element signature="e#1200#1392#0#PHP" expanded="false" />
+                <element signature="e#1539#1635#0#PHP" expanded="false" />
+                <element signature="e#1539#1682#0#PHP" expanded="false" />
+                <element signature="e#1746#1842#0#PHP" expanded="false" />
+                <element signature="e#1746#1889#0#PHP" expanded="false" />
+                <element signature="e#1746#1938#0#PHP" expanded="false" />
+                <element signature="e#2086#2182#0#PHP" expanded="false" />
+                <element signature="e#2086#2229#0#PHP" expanded="false" />
+                <element signature="e#2293#2389#0#PHP" expanded="false" />
+                <element signature="e#2293#2436#0#PHP" expanded="false" />
+                <element signature="e#2293#2485#0#PHP" expanded="false" />
+                <element signature="e#2780#2801#0#PHP" expanded="false" />
+                <element signature="e#2990#3150#0#PHP" expanded="false" />
+                <element signature="e#4262#4390#0#PHP" expanded="false" />
+              </folding>
             </state>
           </provider>
         </entry>
       </file>
-      <file leaf-file-name="require-backend.js" pinned="false" current-in-tab="false">
-        <entry file="file://$PROJECT_DIR$/public/assets/js/require-backend.js">
+      <file leaf-file-name="Backend.php" pinned="false" current-in-tab="false">
+        <entry file="file://$PROJECT_DIR$/application/common/controller/Backend.php">
           <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="642">
-              <caret line="52" column="39" lean-forward="false" selection-start-line="52" selection-start-column="39" selection-end-line="52" selection-end-column="39" />
-              <folding />
+            <state relative-caret-position="230">
+              <caret line="94" column="37" lean-forward="false" selection-start-line="94" selection-start-column="37" selection-end-line="94" selection-end-column="37" />
+              <folding>
+                <element signature="e#161#179#0#PHP" expanded="false" />
+                <element signature="e#220#275#0#PHP" expanded="false" />
+                <element signature="e#314#364#0#PHP" expanded="false" />
+                <element signature="e#403#445#0#PHP" expanded="false" />
+                <element signature="e#486#527#0#PHP" expanded="false" />
+                <element signature="e#561#592#0#PHP" expanded="false" />
+                <element signature="e#634#660#0#PHP" expanded="false" />
+                <element signature="e#705#812#0#PHP" expanded="false" />
+                <element signature="e#852#877#0#PHP" expanded="false" />
+                <element signature="e#927#962#0#PHP" expanded="false" />
+                <element signature="e#1014#1047#0#PHP" expanded="false" />
+                <element signature="e#1091#1120#0#PHP" expanded="false" />
+                <element signature="e#1169#1203#0#PHP" expanded="false" />
+                <element signature="e#1248#1313#0#PHP" expanded="false" />
+                <element signature="e#1362#1395#0#PHP" expanded="false" />
+                <element signature="e#1444#5467#0#PHP" expanded="false" />
+                <element signature="e#2195#2967#0#PHP" expanded="false" />
+                <element signature="e#2283#2594#0#PHP" expanded="false" />
+                <element signature="e#2633#2957#0#PHP" expanded="false" />
+                <element signature="e#2745#2943#0#PHP" expanded="false" />
+                <element signature="e#2997#3730#0#PHP" expanded="false" />
+                <element signature="e#3127#3300#0#PHP" expanded="false" />
+                <element signature="e#3180#3276#1#PHP" expanded="false" />
+                <element signature="e#3314#3628#0#PHP" expanded="false" />
+                <element signature="e#3382#3569#0#PHP" expanded="false" />
+                <element signature="e#3919#4025#0#PHP" expanded="false" />
+                <element signature="e#4288#4935#0#PHP" expanded="false" />
+                <element signature="e#5473#5525#0#PHP" expanded="false" />
+                <element signature="e#5530#5707#0#PHP" expanded="false" />
+                <element signature="e#5713#5800#0#PHP" expanded="false" />
+                <element signature="e#5805#6004#0#PHP" expanded="false" />
+                <element signature="e#6010#6152#0#PHP" expanded="false" />
+                <element signature="e#6157#11571#0#PHP" expanded="false" />
+                <element signature="e#6967#7226#0#PHP" expanded="false" />
+                <element signature="e#7010#7136#0#PHP" expanded="false" />
+                <element signature="e#7286#7408#0#PHP" expanded="false" />
+                <element signature="e#7417#7788#0#PHP" expanded="false" />
+                <element signature="e#7548#7681#0#PHP" expanded="false" />
+                <element signature="e#7797#11148#0#PHP" expanded="false" />
+                <element signature="e#7900#7997#0#PHP" expanded="false" />
+                <element signature="e#8122#11138#0#PHP" expanded="false" />
+                <element signature="e#8192#8285#0#PHP" expanded="false" />
+                <element signature="e#8399#8533#0#PHP" expanded="false" />
+                <element signature="e#8629#8721#0#PHP" expanded="false" />
+                <element signature="e#8769#8877#0#PHP" expanded="false" />
+                <element signature="e#8984#9137#0#PHP" expanded="false" />
+                <element signature="e#9186#9869#0#PHP" expanded="false" />
+                <element signature="e#9435#9793#0#PHP" expanded="false" />
+                <element signature="e#9627#9793#0#PHP" expanded="false" />
+                <element signature="e#9916#10690#0#PHP" expanded="false" />
+                <element signature="e#10217#10571#0#PHP" expanded="false" />
+                <element signature="e#10407#10571#0#PHP" expanded="false" />
+                <element signature="e#10736#10836#0#PHP" expanded="false" />
+                <element signature="e#10947#11072#0#PHP" expanded="false" />
+                <element signature="e#11089#11124#0#PHP" expanded="false" />
+                <element signature="e#11166#11507#1#PHP" expanded="false" />
+                <element signature="e#11210#11497#0#PHP" expanded="false" />
+                <element signature="e#11269#11483#0#PHP" expanded="false" />
+                <element signature="e#11404#11483#0#PHP" expanded="false" />
+                <element signature="e#11577#11652#0#PHP" expanded="false" />
+                <element signature="e#11657#12117#0#PHP" expanded="false" />
+                <element signature="e#11713#11780#0#PHP" expanded="false" />
+                <element signature="e#11789#11866#0#PHP" expanded="false" />
+                <element signature="e#11899#12085#0#PHP" expanded="false" />
+                <element signature="e#12123#12275#0#PHP" expanded="false" />
+                <element signature="e#12280#14936#0#PHP" expanded="false" />
+                <element signature="e#13203#13288#0#PHP" expanded="false" />
+                <element signature="e#13378#14104#0#PHP" expanded="false" />
+                <element signature="e#13495#14104#0#PHP" expanded="false" />
+                <element signature="e#13531#14093#1#PHP" expanded="false" />
+                <element signature="e#13616#13847#0#PHP" expanded="false" />
+                <element signature="e#13682#13829#0#PHP" expanded="false" />
+                <element signature="e#13864#14079#0#PHP" expanded="false" />
+                <element signature="e#13936#14061#0#PHP" expanded="false" />
+                <element signature="e#14164#14281#0#PHP" expanded="false" />
+                <element signature="e#14365#14808#0#PHP" expanded="false" />
+                <element signature="e#14403#14532#0#PHP" expanded="false" />
+                <element signature="e#14553#14616#0#PHP" expanded="false" />
+                <element signature="e#14553#14661#0#PHP" expanded="false" />
+                <element signature="e#14553#14715#0#PHP" expanded="false" />
+                <element signature="e#14553#14766#0#PHP" expanded="false" />
+              </folding>
+            </state>
+          </provider>
+        </entry>
+      </file>
+      <file leaf-file-name="Backend.php" pinned="false" current-in-tab="false">
+        <entry file="file://$PROJECT_DIR$/application/admin/library/traits/Backend.php">
+          <provider selected="true" editor-type-id="text-editor">
+            <state relative-caret-position="338">
+              <caret line="71" column="0" lean-forward="false" selection-start-line="71" selection-start-column="0" selection-end-line="112" selection-end-column="5" />
+              <folding>
+                <element signature="e#65#86#0#PHP" expanded="false" />
+                <element signature="e#91#1025#0#PHP" expanded="false" />
+                <element signature="e#194#982#0#PHP" expanded="false" />
+                <element signature="e#294#406#0#PHP" expanded="false" />
+                <element signature="e#509#557#0#PHP" expanded="false" />
+                <element signature="e#509#600#0#PHP" expanded="false" />
+                <element signature="e#653#701#0#PHP" expanded="false" />
+                <element signature="e#653#744#0#PHP" expanded="false" />
+                <element signature="e#653#789#0#PHP" expanded="false" />
+                <element signature="e#1031#1053#0#PHP" expanded="false" />
+                <element signature="e#1058#1846#0#PHP" expanded="false" />
+                <element signature="e#1166#1803#0#PHP" expanded="false" />
+                <element signature="e#1308#1392#0#PHP" expanded="false" />
+                <element signature="e#1308#1435#0#PHP" expanded="false" />
+                <element signature="e#1488#1572#0#PHP" expanded="false" />
+                <element signature="e#1488#1615#0#PHP" expanded="false" />
+                <element signature="e#1488#1660#0#PHP" expanded="false" />
+                <element signature="e#1852#1873#0#PHP" expanded="false" />
+                <element signature="e#1878#3311#0#PHP" expanded="false" />
+                <element signature="e#1914#3268#0#PHP" expanded="false" />
+                <element signature="e#2019#3191#0#PHP" expanded="false" />
+                <element signature="e#2062#2222#0#PHP" expanded="false" />
+                <element signature="e#2239#3177#0#PHP" expanded="false" />
+                <element signature="e#2312#2675#0#PHP" expanded="false" />
+                <element signature="e#2773#3014#0#PHP" expanded="false" />
+                <element signature="e#2902#3014#0#PHP" expanded="false" />
+                <element signature="e#3049#3177#0#PHP" expanded="false" />
+                <element signature="e#3317#3338#0#PHP" expanded="false" />
+                <element signature="e#3343#5003#0#PHP" expanded="false" />
+                <element signature="e#3556#3755#0#PHP" expanded="false" />
+                <element signature="e#3603#3745#0#PHP" expanded="false" />
+                <element signature="e#3764#4918#0#PHP" expanded="false" />
+                <element signature="e#3869#4841#0#PHP" expanded="false" />
+                <element signature="e#3912#4827#0#PHP" expanded="false" />
+                <element signature="e#3985#4341#0#PHP" expanded="false" />
+                <element signature="e#4431#4664#0#PHP" expanded="false" />
+                <element signature="e#4560#4664#0#PHP" expanded="false" />
+                <element signature="e#4699#4827#0#PHP" expanded="false" />
+                <element signature="e#5009#5030#0#PHP" expanded="false" />
+                <element signature="e#5035#5817#0#PHP" expanded="false" />
+                <element signature="e#5080#5745#0#PHP" expanded="false" />
+                <element signature="e#5208#5346#0#PHP" expanded="false" />
+                <element signature="e#5451#5546#0#PHP" expanded="false" />
+                <element signature="e#5559#5735#0#PHP" expanded="false" />
+                <element signature="e#5645#5735#0#PHP" expanded="false" />
+                <element signature="e#5823#5846#0#PHP" expanded="false" />
+                <element signature="e#5851#6602#0#PHP" expanded="false" />
+                <element signature="e#5988#6114#0#PHP" expanded="false" />
+                <element signature="e#6123#6202#0#PHP" expanded="false" />
+                <element signature="e#6286#6373#0#PHP" expanded="false" />
+                <element signature="e#6382#6530#0#PHP" expanded="false" />
+                <element signature="e#6452#6530#0#PHP" expanded="false" />
+                <element signature="e#6608#6629#0#PHP" expanded="false" />
+                <element signature="e#6634#7149#0#PHP" expanded="false" />
+                <element signature="e#6771#6888#0#PHP" expanded="false" />
+                <element signature="e#6897#6976#0#PHP" expanded="false" />
+                <element signature="e#7032#7093#0#PHP" expanded="false" />
+                <element signature="e#7155#7178#0#PHP" expanded="false" />
+                <element signature="e#7183#8531#0#PHP" expanded="false" />
+                <element signature="e#7289#8459#0#PHP" expanded="false" />
+                <element signature="e#7321#8449#0#PHP" expanded="false" />
+                <element signature="e#7608#8435#0#PHP" expanded="false" />
+                <element signature="e#7722#7875#0#PHP" expanded="false" />
+                <element signature="e#8064#8296#0#PHP" expanded="false" />
+                <element signature="e#8182#8296#0#PHP" expanded="false" />
+                <element signature="e#8331#8435#0#PHP" expanded="false" />
+                <element signature="e#8537#8558#0#PHP" expanded="false" />
+                <element signature="e#8563#11910#0#PHP" expanded="false" />
+                <element signature="e#8654#8756#0#PHP" expanded="false" />
+                <element signature="e#8825#8924#0#PHP" expanded="false" />
+                <element signature="e#8988#9384#0#PHP" expanded="false" />
+                <element signature="e#9103#9374#0#PHP" expanded="false" />
+                <element signature="e#9227#9360#0#PHP" expanded="false" />
+                <element signature="e#9831#10132#0#PHP" expanded="false" />
+                <element signature="e#9881#10122#0#PHP" expanded="false" />
+                <element signature="e#10024#10122#0#PHP" expanded="false" />
+                <element signature="e#10471#10799#0#PHP" expanded="false" />
+                <element signature="e#10548#10789#0#PHP" expanded="false" />
+                <element signature="e#10830#11576#0#PHP" expanded="false" />
+                <element signature="e#10939#11201#0#PHP" expanded="false" />
+                <element signature="e#11290#11482#0#PHP" expanded="false" />
+                <element signature="e#11348#11468#0#PHP" expanded="false" />
+                <element signature="e#11495#11566#0#PHP" expanded="false" />
+                <element signature="e#11585#11672#0#PHP" expanded="false" />
+                <element signature="e#11681#11877#0#PHP" expanded="false" />
+                <element signature="e#11757#11877#0#PHP" expanded="false" />
+              </folding>
             </state>
           </provider>
         </entry>
@@ -142,6 +340,7 @@
       <find>danji</find>
       <find>$autoWriteTimestamp</find>
       <find>address</find>
+      <find>session::set</find>
     </findStrings>
   </component>
   <component name="Git.Settings">
@@ -158,17 +357,18 @@
         <option value="$PROJECT_DIR$/application/admin/controller/Index.php" />
         <option value="$PROJECT_DIR$/application/admin/view/intention/add.html" />
         <option value="$PROJECT_DIR$/application/admin/model/Intention.php" />
-        <option value="$PROJECT_DIR$/application/admin/controller/Intention.php" />
         <option value="$PROJECT_DIR$/public/assets/js/backend/intention.js" />
         <option value="$PROJECT_DIR$/application/admin/view/protector/index.html" />
         <option value="$PROJECT_DIR$/application/admin/view/auth/rule/add.html" />
-        <option value="$PROJECT_DIR$/application/admin/controller/Protector.php" />
         <option value="$PROJECT_DIR$/public/assets/js/backend/comment.js" />
         <option value="$PROJECT_DIR$/public/assets/js/require-backend.js" />
         <option value="$PROJECT_DIR$/public/assets/js/backend/protector.js" />
         <option value="$PROJECT_DIR$/application/admin/view/intention/edit.html" />
         <option value="$PROJECT_DIR$/application/admin/view/protector/add.html" />
         <option value="$PROJECT_DIR$/application/admin/view/protector/edit.html" />
+        <option value="$PROJECT_DIR$/application/admin/controller/Protector.php" />
+        <option value="$PROJECT_DIR$/application/admin/controller/auth/Admin.php" />
+        <option value="$PROJECT_DIR$/application/admin/controller/Intention.php" />
       </list>
     </option>
   </component>
@@ -371,12 +571,12 @@
       <option name="presentableId" value="Default" />
       <updated>1526210759669</updated>
       <workItem from="1526210760971" duration="2157000" />
-      <workItem from="1526350149777" duration="14837000" />
+      <workItem from="1526350149777" duration="15729000" />
     </task>
     <servers />
   </component>
   <component name="TimeTrackingManager">
-    <option name="totallyTimeSpent" value="16994000" />
+    <option name="totallyTimeSpent" value="17886000" />
   </component>
   <component name="ToolWindowManager">
     <frame x="0" y="0" width="1440" height="900" extended-state="6" />
@@ -519,32 +719,6 @@
         </state>
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/application/admin/controller/auth/Admin.php">
-      <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="-398">
-          <caret line="67" column="0" lean-forward="false" selection-start-line="67" selection-start-column="0" selection-end-line="67" selection-end-column="0" />
-          <folding>
-            <element signature="e#45#75#0#PHP" expanded="false" />
-            <element signature="e#409#1764#0#PHP" expanded="false" />
-            <element signature="e#1796#3920#0#PHP" expanded="false" />
-            <element signature="e#3952#5096#0#PHP" expanded="false" />
-            <element signature="e#5128#7232#0#PHP" expanded="false" />
-            <element signature="e#7264#8263#0#PHP" expanded="false" />
-          </folding>
-        </state>
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/application/admin/controller/Index.php">
-      <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="252">
-          <caret line="54" column="27" lean-forward="false" selection-start-line="54" selection-start-column="27" selection-end-line="54" selection-end-column="27" />
-          <folding>
-            <element signature="e#449#1165#0#PHP" expanded="false" />
-            <element signature="e#1200#3784#0#PHP" expanded="false" />
-          </folding>
-        </state>
-      </provider>
-    </entry>
     <entry file="file://$PROJECT_DIR$/application/admin/model/AdminLog.php">
       <provider selected="true" editor-type-id="text-editor">
         <state relative-caret-position="0">
@@ -593,26 +767,140 @@
         </state>
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/application/admin/controller/Intention.php">
+    <entry file="file://$PROJECT_DIR$/public/assets/js/backend/auth/rule.js">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="480">
-          <caret line="88" column="96" lean-forward="false" selection-start-line="88" selection-start-column="96" selection-end-line="88" selection-end-column="96" />
+        <state relative-caret-position="260">
+          <caret line="113" column="16" lean-forward="false" selection-start-line="113" selection-start-column="16" selection-end-line="113" selection-end-column="16" />
+          <folding />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/application/admin/controller/auth/Rule.php">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="-1524">
+          <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
+          <folding />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/application/admin/view/auth/rule/add.html">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="374">
+          <caret line="25" column="10" lean-forward="false" selection-start-line="25" selection-start-column="10" selection-end-line="25" selection-end-column="10" />
+          <folding />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/application/admin/view/protector/index.html">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="52">
+          <caret line="2" column="0" lean-forward="false" selection-start-line="2" selection-start-column="0" selection-end-line="2" selection-end-column="0" />
+          <folding />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/public/assets/js/backend.js">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="0">
+          <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
+          <folding />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/public/assets/js/adminlte.js">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="0">
+          <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
           <folding>
-            <element signature="e#40#70#0#PHP" expanded="false" />
-            <element signature="e#351#467#0#PHP" expanded="false" />
-            <element signature="e#473#494#0#PHP" expanded="false" />
-            <element signature="e#499#1405#0#PHP" expanded="false" />
-            <element signature="e#702#814#0#PHP" expanded="false" />
-            <element signature="e#1411#1432#0#PHP" expanded="false" />
-            <element signature="e#1621#1781#0#PHP" expanded="false" />
+            <element signature="n#!!doc" expanded="false" />
           </folding>
         </state>
       </provider>
     </entry>
+    <entry file="file://$PROJECT_DIR$/public/assets/js/addons.js">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="0">
+          <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
+          <folding />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/public/assets/js/backend/comment.js">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="130">
+          <caret line="5" column="1" lean-forward="false" selection-start-line="5" selection-start-column="1" selection-end-line="5" selection-end-column="1" />
+          <folding />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/public/assets/js/require-backend.js">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="642">
+          <caret line="52" column="39" lean-forward="false" selection-start-line="52" selection-start-column="39" selection-end-line="52" selection-end-column="39" />
+          <folding />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/public/assets/js/backend/intention.js">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="440">
+          <caret line="33" column="57" lean-forward="false" selection-start-line="33" selection-start-column="0" selection-end-line="34" selection-end-column="0" />
+          <folding />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/public/assets/js/backend/protector.js">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="401">
+          <caret line="33" column="62" lean-forward="false" selection-start-line="33" selection-start-column="62" selection-end-line="33" selection-end-column="62" />
+          <folding />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/application/admin/view/auth/rule/edit.html">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="0">
+          <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
+          <folding />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/application/admin/view/intention/add.html">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="52">
+          <caret line="2" column="0" lean-forward="false" selection-start-line="2" selection-start-column="0" selection-end-line="61" selection-end-column="10" />
+          <folding />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/application/admin/view/protector/add.html">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="356">
+          <caret line="62" column="0" lean-forward="false" selection-start-line="62" selection-start-column="0" selection-end-line="62" selection-end-column="0" />
+          <folding />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/application/admin/view/intention/edit.html">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="78">
+          <caret line="3" column="0" lean-forward="false" selection-start-line="3" selection-start-column="0" selection-end-line="62" selection-end-column="10" />
+          <folding />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/application/admin/view/protector/edit.html">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="694">
+          <caret line="61" column="10" lean-forward="false" selection-start-line="61" selection-start-column="10" selection-end-line="61" selection-end-column="10" />
+          <folding />
+        </state>
+      </provider>
+    </entry>
     <entry file="file://$PROJECT_DIR$/application/common/controller/Backend.php">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="180">
-          <caret line="94" column="39" lean-forward="false" selection-start-line="94" selection-start-column="39" selection-end-line="94" selection-end-column="39" />
+        <state relative-caret-position="230">
+          <caret line="94" column="37" lean-forward="false" selection-start-line="94" selection-start-column="37" selection-end-line="94" selection-end-column="37" />
           <folding>
             <element signature="e#161#179#0#PHP" expanded="false" />
             <element signature="e#220#275#0#PHP" expanded="false" />
@@ -701,8 +989,8 @@
     </entry>
     <entry file="file://$PROJECT_DIR$/application/admin/library/traits/Backend.php">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="182">
-          <caret line="7" column="0" lean-forward="false" selection-start-line="7" selection-start-column="0" selection-end-line="39" selection-end-column="5" />
+        <state relative-caret-position="338">
+          <caret line="71" column="0" lean-forward="false" selection-start-line="71" selection-start-column="0" selection-end-line="112" selection-end-column="5" />
           <folding>
             <element signature="e#65#86#0#PHP" expanded="false" />
             <element signature="e#91#1025#0#PHP" expanded="false" />
@@ -794,160 +1082,81 @@
         </state>
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/public/assets/js/backend/auth/rule.js">
-      <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="260">
-          <caret line="113" column="16" lean-forward="false" selection-start-line="113" selection-start-column="16" selection-end-line="113" selection-end-column="16" />
-          <folding />
-        </state>
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/application/admin/controller/auth/Rule.php">
-      <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="-1524">
-          <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
-          <folding />
-        </state>
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/application/admin/view/auth/rule/add.html">
-      <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="374">
-          <caret line="25" column="10" lean-forward="false" selection-start-line="25" selection-start-column="10" selection-end-line="25" selection-end-column="10" />
-          <folding />
-        </state>
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/application/admin/view/protector/index.html">
-      <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="52">
-          <caret line="2" column="0" lean-forward="false" selection-start-line="2" selection-start-column="0" selection-end-line="2" selection-end-column="0" />
-          <folding />
-        </state>
-      </provider>
-    </entry>
     <entry file="file://$PROJECT_DIR$/application/admin/controller/Protector.php">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="348">
-          <caret line="82" column="13" lean-forward="false" selection-start-line="82" selection-start-column="13" selection-end-line="82" selection-end-column="13" />
+        <state relative-caret-position="475">
+          <caret line="117" column="21" lean-forward="false" selection-start-line="117" selection-start-column="21" selection-end-line="117" selection-end-column="21" />
           <folding>
-            <element signature="e#264#380#0#PHP" expanded="false" />
-            <element signature="e#386#407#0#PHP" expanded="false" />
-            <element signature="e#836#2506#0#PHP" expanded="false" />
-            <element signature="e#937#1033#0#PHP" expanded="false" />
-            <element signature="e#937#1080#0#PHP" expanded="false" />
-            <element signature="e#1144#1240#0#PHP" expanded="false" />
-            <element signature="e#1144#1287#0#PHP" expanded="false" />
-            <element signature="e#1144#1336#0#PHP" expanded="false" />
-            <element signature="e#1483#1579#0#PHP" expanded="false" />
-            <element signature="e#1483#1626#0#PHP" expanded="false" />
-            <element signature="e#1690#1786#0#PHP" expanded="false" />
-            <element signature="e#1690#1833#0#PHP" expanded="false" />
-            <element signature="e#1690#1882#0#PHP" expanded="false" />
-            <element signature="e#2030#2126#0#PHP" expanded="false" />
-            <element signature="e#2030#2173#0#PHP" expanded="false" />
-            <element signature="e#2237#2333#0#PHP" expanded="false" />
-            <element signature="e#2237#2380#0#PHP" expanded="false" />
-            <element signature="e#2237#2429#0#PHP" expanded="false" />
+            <element signature="e#40#76#0#PHP" expanded="true" />
+            <element signature="e#320#436#0#PHP" expanded="false" />
+            <element signature="e#442#463#0#PHP" expanded="false" />
+            <element signature="e#468#2774#0#PHP" expanded="false" />
+            <element signature="e#892#2562#0#PHP" expanded="false" />
+            <element signature="e#993#1089#0#PHP" expanded="false" />
+            <element signature="e#993#1136#0#PHP" expanded="false" />
+            <element signature="e#1200#1296#0#PHP" expanded="false" />
+            <element signature="e#1200#1343#0#PHP" expanded="false" />
+            <element signature="e#1200#1392#0#PHP" expanded="false" />
+            <element signature="e#1539#1635#0#PHP" expanded="false" />
+            <element signature="e#1539#1682#0#PHP" expanded="false" />
+            <element signature="e#1746#1842#0#PHP" expanded="false" />
+            <element signature="e#1746#1889#0#PHP" expanded="false" />
+            <element signature="e#1746#1938#0#PHP" expanded="false" />
+            <element signature="e#2086#2182#0#PHP" expanded="false" />
+            <element signature="e#2086#2229#0#PHP" expanded="false" />
+            <element signature="e#2293#2389#0#PHP" expanded="false" />
+            <element signature="e#2293#2436#0#PHP" expanded="false" />
+            <element signature="e#2293#2485#0#PHP" expanded="false" />
+            <element signature="e#2780#2801#0#PHP" expanded="false" />
+            <element signature="e#2990#3150#0#PHP" expanded="false" />
+            <element signature="e#4262#4390#0#PHP" expanded="false" />
           </folding>
         </state>
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/public/assets/js/backend.js">
-      <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="0">
-          <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
-          <folding />
-        </state>
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/public/assets/js/adminlte.js">
+    <entry file="file://$PROJECT_DIR$/application/admin/controller/Index.php">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="0">
-          <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
+        <state relative-caret-position="-588">
+          <caret line="54" column="27" lean-forward="true" selection-start-line="54" selection-start-column="27" selection-end-line="54" selection-end-column="27" />
           <folding>
-            <element signature="n#!!doc" expanded="false" />
+            <element signature="e#449#1165#0#PHP" expanded="false" />
           </folding>
         </state>
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/public/assets/js/addons.js">
+    <entry file="file://$PROJECT_DIR$/application/admin/library/Auth.php">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="0">
-          <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
+        <state relative-caret-position="769">
+          <caret line="62" column="8" lean-forward="false" selection-start-line="62" selection-start-column="8" selection-end-line="62" selection-end-column="8" />
           <folding />
         </state>
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/public/assets/js/backend/comment.js">
-      <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="130">
-          <caret line="5" column="1" lean-forward="false" selection-start-line="5" selection-start-column="1" selection-end-line="5" selection-end-column="1" />
-          <folding />
-        </state>
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/public/assets/js/require-backend.js">
-      <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="642">
-          <caret line="52" column="39" lean-forward="false" selection-start-line="52" selection-start-column="39" selection-end-line="52" selection-end-column="39" />
-          <folding />
-        </state>
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/public/assets/js/backend/intention.js">
-      <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="440">
-          <caret line="33" column="57" lean-forward="false" selection-start-line="33" selection-start-column="0" selection-end-line="34" selection-end-column="0" />
-          <folding />
-        </state>
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/public/assets/js/backend/protector.js">
-      <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="401">
-          <caret line="33" column="62" lean-forward="false" selection-start-line="33" selection-start-column="62" selection-end-line="33" selection-end-column="62" />
-          <folding />
-        </state>
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/application/admin/view/auth/rule/edit.html">
-      <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="0">
-          <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
-          <folding />
-        </state>
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/application/admin/view/intention/add.html">
-      <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="52">
-          <caret line="2" column="0" lean-forward="false" selection-start-line="2" selection-start-column="0" selection-end-line="61" selection-end-column="10" />
-          <folding />
-        </state>
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/application/admin/view/protector/add.html">
-      <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="356">
-          <caret line="62" column="0" lean-forward="false" selection-start-line="62" selection-start-column="0" selection-end-line="62" selection-end-column="0" />
-          <folding />
-        </state>
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/application/admin/view/intention/edit.html">
+    <entry file="file://$PROJECT_DIR$/application/admin/controller/auth/Admin.php">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="78">
-          <caret line="3" column="0" lean-forward="false" selection-start-line="3" selection-start-column="0" selection-end-line="62" selection-end-column="10" />
-          <folding />
+        <state relative-caret-position="335">
+          <caret line="136" column="0" lean-forward="true" selection-start-line="136" selection-start-column="0" selection-end-line="136" selection-end-column="0" />
+          <folding>
+            <element signature="e#409#1764#0#PHP" expanded="false" />
+            <element signature="e#1796#3920#0#PHP" expanded="false" />
+            <element signature="e#5174#7278#0#PHP" expanded="false" />
+            <element signature="e#7310#8309#0#PHP" expanded="false" />
+          </folding>
         </state>
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/application/admin/view/protector/edit.html">
+    <entry file="file://$PROJECT_DIR$/application/admin/controller/Intention.php">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="694">
-          <caret line="61" column="10" lean-forward="false" selection-start-line="61" selection-start-column="10" selection-end-line="61" selection-end-column="10" />
-          <folding />
+        <state relative-caret-position="216">
+          <caret line="69" column="0" lean-forward="false" selection-start-line="69" selection-start-column="0" selection-end-line="69" selection-end-column="0" />
+          <folding>
+            <element signature="e#351#467#0#PHP" expanded="false" />
+            <element signature="e#473#494#0#PHP" expanded="false" />
+            <element signature="e#499#1405#0#PHP" expanded="false" />
+            <element signature="e#702#814#0#PHP" expanded="false" />
+            <element signature="e#1411#1432#0#PHP" expanded="false" />
+            <element signature="e#1621#1781#0#PHP" expanded="false" />
+          </folding>
         </state>
       </provider>
     </entry>

+ 48 - 0
application/admin/controller/Protector.php

@@ -2,7 +2,9 @@
 
 namespace app\admin\controller;
 
+use app\admin\model\AuthGroupAccess;
 use app\common\controller\Backend;
+use think\Session;
 
 /**
  * 
@@ -91,6 +93,52 @@ class Protector extends Backend
         return $this->view->fetch('index');
     }
 
+    /**
+     * 添加
+     */
+    public function add()
+    {
+        if ($this->request->isPost())
+        {
+            $params = $this->request->post("row/a");
+            if ($params)
+            {
+                if ($this->dataLimit && $this->dataLimitFieldAutoFill)
+                {
+                    $params[$this->dataLimitField] = $this->auth->id;
+                }
+                try
+                {
+                    //是否采用模型验证
+                    if ($this->modelValidate)
+                    {
+                        $name = basename(str_replace('\\', '/', get_class($this->model)));
+                        $validate = is_bool($this->modelValidate) ? ($this->modelSceneValidate ? $name . '.add' : true) : $this->modelValidate;
+                        $this->model->validate($validate);
+                    }
+                    $params['usr_id'] = Session::get('admin')['id'];      //usr id
+                    $params['usr_nickname'] = Session::get('admin')['nickname'];      //nickname
+                    $params['usr_depart'] = AuthGroupAccess::getGroupName($params['usr_id']);   //获取所属组名
+                    $result = $this->model->allowField(true)->save($params);
+                    if ($result !== false)
+                    {
+                        $this->success();
+                    }
+                    else
+                    {
+                        $this->error($this->model->getError());
+                    }
+                }
+                catch (\think\exception\PDOException $e)
+                {
+                    $this->error($e->getMessage());
+                }
+            }
+            $this->error(__('Parameter %s can not be empty', ''));
+        }
+        return $this->view->fetch();
+    }
+
 
 
 }

+ 9 - 0
application/admin/controller/auth/Admin.php

@@ -133,6 +133,8 @@ class Admin extends Backend
                 $params['salt'] = Random::alnum();
                 $params['password'] = md5(md5($params['password']) . $params['salt']);
                 $params['avatar'] = '/assets/img/avatar.png'; //设置新管理员默认头像。
+                $this->makeProtect($params);
+
                 $result = $this->model->validate('Admin.add')->save($params);
                 if ($result === false)
                 {
@@ -269,4 +271,11 @@ class Admin extends Backend
         return parent::selectpage();
     }
 
+    private function makeProtect(&$params)
+    {
+        $params['protect_count'] = 20;
+        $params['protect_day'] = 90;
+        $params['free_day'] = 30;
+    }
+
 }

+ 1936 - 0
runtime/log/201805/20.log

@@ -58,3 +58,1939 @@
 [ sql ] [ SQL ] SHOW COLUMNS FROM `protector` [ RunTime:0.002418s ]
 [ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `protector` WHERE  `status` = 0 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000292s ]
 [ sql ] [ SQL ] SELECT * FROM `protector` WHERE  `status` = 0 ORDER BY `id` DESC LIMIT 0,10 [ RunTime:0.000383s ]
+---------------------------------------------------------------
+[ 2018-05-20T18:25:54+08:00 ] 127.0.0.1 GET /admin/protector/index?status=contract&addtabs=1
+[ info ] www.promote.com/admin/protector/index?status=contract&addtabs=1 [运行时间:0.036553s][吞吐率:27.36req/s] [内存消耗:3,408.34kb] [文件加载:77]
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000021s ]
+[ info ] [ CACHE ] INIT File
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.001031s ]
+[ info ] [ LANG ] /Users/matielong/promote/thinkphp/lang/zh-cn.php
+[ info ] [ ROUTE ] array (
+  'type' => 'module',
+  'module' => 
+  array (
+    0 => 'admin',
+    1 => 'protector',
+    2 => 'index',
+  ),
+)
+[ info ] [ HEADER ] array (
+  'host' => 'www.promote.com',
+  'connection' => 'keep-alive',
+  'upgrade-insecure-requests' => '1',
+  'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36',
+  'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
+  'referer' => 'http://www.promote.com/admin/protector/index?status=contract&ref=addtabs',
+  'accept-encoding' => 'gzip, deflate',
+  'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
+  'cookie' => 'PHPSESSID=tb8ogsdf1u2gc5a4fhh5r6f9p7; Hm_lvt_f8d0a8c400404989e195270b0bbf060a=1526267670; think_var=zh-cn; Hm_lpvt_f8d0a8c400404989e195270b0bbf060a=1526795299',
+)
+[ info ] [ PARAM ] array (
+  'status' => 'contract',
+  'addtabs' => '1',
+)
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn.php
+[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.000197s ]
+[ info ] [ SESSION ] INIT array (
+  'id' => '',
+  'var_session_id' => '',
+  'prefix' => 'think',
+  'type' => '',
+  'auto_start' => true,
+)
+[ info ] [ DB ] INIT mysql
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn/protector.php
+[ info ] [ RUN ] app\admin\controller\Protector->index[ /Users/matielong/promote/application/admin/controller/Protector.php ]
+[ info ] [ VIEW ] /Users/matielong/promote/public/../application/admin/view/protector/index.html [ array (
+  0 => 'breadcrumb',
+  1 => 'site',
+  2 => 'config',
+  3 => 'auth',
+  4 => 'admin',
+) ]
+[ info ] [ BEHAVIOR ] Run app\admin\behavior\AdminLog @app_end [ RunTime:0.000086s ]
+[ info ] [ LOG ] INIT File
+[ sql ] [ DB ] CONNECT:[ UseTime:0.000450s ] mysql:host=127.0.0.1;dbname=promote;charset=utf8
+[ sql ] [ SQL ] SHOW COLUMNS FROM `auth_group_access` [ RunTime:0.002793s ]
+[ sql ] [ SQL ] SELECT `aga`.`uid`,`aga`.`group_id`,`ag`.`id`,`ag`.`pid`,`ag`.`name`,`ag`.`rules` FROM `auth_group_access` `aga` LEFT JOIN `auth_group` `ag` ON `aga`.`group_id`=`ag`.`id` WHERE  (  aga.uid='1' and ag.status='normal' ) [ RunTime:0.000448s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `auth_rule` [ RunTime:0.002275s ]
+[ sql ] [ SQL ] SELECT `id`,`pid`,`condition`,`icon`,`name`,`title`,`ismenu` FROM `auth_rule` WHERE  `status` = 'normal' [ RunTime:0.000560s ]
+[ sql ] [ SQL ] SELECT `title`,`remark` FROM `auth_rule` WHERE  `name` = 'protector' LIMIT 1 [ RunTime:0.000356s ]
+---------------------------------------------------------------
+[ 2018-05-20T18:25:54+08:00 ] 127.0.0.1 GET /admin/ajax/lang?callback=define&controllername=protector&v=1526811954
+[ info ] www.promote.com/admin/ajax/lang?callback=define&controllername=protector&v=1526811954 [运行时间:0.027067s][吞吐率:36.95req/s] [内存消耗:2,554.69kb] [文件加载:69]
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000320s ]
+[ info ] [ CACHE ] INIT File
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.001390s ]
+[ info ] [ LANG ] /Users/matielong/promote/thinkphp/lang/zh-cn.php
+[ info ] [ ROUTE ] array (
+  'type' => 'module',
+  'module' => 
+  array (
+    0 => 'admin',
+    1 => 'ajax',
+    2 => 'lang',
+  ),
+)
+[ info ] [ HEADER ] array (
+  'host' => 'www.promote.com',
+  'connection' => 'keep-alive',
+  'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36',
+  'accept' => '*/*',
+  'referer' => 'http://www.promote.com/admin/protector/index?status=contract&addtabs=1',
+  'accept-encoding' => 'gzip, deflate',
+  'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
+  'cookie' => 'PHPSESSID=tb8ogsdf1u2gc5a4fhh5r6f9p7; Hm_lvt_f8d0a8c400404989e195270b0bbf060a=1526267670; think_var=zh-cn; Hm_lpvt_f8d0a8c400404989e195270b0bbf060a=1526795299',
+)
+[ info ] [ PARAM ] array (
+  'callback' => 'define',
+  'controllername' => 'protector',
+  'v' => '1526811954',
+)
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn.php
+[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.000323s ]
+[ info ] [ SESSION ] INIT array (
+  'id' => '',
+  'var_session_id' => '',
+  'prefix' => 'think',
+  'type' => '',
+  'auto_start' => true,
+)
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn/ajax.php
+[ info ] [ RUN ] app\admin\controller\Ajax->lang[ /Users/matielong/promote/application/admin/controller/Ajax.php ]
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn/protector.php
+[ info ] [ BEHAVIOR ] Run app\admin\behavior\AdminLog @app_end [ RunTime:0.000081s ]
+[ info ] [ LOG ] INIT File
+---------------------------------------------------------------
+[ 2018-05-20T18:25:54+08:00 ] 127.0.0.1 GET /admin/protector/index/status/contract?sort=id&order=desc&offset=0&limit=10&filter=%7B%7D&op=%7B%7D&_=1526811954388
+[ info ] www.promote.com/admin/protector/index/status/contract?sort=id&order=desc&offset=0&limit=10&filter=%7B%7D&op=%7B%7D&_=1526811954388 [运行时间:0.038313s][吞吐率:26.10req/s] [内存消耗:3,451.94kb] [文件加载:78]
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000017s ]
+[ info ] [ CACHE ] INIT File
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000856s ]
+[ info ] [ LANG ] /Users/matielong/promote/thinkphp/lang/zh-cn.php
+[ info ] [ ROUTE ] array (
+  'type' => 'module',
+  'module' => 
+  array (
+    0 => 'admin',
+    1 => 'protector',
+    2 => 'index',
+  ),
+)
+[ info ] [ HEADER ] array (
+  'host' => 'www.promote.com',
+  'connection' => 'keep-alive',
+  'accept' => 'application/json, text/javascript, */*; q=0.01',
+  'x-requested-with' => 'XMLHttpRequest',
+  'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36',
+  'content-type' => 'application/json',
+  'referer' => 'http://www.promote.com/admin/protector/index?status=contract&addtabs=1',
+  'accept-encoding' => 'gzip, deflate',
+  'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
+  'cookie' => 'PHPSESSID=tb8ogsdf1u2gc5a4fhh5r6f9p7; Hm_lvt_f8d0a8c400404989e195270b0bbf060a=1526267670; think_var=zh-cn; Hm_lpvt_f8d0a8c400404989e195270b0bbf060a=1526795299',
+)
+[ info ] [ PARAM ] array (
+  'sort' => 'id',
+  'order' => 'desc',
+  'offset' => '0',
+  'limit' => '10',
+  'filter' => '{}',
+  'op' => '{}',
+  '_' => '1526811954388',
+  'status' => 'contract',
+)
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn.php
+[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.000181s ]
+[ info ] [ SESSION ] INIT array (
+  'id' => '',
+  'var_session_id' => '',
+  'prefix' => 'think',
+  'type' => '',
+  'auto_start' => true,
+)
+[ info ] [ DB ] INIT mysql
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn/protector.php
+[ info ] [ RUN ] app\admin\controller\Protector->index[ /Users/matielong/promote/application/admin/controller/Protector.php ]
+[ info ] [ BEHAVIOR ] Run app\admin\behavior\AdminLog @app_end [ RunTime:0.000104s ]
+[ info ] [ LOG ] INIT File
+[ sql ] [ DB ] CONNECT:[ UseTime:0.000410s ] mysql:host=127.0.0.1;dbname=promote;charset=utf8
+[ sql ] [ SQL ] SHOW COLUMNS FROM `auth_group_access` [ RunTime:0.001932s ]
+[ sql ] [ SQL ] SELECT `aga`.`uid`,`aga`.`group_id`,`ag`.`id`,`ag`.`pid`,`ag`.`name`,`ag`.`rules` FROM `auth_group_access` `aga` LEFT JOIN `auth_group` `ag` ON `aga`.`group_id`=`ag`.`id` WHERE  (  aga.uid='1' and ag.status='normal' ) [ RunTime:0.000403s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `auth_rule` [ RunTime:0.001987s ]
+[ sql ] [ SQL ] SELECT `id`,`pid`,`condition`,`icon`,`name`,`title`,`ismenu` FROM `auth_rule` WHERE  `status` = 'normal' [ RunTime:0.000636s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `protector` [ RunTime:0.002225s ]
+[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `protector` WHERE  `status` = 2 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000418s ]
+[ sql ] [ SQL ] SELECT * FROM `protector` WHERE  `status` = 2 ORDER BY `id` DESC LIMIT 0,10 [ RunTime:0.000470s ]
+---------------------------------------------------------------
+[ 2018-05-20T18:31:59+08:00 ] 127.0.0.1 GET /admin/protector/add?dialog=1
+[ info ] www.promote.com/admin/protector/add?dialog=1 [运行时间:0.034529s][吞吐率:28.96req/s] [内存消耗:3,435.18kb] [文件加载:77]
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000018s ]
+[ info ] [ CACHE ] INIT File
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000920s ]
+[ info ] [ LANG ] /Users/matielong/promote/thinkphp/lang/zh-cn.php
+[ info ] [ ROUTE ] array (
+  'type' => 'module',
+  'module' => 
+  array (
+    0 => 'admin',
+    1 => 'protector',
+    2 => 'add',
+  ),
+)
+[ info ] [ HEADER ] array (
+  'host' => 'www.promote.com',
+  'connection' => 'keep-alive',
+  'upgrade-insecure-requests' => '1',
+  'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36',
+  'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
+  'referer' => 'http://www.promote.com/admin/protector/index?status=protect&addtabs=1',
+  'accept-encoding' => 'gzip, deflate',
+  'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
+  'cookie' => 'PHPSESSID=tb8ogsdf1u2gc5a4fhh5r6f9p7; Hm_lvt_f8d0a8c400404989e195270b0bbf060a=1526267670; think_var=zh-cn; Hm_lpvt_f8d0a8c400404989e195270b0bbf060a=1526795299',
+)
+[ info ] [ PARAM ] array (
+  'dialog' => '1',
+)
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn.php
+[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.000222s ]
+[ info ] [ SESSION ] INIT array (
+  'id' => '',
+  'var_session_id' => '',
+  'prefix' => 'think',
+  'type' => '',
+  'auto_start' => true,
+)
+[ info ] [ DB ] INIT mysql
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn/protector.php
+[ info ] [ RUN ] app\admin\controller\Protector->add[ /Users/matielong/promote/application/admin/controller/Protector.php ]
+[ info ] [ VIEW ] /Users/matielong/promote/public/../application/admin/view/protector/add.html [ array (
+  0 => 'breadcrumb',
+  1 => 'site',
+  2 => 'config',
+  3 => 'auth',
+  4 => 'admin',
+) ]
+[ info ] [ BEHAVIOR ] Run app\admin\behavior\AdminLog @app_end [ RunTime:0.000106s ]
+[ info ] [ LOG ] INIT File
+[ sql ] [ DB ] CONNECT:[ UseTime:0.000408s ] mysql:host=127.0.0.1;dbname=promote;charset=utf8
+[ sql ] [ SQL ] SHOW COLUMNS FROM `auth_group_access` [ RunTime:0.002101s ]
+[ sql ] [ SQL ] SELECT `aga`.`uid`,`aga`.`group_id`,`ag`.`id`,`ag`.`pid`,`ag`.`name`,`ag`.`rules` FROM `auth_group_access` `aga` LEFT JOIN `auth_group` `ag` ON `aga`.`group_id`=`ag`.`id` WHERE  (  aga.uid='1' and ag.status='normal' ) [ RunTime:0.000399s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `auth_rule` [ RunTime:0.001897s ]
+[ sql ] [ SQL ] SELECT `id`,`pid`,`condition`,`icon`,`name`,`title`,`ismenu` FROM `auth_rule` WHERE  `status` = 'normal' [ RunTime:0.000505s ]
+---------------------------------------------------------------
+[ 2018-05-20T18:31:59+08:00 ] 127.0.0.1 GET /admin/ajax/lang?callback=define&controllername=protector&v=1526812319
+[ info ] www.promote.com/admin/ajax/lang?callback=define&controllername=protector&v=1526812319 [运行时间:0.025204s][吞吐率:39.68req/s] [内存消耗:2,554.67kb] [文件加载:69]
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000026s ]
+[ info ] [ CACHE ] INIT File
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.001091s ]
+[ info ] [ LANG ] /Users/matielong/promote/thinkphp/lang/zh-cn.php
+[ info ] [ ROUTE ] array (
+  'type' => 'module',
+  'module' => 
+  array (
+    0 => 'admin',
+    1 => 'ajax',
+    2 => 'lang',
+  ),
+)
+[ info ] [ HEADER ] array (
+  'host' => 'www.promote.com',
+  'connection' => 'keep-alive',
+  'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36',
+  'accept' => '*/*',
+  'referer' => 'http://www.promote.com/admin/protector/add?dialog=1',
+  'accept-encoding' => 'gzip, deflate',
+  'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
+  'cookie' => 'PHPSESSID=tb8ogsdf1u2gc5a4fhh5r6f9p7; Hm_lvt_f8d0a8c400404989e195270b0bbf060a=1526267670; think_var=zh-cn; Hm_lpvt_f8d0a8c400404989e195270b0bbf060a=1526795299',
+)
+[ info ] [ PARAM ] array (
+  'callback' => 'define',
+  'controllername' => 'protector',
+  'v' => '1526812319',
+)
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn.php
+[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.000244s ]
+[ info ] [ SESSION ] INIT array (
+  'id' => '',
+  'var_session_id' => '',
+  'prefix' => 'think',
+  'type' => '',
+  'auto_start' => true,
+)
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn/ajax.php
+[ info ] [ RUN ] app\admin\controller\Ajax->lang[ /Users/matielong/promote/application/admin/controller/Ajax.php ]
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn/protector.php
+[ info ] [ BEHAVIOR ] Run app\admin\behavior\AdminLog @app_end [ RunTime:0.000131s ]
+[ info ] [ LOG ] INIT File
+---------------------------------------------------------------
+[ 2018-05-20T18:32:26+08:00 ] 127.0.0.1 POST /admin/protector/add?dialog=1
+[ info ] www.promote.com/admin/protector/add?dialog=1 [运行时间:0.036781s][吞吐率:27.19req/s] [内存消耗:3,468.54kb] [文件加载:78]
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000026s ]
+[ info ] [ CACHE ] INIT File
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000893s ]
+[ info ] [ LANG ] /Users/matielong/promote/thinkphp/lang/zh-cn.php
+[ info ] [ ROUTE ] array (
+  'type' => 'module',
+  'module' => 
+  array (
+    0 => 'admin',
+    1 => 'protector',
+    2 => 'add',
+  ),
+)
+[ info ] [ HEADER ] array (
+  'host' => 'www.promote.com',
+  'connection' => 'keep-alive',
+  'content-length' => '404',
+  'accept' => 'application/json, text/javascript, */*; q=0.01',
+  'origin' => 'http://www.promote.com',
+  'x-requested-with' => 'XMLHttpRequest',
+  'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36',
+  'content-type' => 'application/x-www-form-urlencoded; charset=UTF-8',
+  'referer' => 'http://www.promote.com/admin/protector/add?dialog=1',
+  'accept-encoding' => 'gzip, deflate',
+  'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
+  'cookie' => 'PHPSESSID=tb8ogsdf1u2gc5a4fhh5r6f9p7; Hm_lvt_f8d0a8c400404989e195270b0bbf060a=1526267670; think_var=zh-cn; Hm_lpvt_f8d0a8c400404989e195270b0bbf060a=1526795299',
+)
+[ info ] [ PARAM ] array (
+  'dialog' => '1',
+  'row' => 
+  array (
+    'unit_name' => '阿同步',
+    'contacts' => '大声点',
+    'phone' => '18110029660',
+    'fixed_phone' => '18110029654',
+    'address' => '大师大师',
+    'con_position' => '董事长',
+    'unit_type' => '都撒到',
+    'number' => '100',
+    'price' => '230',
+    'remark' => '大师大师的',
+  ),
+)
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn.php
+[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.000183s ]
+[ info ] [ SESSION ] INIT array (
+  'id' => '',
+  'var_session_id' => '',
+  'prefix' => 'think',
+  'type' => '',
+  'auto_start' => true,
+)
+[ info ] [ DB ] INIT mysql
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn/protector.php
+[ info ] [ RUN ] app\admin\controller\Protector->add[ /Users/matielong/promote/application/admin/controller/Protector.php ]
+[ info ] [ LOG ] INIT File
+[ sql ] [ DB ] CONNECT:[ UseTime:0.000502s ] mysql:host=127.0.0.1;dbname=promote;charset=utf8
+[ sql ] [ SQL ] SHOW COLUMNS FROM `auth_group_access` [ RunTime:0.002818s ]
+[ sql ] [ SQL ] SELECT `aga`.`uid`,`aga`.`group_id`,`ag`.`id`,`ag`.`pid`,`ag`.`name`,`ag`.`rules` FROM `auth_group_access` `aga` LEFT JOIN `auth_group` `ag` ON `aga`.`group_id`=`ag`.`id` WHERE  (  aga.uid='1' and ag.status='normal' ) [ RunTime:0.000566s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `auth_rule` [ RunTime:0.002494s ]
+[ sql ] [ SQL ] SELECT `id`,`pid`,`condition`,`icon`,`name`,`title`,`ismenu` FROM `auth_rule` WHERE  `status` = 'normal' [ RunTime:0.000594s ]
+[ error ] [0]致命错误: Class 'app\admin\controller\Session' not found[/Users/matielong/promote/application/admin/controller/Protector.php:117]
+---------------------------------------------------------------
+[ 2018-05-20T18:32:28+08:00 ] 127.0.0.1 GET /assets/css/skins/skin-green.css.map
+[ info ] www.promote.com/assets/css/skins/skin-green.css.map [运行时间:0.014920s][吞吐率:67.02req/s] [内存消耗:1,628.34kb] [文件加载:49]
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000017s ]
+[ info ] [ CACHE ] INIT File
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000848s ]
+[ info ] [ LANG ] /Users/matielong/promote/thinkphp/lang/zh-cn.php
+[ info ] [ ROUTE ] array (
+  'type' => 'module',
+  'module' => 
+  array (
+    0 => 'assets',
+    1 => 'css',
+    2 => 'skins',
+  ),
+)
+[ info ] [ HEADER ] array (
+  'host' => 'www.promote.com',
+  'connection' => 'keep-alive',
+  'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36',
+  'accept-encoding' => 'gzip, deflate',
+  'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
+  'cookie' => 'PHPSESSID=tb8ogsdf1u2gc5a4fhh5r6f9p7; Hm_lvt_f8d0a8c400404989e195270b0bbf060a=1526267670; think_var=zh-cn; Hm_lpvt_f8d0a8c400404989e195270b0bbf060a=1526795299',
+)
+[ info ] [ PARAM ] array (
+)
+[ info ] [ LOG ] INIT File
+---------------------------------------------------------------
+[ 2018-05-20T18:32:28+08:00 ] 127.0.0.1 GET /assets/css/bootstrap.min.css.map
+[ info ] www.promote.com/assets/css/bootstrap.min.css.map [运行时间:0.015653s][吞吐率:63.89req/s] [内存消耗:1,628.39kb] [文件加载:49]
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000015s ]
+[ info ] [ CACHE ] INIT File
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000939s ]
+[ info ] [ LANG ] /Users/matielong/promote/thinkphp/lang/zh-cn.php
+[ info ] [ ROUTE ] array (
+  'type' => 'module',
+  'module' => 
+  array (
+    0 => 'assets',
+    1 => 'css',
+    2 => 'bootstrap.min.css.map',
+  ),
+)
+[ info ] [ HEADER ] array (
+  'host' => 'www.promote.com',
+  'connection' => 'keep-alive',
+  'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36',
+  'accept-encoding' => 'gzip, deflate',
+  'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
+  'cookie' => 'PHPSESSID=tb8ogsdf1u2gc5a4fhh5r6f9p7; Hm_lvt_f8d0a8c400404989e195270b0bbf060a=1526267670; think_var=zh-cn; Hm_lpvt_f8d0a8c400404989e195270b0bbf060a=1526795299',
+)
+[ info ] [ PARAM ] array (
+)
+[ info ] [ LOG ] INIT File
+---------------------------------------------------------------
+[ 2018-05-20T18:32:28+08:00 ] 127.0.0.1 GET /assets/css/fastadmin.min.css.map
+[ info ] www.promote.com/assets/css/fastadmin.min.css.map [运行时间:0.015279s][吞吐率:65.45req/s] [内存消耗:1,628.39kb] [文件加载:49]
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000014s ]
+[ info ] [ CACHE ] INIT File
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000993s ]
+[ info ] [ LANG ] /Users/matielong/promote/thinkphp/lang/zh-cn.php
+[ info ] [ ROUTE ] array (
+  'type' => 'module',
+  'module' => 
+  array (
+    0 => 'assets',
+    1 => 'css',
+    2 => 'fastadmin.min.css.map',
+  ),
+)
+[ info ] [ HEADER ] array (
+  'host' => 'www.promote.com',
+  'connection' => 'keep-alive',
+  'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36',
+  'accept-encoding' => 'gzip, deflate',
+  'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
+  'cookie' => 'PHPSESSID=tb8ogsdf1u2gc5a4fhh5r6f9p7; Hm_lvt_f8d0a8c400404989e195270b0bbf060a=1526267670; think_var=zh-cn; Hm_lpvt_f8d0a8c400404989e195270b0bbf060a=1526795299',
+)
+[ info ] [ PARAM ] array (
+)
+[ info ] [ LOG ] INIT File
+---------------------------------------------------------------
+[ 2018-05-20T18:32:31+08:00 ] 127.0.0.1 POST /admin/protector/add?dialog=1
+[ info ] www.promote.com/admin/protector/add?dialog=1 [运行时间:0.040163s][吞吐率:24.90req/s] [内存消耗:3,468.54kb] [文件加载:78]
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000024s ]
+[ info ] [ CACHE ] INIT File
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.001396s ]
+[ info ] [ LANG ] /Users/matielong/promote/thinkphp/lang/zh-cn.php
+[ info ] [ ROUTE ] array (
+  'type' => 'module',
+  'module' => 
+  array (
+    0 => 'admin',
+    1 => 'protector',
+    2 => 'add',
+  ),
+)
+[ info ] [ HEADER ] array (
+  'host' => 'www.promote.com',
+  'connection' => 'keep-alive',
+  'content-length' => '404',
+  'accept' => 'application/json, text/javascript, */*; q=0.01',
+  'origin' => 'http://www.promote.com',
+  'x-requested-with' => 'XMLHttpRequest',
+  'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36',
+  'content-type' => 'application/x-www-form-urlencoded; charset=UTF-8',
+  'referer' => 'http://www.promote.com/admin/protector/add?dialog=1',
+  'accept-encoding' => 'gzip, deflate',
+  'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
+  'cookie' => 'PHPSESSID=tb8ogsdf1u2gc5a4fhh5r6f9p7; Hm_lvt_f8d0a8c400404989e195270b0bbf060a=1526267670; think_var=zh-cn; Hm_lpvt_f8d0a8c400404989e195270b0bbf060a=1526795299',
+)
+[ info ] [ PARAM ] array (
+  'dialog' => '1',
+  'row' => 
+  array (
+    'unit_name' => '阿同步',
+    'contacts' => '大声点',
+    'phone' => '18110029660',
+    'fixed_phone' => '18110029654',
+    'address' => '大师大师',
+    'con_position' => '董事长',
+    'unit_type' => '都撒到',
+    'number' => '100',
+    'price' => '230',
+    'remark' => '大师大师的',
+  ),
+)
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn.php
+[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.000186s ]
+[ info ] [ SESSION ] INIT array (
+  'id' => '',
+  'var_session_id' => '',
+  'prefix' => 'think',
+  'type' => '',
+  'auto_start' => true,
+)
+[ info ] [ DB ] INIT mysql
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn/protector.php
+[ info ] [ RUN ] app\admin\controller\Protector->add[ /Users/matielong/promote/application/admin/controller/Protector.php ]
+[ info ] [ LOG ] INIT File
+[ sql ] [ DB ] CONNECT:[ UseTime:0.000419s ] mysql:host=127.0.0.1;dbname=promote;charset=utf8
+[ sql ] [ SQL ] SHOW COLUMNS FROM `auth_group_access` [ RunTime:0.002100s ]
+[ sql ] [ SQL ] SELECT `aga`.`uid`,`aga`.`group_id`,`ag`.`id`,`ag`.`pid`,`ag`.`name`,`ag`.`rules` FROM `auth_group_access` `aga` LEFT JOIN `auth_group` `ag` ON `aga`.`group_id`=`ag`.`id` WHERE  (  aga.uid='1' and ag.status='normal' ) [ RunTime:0.000493s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `auth_rule` [ RunTime:0.002524s ]
+[ sql ] [ SQL ] SELECT `id`,`pid`,`condition`,`icon`,`name`,`title`,`ismenu` FROM `auth_rule` WHERE  `status` = 'normal' [ RunTime:0.000715s ]
+[ error ] [0]致命错误: Class 'app\admin\controller\Session' not found[/Users/matielong/promote/application/admin/controller/Protector.php:117]
+---------------------------------------------------------------
+[ 2018-05-20T18:32:51+08:00 ] 127.0.0.1 POST /admin/protector/add?dialog=1
+[ info ] www.promote.com/admin/protector/add?dialog=1 [运行时间:0.036946s][吞吐率:27.07req/s] [内存消耗:3,468.43kb] [文件加载:78]
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000024s ]
+[ info ] [ CACHE ] INIT File
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.001138s ]
+[ info ] [ LANG ] /Users/matielong/promote/thinkphp/lang/zh-cn.php
+[ info ] [ ROUTE ] array (
+  'type' => 'module',
+  'module' => 
+  array (
+    0 => 'admin',
+    1 => 'protector',
+    2 => 'add',
+  ),
+)
+[ info ] [ HEADER ] array (
+  'host' => 'www.promote.com',
+  'connection' => 'keep-alive',
+  'content-length' => '404',
+  'accept' => 'application/json, text/javascript, */*; q=0.01',
+  'origin' => 'http://www.promote.com',
+  'x-requested-with' => 'XMLHttpRequest',
+  'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36',
+  'content-type' => 'application/x-www-form-urlencoded; charset=UTF-8',
+  'referer' => 'http://www.promote.com/admin/protector/add?dialog=1',
+  'accept-encoding' => 'gzip, deflate',
+  'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
+  'cookie' => 'PHPSESSID=tb8ogsdf1u2gc5a4fhh5r6f9p7; Hm_lvt_f8d0a8c400404989e195270b0bbf060a=1526267670; think_var=zh-cn; Hm_lpvt_f8d0a8c400404989e195270b0bbf060a=1526795299',
+)
+[ info ] [ PARAM ] array (
+  'dialog' => '1',
+  'row' => 
+  array (
+    'unit_name' => '阿同步',
+    'contacts' => '大声点',
+    'phone' => '18110029660',
+    'fixed_phone' => '18110029654',
+    'address' => '大师大师',
+    'con_position' => '董事长',
+    'unit_type' => '都撒到',
+    'number' => '100',
+    'price' => '230',
+    'remark' => '大师大师的',
+  ),
+)
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn.php
+[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.000265s ]
+[ info ] [ SESSION ] INIT array (
+  'id' => '',
+  'var_session_id' => '',
+  'prefix' => 'think',
+  'type' => '',
+  'auto_start' => true,
+)
+[ info ] [ DB ] INIT mysql
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn/protector.php
+[ info ] [ RUN ] app\admin\controller\Protector->add[ /Users/matielong/promote/application/admin/controller/Protector.php ]
+[ info ] [ LOG ] INIT File
+[ sql ] [ DB ] CONNECT:[ UseTime:0.000400s ] mysql:host=127.0.0.1;dbname=promote;charset=utf8
+[ sql ] [ SQL ] SHOW COLUMNS FROM `auth_group_access` [ RunTime:0.002145s ]
+[ sql ] [ SQL ] SELECT `aga`.`uid`,`aga`.`group_id`,`ag`.`id`,`ag`.`pid`,`ag`.`name`,`ag`.`rules` FROM `auth_group_access` `aga` LEFT JOIN `auth_group` `ag` ON `aga`.`group_id`=`ag`.`id` WHERE  (  aga.uid='1' and ag.status='normal' ) [ RunTime:0.000486s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `auth_rule` [ RunTime:0.001993s ]
+[ sql ] [ SQL ] SELECT `id`,`pid`,`condition`,`icon`,`name`,`title`,`ismenu` FROM `auth_rule` WHERE  `status` = 'normal' [ RunTime:0.000533s ]
+[ error ] [0]致命错误: Class 'app\admin\controller\AuthGroupAccess' not found[/Users/matielong/promote/application/admin/controller/Protector.php:121]
+---------------------------------------------------------------
+[ 2018-05-20T18:33:03+08:00 ] 127.0.0.1 POST /admin/protector/add?dialog=1
+[ info ] www.promote.com/admin/protector/add?dialog=1 [运行时间:0.046654s][吞吐率:21.43req/s] [内存消耗:3,439.58kb] [文件加载:80]
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000019s ]
+[ info ] [ CACHE ] INIT File
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000903s ]
+[ info ] [ LANG ] /Users/matielong/promote/thinkphp/lang/zh-cn.php
+[ info ] [ ROUTE ] array (
+  'type' => 'module',
+  'module' => 
+  array (
+    0 => 'admin',
+    1 => 'protector',
+    2 => 'add',
+  ),
+)
+[ info ] [ HEADER ] array (
+  'host' => 'www.promote.com',
+  'connection' => 'keep-alive',
+  'content-length' => '404',
+  'accept' => 'application/json, text/javascript, */*; q=0.01',
+  'origin' => 'http://www.promote.com',
+  'x-requested-with' => 'XMLHttpRequest',
+  'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36',
+  'content-type' => 'application/x-www-form-urlencoded; charset=UTF-8',
+  'referer' => 'http://www.promote.com/admin/protector/add?dialog=1',
+  'accept-encoding' => 'gzip, deflate',
+  'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
+  'cookie' => 'PHPSESSID=tb8ogsdf1u2gc5a4fhh5r6f9p7; Hm_lvt_f8d0a8c400404989e195270b0bbf060a=1526267670; think_var=zh-cn; Hm_lpvt_f8d0a8c400404989e195270b0bbf060a=1526795299',
+)
+[ info ] [ PARAM ] array (
+  'dialog' => '1',
+  'row' => 
+  array (
+    'unit_name' => '阿同步',
+    'contacts' => '大声点',
+    'phone' => '18110029660',
+    'fixed_phone' => '18110029654',
+    'address' => '大师大师',
+    'con_position' => '董事长',
+    'unit_type' => '都撒到',
+    'number' => '100',
+    'price' => '230',
+    'remark' => '大师大师的',
+  ),
+)
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn.php
+[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.000237s ]
+[ info ] [ SESSION ] INIT array (
+  'id' => '',
+  'var_session_id' => '',
+  'prefix' => 'think',
+  'type' => '',
+  'auto_start' => true,
+)
+[ info ] [ DB ] INIT mysql
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn/protector.php
+[ info ] [ RUN ] app\admin\controller\Protector->add[ /Users/matielong/promote/application/admin/controller/Protector.php ]
+[ info ] [ BEHAVIOR ] Run app\admin\behavior\AdminLog @app_end [ RunTime:0.003186s ]
+[ info ] [ LOG ] INIT File
+[ sql ] [ DB ] CONNECT:[ UseTime:0.000796s ] mysql:host=127.0.0.1;dbname=promote;charset=utf8
+[ sql ] [ SQL ] SHOW COLUMNS FROM `auth_group_access` [ RunTime:0.002128s ]
+[ sql ] [ SQL ] SELECT `aga`.`uid`,`aga`.`group_id`,`ag`.`id`,`ag`.`pid`,`ag`.`name`,`ag`.`rules` FROM `auth_group_access` `aga` LEFT JOIN `auth_group` `ag` ON `aga`.`group_id`=`ag`.`id` WHERE  (  aga.uid='1' and ag.status='normal' ) [ RunTime:0.000424s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `auth_rule` [ RunTime:0.002072s ]
+[ sql ] [ SQL ] SELECT `id`,`pid`,`condition`,`icon`,`name`,`title`,`ismenu` FROM `auth_rule` WHERE  `status` = 'normal' [ RunTime:0.000568s ]
+[ sql ] [ SQL ] SELECT `g`.`name` FROM `auth_group_access` `a` INNER JOIN `auth_group` `g` ON a.uid WHERE  `uid` = 1 LIMIT 1 [ RunTime:0.000398s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `protector` [ RunTime:0.002509s ]
+[ sql ] [ SQL ] INSERT INTO `protector` (`unit_name` , `contacts` , `phone` , `fixed_phone` , `address` , `con_position` , `unit_type` , `number` , `price` , `remark` , `usr_id` , `usr_nickname` , `usr_depart`) VALUES ('阿同步' , '大声点' , '18110029660' , '18110029654' , '大师大师' , '董事长' , '都撒到' , 100 , 230 , '大师大师的' , 1 , 'Admin' , 'Admin group') [ RunTime:0.000527s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `admin_log` [ RunTime:0.001925s ]
+[ sql ] [ SQL ] INSERT INTO `admin_log` (`title` , `content` , `url` , `admin_id` , `username` , `useragent` , `ip` , `createtime`) VALUES ('保护客户 添加' , '{\"dialog\":\"1\",\"row\":{\"unit_name\":\"\\u963f\\u540c\\u6b65\",\"contacts\":\"\\u5927\\u58f0\\u70b9\",\"phone\":\"18110029660\",\"fixed_phone\":\"18110029654\",\"address\":\"\\u5927\\u5e08\\u5927\\u5e08\",\"con_position\":\"\\u8463\\u4e8b\\u957f\",\"unit_type\":\"\\u90fd\\u6492\\u5230\",\"number\":\"100\",\"price\":\"230\",\"remark\":\"\\u5927\\u5e08\\u5927\\u5e08\\u7684\"}}' , '/admin/protector/add?dialog=1' , 1 , 'admin' , 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36' , '127.0.0.1' , 1526812383) [ RunTime:0.000696s ]
+---------------------------------------------------------------
+[ 2018-05-20T18:33:03+08:00 ] 127.0.0.1 GET /admin/protector/index/status/protect?sort=id&order=desc&offset=0&limit=10&filter=%7B%7D&op=%7B%7D&_=1526811680181
+[ info ] www.promote.com/admin/protector/index/status/protect?sort=id&order=desc&offset=0&limit=10&filter=%7B%7D&op=%7B%7D&_=1526811680181 [运行时间:0.040749s][吞吐率:24.54req/s] [内存消耗:3,469.43kb] [文件加载:79]
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000026s ]
+[ info ] [ CACHE ] INIT File
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.001020s ]
+[ info ] [ LANG ] /Users/matielong/promote/thinkphp/lang/zh-cn.php
+[ info ] [ ROUTE ] array (
+  'type' => 'module',
+  'module' => 
+  array (
+    0 => 'admin',
+    1 => 'protector',
+    2 => 'index',
+  ),
+)
+[ info ] [ HEADER ] array (
+  'host' => 'www.promote.com',
+  'connection' => 'keep-alive',
+  'accept' => 'application/json, text/javascript, */*; q=0.01',
+  'x-requested-with' => 'XMLHttpRequest',
+  'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36',
+  'content-type' => 'application/json',
+  'referer' => 'http://www.promote.com/admin/protector/index?status=protect&addtabs=1',
+  'accept-encoding' => 'gzip, deflate',
+  'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
+  'cookie' => 'PHPSESSID=tb8ogsdf1u2gc5a4fhh5r6f9p7; Hm_lvt_f8d0a8c400404989e195270b0bbf060a=1526267670; think_var=zh-cn; Hm_lpvt_f8d0a8c400404989e195270b0bbf060a=1526795299',
+)
+[ info ] [ PARAM ] array (
+  'sort' => 'id',
+  'order' => 'desc',
+  'offset' => '0',
+  'limit' => '10',
+  'filter' => '{}',
+  'op' => '{}',
+  '_' => '1526811680181',
+  'status' => 'protect',
+)
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn.php
+[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.000184s ]
+[ info ] [ SESSION ] INIT array (
+  'id' => '',
+  'var_session_id' => '',
+  'prefix' => 'think',
+  'type' => '',
+  'auto_start' => true,
+)
+[ info ] [ DB ] INIT mysql
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn/protector.php
+[ info ] [ RUN ] app\admin\controller\Protector->index[ /Users/matielong/promote/application/admin/controller/Protector.php ]
+[ info ] [ BEHAVIOR ] Run app\admin\behavior\AdminLog @app_end [ RunTime:0.000089s ]
+[ info ] [ LOG ] INIT File
+[ sql ] [ DB ] CONNECT:[ UseTime:0.000525s ] mysql:host=127.0.0.1;dbname=promote;charset=utf8
+[ sql ] [ SQL ] SHOW COLUMNS FROM `auth_group_access` [ RunTime:0.002467s ]
+[ sql ] [ SQL ] SELECT `aga`.`uid`,`aga`.`group_id`,`ag`.`id`,`ag`.`pid`,`ag`.`name`,`ag`.`rules` FROM `auth_group_access` `aga` LEFT JOIN `auth_group` `ag` ON `aga`.`group_id`=`ag`.`id` WHERE  (  aga.uid='1' and ag.status='normal' ) [ RunTime:0.000575s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `auth_rule` [ RunTime:0.002513s ]
+[ sql ] [ SQL ] SELECT `id`,`pid`,`condition`,`icon`,`name`,`title`,`ismenu` FROM `auth_rule` WHERE  `status` = 'normal' [ RunTime:0.000676s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `protector` [ RunTime:0.001953s ]
+[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `protector` WHERE  `status` = 0 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000327s ]
+[ sql ] [ SQL ] SELECT * FROM `protector` WHERE  `status` = 0 ORDER BY `id` DESC LIMIT 0,10 [ RunTime:0.000410s ]
+---------------------------------------------------------------
+[ 2018-05-20T18:33:09+08:00 ] 127.0.0.1 POST /admin/protector/del/ids/3
+[ info ] www.promote.com/admin/protector/del/ids/3 [运行时间:0.041262s][吞吐率:24.24req/s] [内存消耗:3,414.02kb] [文件加载:79]
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000018s ]
+[ info ] [ CACHE ] INIT File
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000841s ]
+[ info ] [ LANG ] /Users/matielong/promote/thinkphp/lang/zh-cn.php
+[ info ] [ ROUTE ] array (
+  'type' => 'module',
+  'module' => 
+  array (
+    0 => 'admin',
+    1 => 'protector',
+    2 => 'del',
+  ),
+)
+[ info ] [ HEADER ] array (
+  'host' => 'www.promote.com',
+  'connection' => 'keep-alive',
+  'content-length' => '24',
+  'accept' => 'application/json, text/javascript, */*; q=0.01',
+  'origin' => 'http://www.promote.com',
+  'x-requested-with' => 'XMLHttpRequest',
+  'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36',
+  'content-type' => 'application/x-www-form-urlencoded; charset=UTF-8',
+  'referer' => 'http://www.promote.com/admin/protector/index?status=protect&addtabs=1',
+  'accept-encoding' => 'gzip, deflate',
+  'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
+  'cookie' => 'PHPSESSID=tb8ogsdf1u2gc5a4fhh5r6f9p7; Hm_lvt_f8d0a8c400404989e195270b0bbf060a=1526267670; think_var=zh-cn; Hm_lpvt_f8d0a8c400404989e195270b0bbf060a=1526795299',
+)
+[ info ] [ PARAM ] array (
+  'action' => 'del',
+  'ids' => '3',
+  'params' => '',
+)
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn.php
+[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.000240s ]
+[ info ] [ SESSION ] INIT array (
+  'id' => '',
+  'var_session_id' => '',
+  'prefix' => 'think',
+  'type' => '',
+  'auto_start' => true,
+)
+[ info ] [ DB ] INIT mysql
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn/protector.php
+[ info ] [ RUN ] app\common\controller\Backend->del[ /Users/matielong/promote/application/admin/library/traits/Backend.php ]
+[ info ] [ BEHAVIOR ] Run app\admin\behavior\AdminLog @app_end [ RunTime:0.002708s ]
+[ info ] [ LOG ] INIT File
+[ sql ] [ DB ] CONNECT:[ UseTime:0.000442s ] mysql:host=127.0.0.1;dbname=promote;charset=utf8
+[ sql ] [ SQL ] SHOW COLUMNS FROM `auth_group_access` [ RunTime:0.002124s ]
+[ sql ] [ SQL ] SELECT `aga`.`uid`,`aga`.`group_id`,`ag`.`id`,`ag`.`pid`,`ag`.`name`,`ag`.`rules` FROM `auth_group_access` `aga` LEFT JOIN `auth_group` `ag` ON `aga`.`group_id`=`ag`.`id` WHERE  (  aga.uid='1' and ag.status='normal' ) [ RunTime:0.000454s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `auth_rule` [ RunTime:0.001993s ]
+[ sql ] [ SQL ] SELECT `id`,`pid`,`condition`,`icon`,`name`,`title`,`ismenu` FROM `auth_rule` WHERE  `status` = 'normal' [ RunTime:0.000755s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `protector` [ RunTime:0.002115s ]
+[ sql ] [ SQL ] SELECT * FROM `protector` WHERE  `id` IN (3) [ RunTime:0.000355s ]
+[ sql ] [ SQL ] DELETE FROM `protector`    WHERE  `id` = 3 [ RunTime:0.000562s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `admin_log` [ RunTime:0.001847s ]
+[ sql ] [ SQL ] INSERT INTO `admin_log` (`title` , `content` , `url` , `admin_id` , `username` , `useragent` , `ip` , `createtime`) VALUES ('保护客户 删除' , '{\"action\":\"del\",\"ids\":\"3\",\"params\":\"\"}' , '/admin/protector/del/ids/3' , 1 , 'admin' , 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36' , '127.0.0.1' , 1526812389) [ RunTime:0.000365s ]
+---------------------------------------------------------------
+[ 2018-05-20T18:33:09+08:00 ] 127.0.0.1 GET /admin/protector/index/status/protect?sort=id&order=desc&offset=0&limit=10&filter=%7B%7D&op=%7B%7D&_=1526811680182
+[ info ] www.promote.com/admin/protector/index/status/protect?sort=id&order=desc&offset=0&limit=10&filter=%7B%7D&op=%7B%7D&_=1526811680182 [运行时间:0.039571s][吞吐率:25.27req/s] [内存消耗:3,468.74kb] [文件加载:79]
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000016s ]
+[ info ] [ CACHE ] INIT File
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000893s ]
+[ info ] [ LANG ] /Users/matielong/promote/thinkphp/lang/zh-cn.php
+[ info ] [ ROUTE ] array (
+  'type' => 'module',
+  'module' => 
+  array (
+    0 => 'admin',
+    1 => 'protector',
+    2 => 'index',
+  ),
+)
+[ info ] [ HEADER ] array (
+  'host' => 'www.promote.com',
+  'connection' => 'keep-alive',
+  'accept' => 'application/json, text/javascript, */*; q=0.01',
+  'x-requested-with' => 'XMLHttpRequest',
+  'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36',
+  'content-type' => 'application/json',
+  'referer' => 'http://www.promote.com/admin/protector/index?status=protect&addtabs=1',
+  'accept-encoding' => 'gzip, deflate',
+  'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
+  'cookie' => 'PHPSESSID=tb8ogsdf1u2gc5a4fhh5r6f9p7; Hm_lvt_f8d0a8c400404989e195270b0bbf060a=1526267670; think_var=zh-cn; Hm_lpvt_f8d0a8c400404989e195270b0bbf060a=1526795299',
+)
+[ info ] [ PARAM ] array (
+  'sort' => 'id',
+  'order' => 'desc',
+  'offset' => '0',
+  'limit' => '10',
+  'filter' => '{}',
+  'op' => '{}',
+  '_' => '1526811680182',
+  'status' => 'protect',
+)
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn.php
+[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.000199s ]
+[ info ] [ SESSION ] INIT array (
+  'id' => '',
+  'var_session_id' => '',
+  'prefix' => 'think',
+  'type' => '',
+  'auto_start' => true,
+)
+[ info ] [ DB ] INIT mysql
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn/protector.php
+[ info ] [ RUN ] app\admin\controller\Protector->index[ /Users/matielong/promote/application/admin/controller/Protector.php ]
+[ info ] [ BEHAVIOR ] Run app\admin\behavior\AdminLog @app_end [ RunTime:0.000088s ]
+[ info ] [ LOG ] INIT File
+[ sql ] [ DB ] CONNECT:[ UseTime:0.000513s ] mysql:host=127.0.0.1;dbname=promote;charset=utf8
+[ sql ] [ SQL ] SHOW COLUMNS FROM `auth_group_access` [ RunTime:0.002096s ]
+[ sql ] [ SQL ] SELECT `aga`.`uid`,`aga`.`group_id`,`ag`.`id`,`ag`.`pid`,`ag`.`name`,`ag`.`rules` FROM `auth_group_access` `aga` LEFT JOIN `auth_group` `ag` ON `aga`.`group_id`=`ag`.`id` WHERE  (  aga.uid='1' and ag.status='normal' ) [ RunTime:0.000432s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `auth_rule` [ RunTime:0.001910s ]
+[ sql ] [ SQL ] SELECT `id`,`pid`,`condition`,`icon`,`name`,`title`,`ismenu` FROM `auth_rule` WHERE  `status` = 'normal' [ RunTime:0.000555s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `protector` [ RunTime:0.002677s ]
+[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `protector` WHERE  `status` = 0 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000331s ]
+[ sql ] [ SQL ] SELECT * FROM `protector` WHERE  `status` = 0 ORDER BY `id` DESC LIMIT 0,10 [ RunTime:0.000372s ]
+---------------------------------------------------------------
+[ 2018-05-20T18:42:40+08:00 ] 127.0.0.1 GET /admin/auth/admin?addtabs=1
+[ info ] www.promote.com/admin/auth/admin?addtabs=1 [运行时间:0.044017s][吞吐率:22.72req/s] [内存消耗:3,502.36kb] [文件加载:80]
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000016s ]
+[ info ] [ CACHE ] INIT File
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.001049s ]
+[ info ] [ LANG ] /Users/matielong/promote/thinkphp/lang/zh-cn.php
+[ info ] [ ROUTE ] array (
+  'type' => 'module',
+  'module' => 
+  array (
+    0 => 'admin',
+    1 => 'auth.admin',
+    2 => NULL,
+  ),
+)
+[ info ] [ HEADER ] array (
+  'host' => 'www.promote.com',
+  'connection' => 'keep-alive',
+  'upgrade-insecure-requests' => '1',
+  'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36',
+  'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
+  'referer' => 'http://www.promote.com/admin/auth/admin?ref=addtabs',
+  'accept-encoding' => 'gzip, deflate',
+  'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
+  'cookie' => 'PHPSESSID=tb8ogsdf1u2gc5a4fhh5r6f9p7; Hm_lvt_f8d0a8c400404989e195270b0bbf060a=1526267670; think_var=zh-cn; Hm_lpvt_f8d0a8c400404989e195270b0bbf060a=1526795299',
+)
+[ info ] [ PARAM ] array (
+  'addtabs' => '1',
+)
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn.php
+[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.000244s ]
+[ info ] [ SESSION ] INIT array (
+  'id' => '',
+  'var_session_id' => '',
+  'prefix' => 'think',
+  'type' => '',
+  'auto_start' => true,
+)
+[ info ] [ DB ] INIT mysql
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn/auth/admin.php
+[ info ] [ RUN ] app\admin\controller\auth\Admin->index[ /Users/matielong/promote/application/admin/controller/auth/Admin.php ]
+[ info ] [ VIEW ] /Users/matielong/promote/public/../application/admin/view/auth/admin/index.html [ array (
+  0 => 'breadcrumb',
+  1 => 'site',
+  2 => 'config',
+  3 => 'auth',
+  4 => 'admin',
+  5 => 'groupdata',
+) ]
+[ info ] [ BEHAVIOR ] Run app\admin\behavior\AdminLog @app_end [ RunTime:0.000086s ]
+[ info ] [ LOG ] INIT File
+[ sql ] [ DB ] CONNECT:[ UseTime:0.000385s ] mysql:host=127.0.0.1;dbname=promote;charset=utf8
+[ sql ] [ SQL ] SHOW COLUMNS FROM `auth_group_access` [ RunTime:0.002406s ]
+[ sql ] [ SQL ] SELECT `aga`.`uid`,`aga`.`group_id`,`ag`.`id`,`ag`.`pid`,`ag`.`name`,`ag`.`rules` FROM `auth_group_access` `aga` LEFT JOIN `auth_group` `ag` ON `aga`.`group_id`=`ag`.`id` WHERE  (  aga.uid='1' and ag.status='normal' ) [ RunTime:0.000667s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `auth_rule` [ RunTime:0.002039s ]
+[ sql ] [ SQL ] SELECT `id`,`pid`,`condition`,`icon`,`name`,`title`,`ismenu` FROM `auth_rule` WHERE  `status` = 'normal' [ RunTime:0.000694s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `admin` [ RunTime:0.002227s ]
+[ sql ] [ SQL ] SELECT `id` FROM `admin` [ RunTime:0.000272s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `auth_group` [ RunTime:0.002501s ]
+[ sql ] [ SQL ] SELECT * FROM `auth_group` WHERE  `status` = 'normal' [ RunTime:0.000401s ]
+[ sql ] [ SQL ] SELECT * FROM `auth_group` WHERE  `id` IN (1) [ RunTime:0.000422s ]
+[ sql ] [ SQL ] SELECT `title`,`remark` FROM `auth_rule` WHERE  `name` = 'auth/admin' LIMIT 1 [ RunTime:0.000365s ]
+---------------------------------------------------------------
+[ 2018-05-20T18:42:40+08:00 ] 127.0.0.1 GET /admin/ajax/lang?callback=define&controllername=auth.admin&v=1526812960
+[ info ] www.promote.com/admin/ajax/lang?callback=define&controllername=auth.admin&v=1526812960 [运行时间:0.022916s][吞吐率:43.64req/s] [内存消耗:2,553.79kb] [文件加载:69]
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000018s ]
+[ info ] [ CACHE ] INIT File
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000983s ]
+[ info ] [ LANG ] /Users/matielong/promote/thinkphp/lang/zh-cn.php
+[ info ] [ ROUTE ] array (
+  'type' => 'module',
+  'module' => 
+  array (
+    0 => 'admin',
+    1 => 'ajax',
+    2 => 'lang',
+  ),
+)
+[ info ] [ HEADER ] array (
+  'host' => 'www.promote.com',
+  'connection' => 'keep-alive',
+  'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36',
+  'accept' => '*/*',
+  'referer' => 'http://www.promote.com/admin/auth/admin?addtabs=1',
+  'accept-encoding' => 'gzip, deflate',
+  'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
+  'cookie' => 'PHPSESSID=tb8ogsdf1u2gc5a4fhh5r6f9p7; Hm_lvt_f8d0a8c400404989e195270b0bbf060a=1526267670; think_var=zh-cn; Hm_lpvt_f8d0a8c400404989e195270b0bbf060a=1526795299',
+)
+[ info ] [ PARAM ] array (
+  'callback' => 'define',
+  'controllername' => 'auth.admin',
+  'v' => '1526812960',
+)
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn.php
+[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.000185s ]
+[ info ] [ SESSION ] INIT array (
+  'id' => '',
+  'var_session_id' => '',
+  'prefix' => 'think',
+  'type' => '',
+  'auto_start' => true,
+)
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn/ajax.php
+[ info ] [ RUN ] app\admin\controller\Ajax->lang[ /Users/matielong/promote/application/admin/controller/Ajax.php ]
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn/auth/admin.php
+[ info ] [ BEHAVIOR ] Run app\admin\behavior\AdminLog @app_end [ RunTime:0.000148s ]
+[ info ] [ LOG ] INIT File
+---------------------------------------------------------------
+[ 2018-05-20T18:42:40+08:00 ] 127.0.0.1 GET /admin/auth/admin/index?sort=id&order=desc&offset=0&limit=10&filter=%7B%7D&op=%7B%7D&_=1526812960494
+[ info ] www.promote.com/admin/auth/admin/index?sort=id&order=desc&offset=0&limit=10&filter=%7B%7D&op=%7B%7D&_=1526812960494 [运行时间:0.045340s][吞吐率:22.06req/s] [内存消耗:3,526.96kb] [文件加载:81]
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000018s ]
+[ info ] [ CACHE ] INIT File
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000946s ]
+[ info ] [ LANG ] /Users/matielong/promote/thinkphp/lang/zh-cn.php
+[ info ] [ ROUTE ] array (
+  'type' => 'module',
+  'module' => 
+  array (
+    0 => 'admin',
+    1 => 'auth.admin',
+    2 => 'index',
+  ),
+)
+[ info ] [ HEADER ] array (
+  'host' => 'www.promote.com',
+  'connection' => 'keep-alive',
+  'accept' => 'application/json, text/javascript, */*; q=0.01',
+  'x-requested-with' => 'XMLHttpRequest',
+  'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36',
+  'content-type' => 'application/json',
+  'referer' => 'http://www.promote.com/admin/auth/admin?addtabs=1',
+  'accept-encoding' => 'gzip, deflate',
+  'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
+  'cookie' => 'PHPSESSID=tb8ogsdf1u2gc5a4fhh5r6f9p7; Hm_lvt_f8d0a8c400404989e195270b0bbf060a=1526267670; think_var=zh-cn; Hm_lpvt_f8d0a8c400404989e195270b0bbf060a=1526795299',
+)
+[ info ] [ PARAM ] array (
+  'sort' => 'id',
+  'order' => 'desc',
+  'offset' => '0',
+  'limit' => '10',
+  'filter' => '{}',
+  'op' => '{}',
+  '_' => '1526812960494',
+)
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn.php
+[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.000450s ]
+[ info ] [ SESSION ] INIT array (
+  'id' => '',
+  'var_session_id' => '',
+  'prefix' => 'think',
+  'type' => '',
+  'auto_start' => true,
+)
+[ info ] [ DB ] INIT mysql
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn/auth/admin.php
+[ info ] [ RUN ] app\admin\controller\auth\Admin->index[ /Users/matielong/promote/application/admin/controller/auth/Admin.php ]
+[ info ] [ BEHAVIOR ] Run app\admin\behavior\AdminLog @app_end [ RunTime:0.000104s ]
+[ info ] [ LOG ] INIT File
+[ sql ] [ DB ] CONNECT:[ UseTime:0.000393s ] mysql:host=127.0.0.1;dbname=promote;charset=utf8
+[ sql ] [ SQL ] SHOW COLUMNS FROM `auth_group_access` [ RunTime:0.001989s ]
+[ sql ] [ SQL ] SELECT `aga`.`uid`,`aga`.`group_id`,`ag`.`id`,`ag`.`pid`,`ag`.`name`,`ag`.`rules` FROM `auth_group_access` `aga` LEFT JOIN `auth_group` `ag` ON `aga`.`group_id`=`ag`.`id` WHERE  (  aga.uid='1' and ag.status='normal' ) [ RunTime:0.000403s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `auth_rule` [ RunTime:0.002106s ]
+[ sql ] [ SQL ] SELECT `id`,`pid`,`condition`,`icon`,`name`,`title`,`ismenu` FROM `auth_rule` WHERE  `status` = 'normal' [ RunTime:0.000538s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `admin` [ RunTime:0.002508s ]
+[ sql ] [ SQL ] SELECT `id` FROM `admin` [ RunTime:0.000322s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `auth_group` [ RunTime:0.002044s ]
+[ sql ] [ SQL ] SELECT * FROM `auth_group` WHERE  `status` = 'normal' [ RunTime:0.000322s ]
+[ sql ] [ SQL ] SELECT * FROM `auth_group` WHERE  `id` IN (1) [ RunTime:0.000276s ]
+[ sql ] [ SQL ] SELECT `id`,`name` FROM `auth_group` WHERE  `id` IN (1) [ RunTime:0.000272s ]
+[ sql ] [ SQL ] SELECT `uid`,`group_id` FROM `auth_group_access` WHERE  `group_id` IN (1) [ RunTime:0.000416s ]
+[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `admin` WHERE  `id` IN (1) ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000250s ]
+[ sql ] [ SQL ] SELECT `id`,`username`,`nickname`,`avatar`,`email`,`loginfailure`,`logintime`,`createtime`,`updatetime`,`status`,`protect_count`,`protect_day`,`free_day` FROM `admin` WHERE  `id` IN (1) ORDER BY `id` DESC LIMIT 0,10 [ RunTime:0.000365s ]
+---------------------------------------------------------------
+[ 2018-05-20T18:42:41+08:00 ] 127.0.0.1 GET /admin/auth/admin/add?dialog=1
+[ info ] www.promote.com/admin/auth/admin/add?dialog=1 [运行时间:0.042205s][吞吐率:23.69req/s] [内存消耗:3,660.91kb] [文件加载:81]
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000017s ]
+[ info ] [ CACHE ] INIT File
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.001267s ]
+[ info ] [ LANG ] /Users/matielong/promote/thinkphp/lang/zh-cn.php
+[ info ] [ ROUTE ] array (
+  'type' => 'module',
+  'module' => 
+  array (
+    0 => 'admin',
+    1 => 'auth.admin',
+    2 => 'add',
+  ),
+)
+[ info ] [ HEADER ] array (
+  'host' => 'www.promote.com',
+  'connection' => 'keep-alive',
+  'upgrade-insecure-requests' => '1',
+  'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36',
+  'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
+  'referer' => 'http://www.promote.com/admin/auth/admin?addtabs=1',
+  'accept-encoding' => 'gzip, deflate',
+  'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
+  'cookie' => 'PHPSESSID=tb8ogsdf1u2gc5a4fhh5r6f9p7; Hm_lvt_f8d0a8c400404989e195270b0bbf060a=1526267670; think_var=zh-cn; Hm_lpvt_f8d0a8c400404989e195270b0bbf060a=1526795299',
+)
+[ info ] [ PARAM ] array (
+  'dialog' => '1',
+)
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn.php
+[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.000190s ]
+[ info ] [ SESSION ] INIT array (
+  'id' => '',
+  'var_session_id' => '',
+  'prefix' => 'think',
+  'type' => '',
+  'auto_start' => true,
+)
+[ info ] [ DB ] INIT mysql
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn/auth/admin.php
+[ info ] [ RUN ] app\admin\controller\auth\Admin->add[ /Users/matielong/promote/application/admin/controller/auth/Admin.php ]
+[ info ] [ VIEW ] /Users/matielong/promote/public/../application/admin/view/auth/admin/add.html [ array (
+  0 => 'breadcrumb',
+  1 => 'site',
+  2 => 'config',
+  3 => 'auth',
+  4 => 'admin',
+  5 => 'groupdata',
+) ]
+[ info ] [ BEHAVIOR ] Run app\admin\behavior\AdminLog @app_end [ RunTime:0.000077s ]
+[ info ] [ LOG ] INIT File
+[ sql ] [ DB ] CONNECT:[ UseTime:0.000509s ] mysql:host=127.0.0.1;dbname=promote;charset=utf8
+[ sql ] [ SQL ] SHOW COLUMNS FROM `auth_group_access` [ RunTime:0.002135s ]
+[ sql ] [ SQL ] SELECT `aga`.`uid`,`aga`.`group_id`,`ag`.`id`,`ag`.`pid`,`ag`.`name`,`ag`.`rules` FROM `auth_group_access` `aga` LEFT JOIN `auth_group` `ag` ON `aga`.`group_id`=`ag`.`id` WHERE  (  aga.uid='1' and ag.status='normal' ) [ RunTime:0.000390s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `auth_rule` [ RunTime:0.002135s ]
+[ sql ] [ SQL ] SELECT `id`,`pid`,`condition`,`icon`,`name`,`title`,`ismenu` FROM `auth_rule` WHERE  `status` = 'normal' [ RunTime:0.000719s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `admin` [ RunTime:0.002238s ]
+[ sql ] [ SQL ] SELECT `id` FROM `admin` [ RunTime:0.000268s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `auth_group` [ RunTime:0.002000s ]
+[ sql ] [ SQL ] SELECT * FROM `auth_group` WHERE  `status` = 'normal' [ RunTime:0.000358s ]
+[ sql ] [ SQL ] SELECT * FROM `auth_group` WHERE  `id` IN (1) [ RunTime:0.000315s ]
+---------------------------------------------------------------
+[ 2018-05-20T18:42:41+08:00 ] 127.0.0.1 GET /admin/ajax/lang?callback=define&controllername=auth.admin&v=1526812961
+[ info ] www.promote.com/admin/ajax/lang?callback=define&controllername=auth.admin&v=1526812961 [运行时间:0.022922s][吞吐率:43.63req/s] [内存消耗:2,553.79kb] [文件加载:69]
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000022s ]
+[ info ] [ CACHE ] INIT File
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000943s ]
+[ info ] [ LANG ] /Users/matielong/promote/thinkphp/lang/zh-cn.php
+[ info ] [ ROUTE ] array (
+  'type' => 'module',
+  'module' => 
+  array (
+    0 => 'admin',
+    1 => 'ajax',
+    2 => 'lang',
+  ),
+)
+[ info ] [ HEADER ] array (
+  'host' => 'www.promote.com',
+  'connection' => 'keep-alive',
+  'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36',
+  'accept' => '*/*',
+  'referer' => 'http://www.promote.com/admin/auth/admin/add?dialog=1',
+  'accept-encoding' => 'gzip, deflate',
+  'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
+  'cookie' => 'PHPSESSID=tb8ogsdf1u2gc5a4fhh5r6f9p7; Hm_lvt_f8d0a8c400404989e195270b0bbf060a=1526267670; think_var=zh-cn; Hm_lpvt_f8d0a8c400404989e195270b0bbf060a=1526795299',
+)
+[ info ] [ PARAM ] array (
+  'callback' => 'define',
+  'controllername' => 'auth.admin',
+  'v' => '1526812961',
+)
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn.php
+[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.000176s ]
+[ info ] [ SESSION ] INIT array (
+  'id' => '',
+  'var_session_id' => '',
+  'prefix' => 'think',
+  'type' => '',
+  'auto_start' => true,
+)
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn/ajax.php
+[ info ] [ RUN ] app\admin\controller\Ajax->lang[ /Users/matielong/promote/application/admin/controller/Ajax.php ]
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn/auth/admin.php
+[ info ] [ BEHAVIOR ] Run app\admin\behavior\AdminLog @app_end [ RunTime:0.000086s ]
+[ info ] [ LOG ] INIT File
+---------------------------------------------------------------
+[ 2018-05-20T18:42:55+08:00 ] 127.0.0.1 GET /assets/css/bootstrap.min.css.map
+[ info ] www.promote.com/assets/css/bootstrap.min.css.map [运行时间:0.020977s][吞吐率:47.67req/s] [内存消耗:1,628.39kb] [文件加载:49]
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000024s ]
+[ info ] [ CACHE ] INIT File
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.001364s ]
+[ info ] [ LANG ] /Users/matielong/promote/thinkphp/lang/zh-cn.php
+[ info ] [ ROUTE ] array (
+  'type' => 'module',
+  'module' => 
+  array (
+    0 => 'assets',
+    1 => 'css',
+    2 => 'bootstrap.min.css.map',
+  ),
+)
+[ info ] [ HEADER ] array (
+  'host' => 'www.promote.com',
+  'connection' => 'keep-alive',
+  'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36',
+  'accept-encoding' => 'gzip, deflate',
+  'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
+  'cookie' => 'PHPSESSID=tb8ogsdf1u2gc5a4fhh5r6f9p7; Hm_lvt_f8d0a8c400404989e195270b0bbf060a=1526267670; think_var=zh-cn; Hm_lpvt_f8d0a8c400404989e195270b0bbf060a=1526795299',
+)
+[ info ] [ PARAM ] array (
+)
+[ info ] [ LOG ] INIT File
+---------------------------------------------------------------
+[ 2018-05-20T18:42:55+08:00 ] 127.0.0.1 GET /assets/css/skins/skin-green.css.map
+[ info ] www.promote.com/assets/css/skins/skin-green.css.map [运行时间:0.023993s][吞吐率:41.68req/s] [内存消耗:1,628.34kb] [文件加载:49]
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000025s ]
+[ info ] [ CACHE ] INIT File
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.001352s ]
+[ info ] [ LANG ] /Users/matielong/promote/thinkphp/lang/zh-cn.php
+[ info ] [ ROUTE ] array (
+  'type' => 'module',
+  'module' => 
+  array (
+    0 => 'assets',
+    1 => 'css',
+    2 => 'skins',
+  ),
+)
+[ info ] [ HEADER ] array (
+  'host' => 'www.promote.com',
+  'connection' => 'keep-alive',
+  'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36',
+  'accept-encoding' => 'gzip, deflate',
+  'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
+  'cookie' => 'PHPSESSID=tb8ogsdf1u2gc5a4fhh5r6f9p7; Hm_lvt_f8d0a8c400404989e195270b0bbf060a=1526267670; think_var=zh-cn; Hm_lpvt_f8d0a8c400404989e195270b0bbf060a=1526795299',
+)
+[ info ] [ PARAM ] array (
+)
+[ info ] [ LOG ] INIT File
+---------------------------------------------------------------
+[ 2018-05-20T18:42:55+08:00 ] 127.0.0.1 GET /assets/css/fastadmin.min.css.map
+[ info ] www.promote.com/assets/css/fastadmin.min.css.map [运行时间:0.024566s][吞吐率:40.71req/s] [内存消耗:1,628.39kb] [文件加载:49]
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000020s ]
+[ info ] [ CACHE ] INIT File
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.001246s ]
+[ info ] [ LANG ] /Users/matielong/promote/thinkphp/lang/zh-cn.php
+[ info ] [ ROUTE ] array (
+  'type' => 'module',
+  'module' => 
+  array (
+    0 => 'assets',
+    1 => 'css',
+    2 => 'fastadmin.min.css.map',
+  ),
+)
+[ info ] [ HEADER ] array (
+  'host' => 'www.promote.com',
+  'connection' => 'keep-alive',
+  'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36',
+  'accept-encoding' => 'gzip, deflate',
+  'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
+  'cookie' => 'PHPSESSID=tb8ogsdf1u2gc5a4fhh5r6f9p7; Hm_lvt_f8d0a8c400404989e195270b0bbf060a=1526267670; think_var=zh-cn; Hm_lpvt_f8d0a8c400404989e195270b0bbf060a=1526795299',
+)
+[ info ] [ PARAM ] array (
+)
+[ info ] [ LOG ] INIT File
+---------------------------------------------------------------
+[ 2018-05-20T18:42:57+08:00 ] 127.0.0.1 POST /admin/auth/admin/add?dialog=1
+[ info ] www.promote.com/admin/auth/admin/add?dialog=1 [运行时间:0.045466s][吞吐率:21.99req/s] [内存消耗:3,510.45kb] [文件加载:78]
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000019s ]
+[ info ] [ CACHE ] INIT File
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000907s ]
+[ info ] [ LANG ] /Users/matielong/promote/thinkphp/lang/zh-cn.php
+[ info ] [ ROUTE ] array (
+  'type' => 'module',
+  'module' => 
+  array (
+    0 => 'admin',
+    1 => 'auth.admin',
+    2 => 'add',
+  ),
+)
+[ info ] [ HEADER ] array (
+  'host' => 'www.promote.com',
+  'connection' => 'keep-alive',
+  'content-length' => '136',
+  'accept' => 'application/json, text/javascript, */*; q=0.01',
+  'origin' => 'http://www.promote.com',
+  'x-requested-with' => 'XMLHttpRequest',
+  'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36',
+  'content-type' => 'application/x-www-form-urlencoded; charset=UTF-8',
+  'referer' => 'http://www.promote.com/admin/auth/admin/add?dialog=1',
+  'accept-encoding' => 'gzip, deflate',
+  'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
+  'cookie' => 'PHPSESSID=tb8ogsdf1u2gc5a4fhh5r6f9p7; Hm_lvt_f8d0a8c400404989e195270b0bbf060a=1526267670; think_var=zh-cn; Hm_lpvt_f8d0a8c400404989e195270b0bbf060a=1526795299',
+)
+[ info ] [ PARAM ] array (
+  'dialog' => '1',
+  'group' => 
+  array (
+    0 => '1',
+  ),
+  'row' => 
+  array (
+    'username' => 'test',
+    'email' => 'test@qq.com',
+    'nickname' => 'test',
+    'password' => '123456',
+    'status' => 'normal',
+  ),
+)
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn.php
+[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.000197s ]
+[ info ] [ SESSION ] INIT array (
+  'id' => '',
+  'var_session_id' => '',
+  'prefix' => 'think',
+  'type' => '',
+  'auto_start' => true,
+)
+[ info ] [ DB ] INIT mysql
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn/auth/admin.php
+[ info ] [ RUN ] app\admin\controller\auth\Admin->add[ /Users/matielong/promote/application/admin/controller/auth/Admin.php ]
+[ info ] [ LOG ] INIT File
+[ sql ] [ DB ] CONNECT:[ UseTime:0.000436s ] mysql:host=127.0.0.1;dbname=promote;charset=utf8
+[ sql ] [ SQL ] SHOW COLUMNS FROM `auth_group_access` [ RunTime:0.002612s ]
+[ sql ] [ SQL ] SELECT `aga`.`uid`,`aga`.`group_id`,`ag`.`id`,`ag`.`pid`,`ag`.`name`,`ag`.`rules` FROM `auth_group_access` `aga` LEFT JOIN `auth_group` `ag` ON `aga`.`group_id`=`ag`.`id` WHERE  (  aga.uid='1' and ag.status='normal' ) [ RunTime:0.000495s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `auth_rule` [ RunTime:0.002682s ]
+[ sql ] [ SQL ] SELECT `id`,`pid`,`condition`,`icon`,`name`,`title`,`ismenu` FROM `auth_rule` WHERE  `status` = 'normal' [ RunTime:0.000646s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `admin` [ RunTime:0.002372s ]
+[ sql ] [ SQL ] SELECT `id` FROM `admin` [ RunTime:0.000381s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `auth_group` [ RunTime:0.002828s ]
+[ sql ] [ SQL ] SELECT * FROM `auth_group` WHERE  `status` = 'normal' [ RunTime:0.000436s ]
+[ sql ] [ SQL ] SELECT * FROM `auth_group` WHERE  `id` IN (1) [ RunTime:0.000388s ]
+---------------------------------------------------------------
+[ 2018-05-20T18:43:59+08:00 ] 127.0.0.1 GET /admin/index/logout
+[ info ] www.promote.com/admin/index/logout [运行时间:0.032954s][吞吐率:30.35req/s] [内存消耗:3,266.43kb] [文件加载:77]
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000016s ]
+[ info ] [ CACHE ] INIT File
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000944s ]
+[ info ] [ LANG ] /Users/matielong/promote/thinkphp/lang/zh-cn.php
+[ info ] [ ROUTE ] array (
+  'type' => 'module',
+  'module' => 
+  array (
+    0 => 'admin',
+    1 => 'index',
+    2 => 'logout',
+  ),
+)
+[ info ] [ HEADER ] array (
+  'host' => 'www.promote.com',
+  'connection' => 'keep-alive',
+  'upgrade-insecure-requests' => '1',
+  'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36',
+  'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
+  'referer' => 'http://www.promote.com/admin/auth/admin?ref=addtabs',
+  'accept-encoding' => 'gzip, deflate',
+  'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
+  'cookie' => 'PHPSESSID=tb8ogsdf1u2gc5a4fhh5r6f9p7; Hm_lvt_f8d0a8c400404989e195270b0bbf060a=1526267670; think_var=zh-cn; Hm_lpvt_f8d0a8c400404989e195270b0bbf060a=1526795299',
+)
+[ info ] [ PARAM ] array (
+)
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn.php
+[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.000250s ]
+[ info ] [ SESSION ] INIT array (
+  'id' => '',
+  'var_session_id' => '',
+  'prefix' => 'think',
+  'type' => '',
+  'auto_start' => true,
+)
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn/index.php
+[ info ] [ RUN ] app\admin\controller\Index->logout[ /Users/matielong/promote/application/admin/controller/Index.php ]
+[ info ] [ DB ] INIT mysql
+[ info ] [ VIEW ] /Users/matielong/promote/public/../application/common/view/tpl/dispatch_jump.tpl [ array (
+  0 => 'breadcrumb',
+  1 => 'site',
+  2 => 'config',
+  3 => 'auth',
+  4 => 'admin',
+  5 => 'code',
+  6 => 'msg',
+  7 => 'data',
+  8 => 'url',
+  9 => 'wait',
+) ]
+[ info ] [ BEHAVIOR ] Run app\admin\behavior\AdminLog @app_end [ RunTime:0.000092s ]
+[ info ] [ LOG ] INIT File
+[ sql ] [ DB ] CONNECT:[ UseTime:0.000407s ] mysql:host=127.0.0.1;dbname=promote;charset=utf8
+[ sql ] [ SQL ] SHOW COLUMNS FROM `admin` [ RunTime:0.002301s ]
+[ sql ] [ SQL ] SELECT * FROM `admin` WHERE  `id` = 1 LIMIT 1 [ RunTime:0.000657s ]
+[ sql ] [ SQL ] UPDATE `admin`  SET `token`='',`updatetime`=1526813039  WHERE  `id` = 1 [ RunTime:0.000970s ]
+---------------------------------------------------------------
+[ 2018-05-20T18:44:00+08:00 ] 127.0.0.1 GET /admin/index/login
+[ info ] www.promote.com/admin/index/login [运行时间:0.023050s][吞吐率:43.38req/s] [内存消耗:2,548.05kb] [文件加载:69]
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000018s ]
+[ info ] [ CACHE ] INIT File
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000830s ]
+[ info ] [ LANG ] /Users/matielong/promote/thinkphp/lang/zh-cn.php
+[ info ] [ ROUTE ] array (
+  'type' => 'module',
+  'module' => 
+  array (
+    0 => 'admin',
+    1 => 'index',
+    2 => 'login',
+  ),
+)
+[ info ] [ HEADER ] array (
+  'host' => 'www.promote.com',
+  'connection' => 'keep-alive',
+  'upgrade-insecure-requests' => '1',
+  'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36',
+  'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
+  'referer' => 'http://www.promote.com/admin/index/logout',
+  'accept-encoding' => 'gzip, deflate',
+  'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
+  'cookie' => 'PHPSESSID=tb8ogsdf1u2gc5a4fhh5r6f9p7; Hm_lvt_f8d0a8c400404989e195270b0bbf060a=1526267670; think_var=zh-cn; Hm_lpvt_f8d0a8c400404989e195270b0bbf060a=1526795299',
+)
+[ info ] [ PARAM ] array (
+)
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn.php
+[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.000227s ]
+[ info ] [ SESSION ] INIT array (
+  'id' => '',
+  'var_session_id' => '',
+  'prefix' => 'think',
+  'type' => '',
+  'auto_start' => true,
+)
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn/index.php
+[ info ] [ RUN ] app\admin\controller\Index->login[ /Users/matielong/promote/application/admin/controller/Index.php ]
+[ info ] [ VIEW ] /Users/matielong/promote/public/../application/admin/view/index/login.html [ array (
+  0 => 'breadcrumb',
+  1 => 'site',
+  2 => 'config',
+  3 => 'auth',
+  4 => 'admin',
+  5 => 'background',
+  6 => 'title',
+) ]
+[ info ] [ BEHAVIOR ] Run app\admin\behavior\AdminLog @app_end [ RunTime:0.000092s ]
+[ info ] [ LOG ] INIT File
+---------------------------------------------------------------
+[ 2018-05-20T18:44:00+08:00 ] 127.0.0.1 GET /admin/ajax/lang?callback=define&controllername=index&v=1526813040
+[ info ] www.promote.com/admin/ajax/lang?callback=define&controllername=index&v=1526813040 [运行时间:0.024786s][吞吐率:40.35req/s] [内存消耗:2,556.06kb] [文件加载:69]
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000017s ]
+[ info ] [ CACHE ] INIT File
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000819s ]
+[ info ] [ LANG ] /Users/matielong/promote/thinkphp/lang/zh-cn.php
+[ info ] [ ROUTE ] array (
+  'type' => 'module',
+  'module' => 
+  array (
+    0 => 'admin',
+    1 => 'ajax',
+    2 => 'lang',
+  ),
+)
+[ info ] [ HEADER ] array (
+  'host' => 'www.promote.com',
+  'connection' => 'keep-alive',
+  'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36',
+  'accept' => '*/*',
+  'referer' => 'http://www.promote.com/admin/index/login',
+  'accept-encoding' => 'gzip, deflate',
+  'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
+  'cookie' => 'PHPSESSID=tb8ogsdf1u2gc5a4fhh5r6f9p7; Hm_lvt_f8d0a8c400404989e195270b0bbf060a=1526267670; think_var=zh-cn; Hm_lpvt_f8d0a8c400404989e195270b0bbf060a=1526795299',
+)
+[ info ] [ PARAM ] array (
+  'callback' => 'define',
+  'controllername' => 'index',
+  'v' => '1526813040',
+)
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn.php
+[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.000168s ]
+[ info ] [ SESSION ] INIT array (
+  'id' => '',
+  'var_session_id' => '',
+  'prefix' => 'think',
+  'type' => '',
+  'auto_start' => true,
+)
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn/ajax.php
+[ info ] [ RUN ] app\admin\controller\Ajax->lang[ /Users/matielong/promote/application/admin/controller/Ajax.php ]
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn/index.php
+[ info ] [ BEHAVIOR ] Run app\admin\behavior\AdminLog @app_end [ RunTime:0.000087s ]
+[ info ] [ LOG ] INIT File
+---------------------------------------------------------------
+[ 2018-05-20T18:44:05+08:00 ] 127.0.0.1 POST /admin/index/login
+[ info ] www.promote.com/admin/index/login [运行时间:0.036432s][吞吐率:27.45req/s] [内存消耗:3,288.29kb] [文件加载:78]
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000017s ]
+[ info ] [ CACHE ] INIT File
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000863s ]
+[ info ] [ LANG ] /Users/matielong/promote/thinkphp/lang/zh-cn.php
+[ info ] [ ROUTE ] array (
+  'type' => 'module',
+  'module' => 
+  array (
+    0 => 'admin',
+    1 => 'index',
+    2 => 'login',
+  ),
+)
+[ info ] [ HEADER ] array (
+  'host' => 'www.promote.com',
+  'connection' => 'keep-alive',
+  'content-length' => '73',
+  'accept' => 'application/json, text/javascript, */*; q=0.01',
+  'origin' => 'http://www.promote.com',
+  'x-requested-with' => 'XMLHttpRequest',
+  'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36',
+  'content-type' => 'application/x-www-form-urlencoded; charset=UTF-8',
+  'referer' => 'http://www.promote.com/admin/index/login',
+  'accept-encoding' => 'gzip, deflate',
+  'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
+  'cookie' => 'PHPSESSID=tb8ogsdf1u2gc5a4fhh5r6f9p7; Hm_lvt_f8d0a8c400404989e195270b0bbf060a=1526267670; think_var=zh-cn; Hm_lpvt_f8d0a8c400404989e195270b0bbf060a=1526795299',
+)
+[ info ] [ PARAM ] array (
+  '__token__' => 'f820f41a3df94bb48abd9c1ebfd0b8a5',
+  'username' => 'admin',
+  'password' => '123456',
+)
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn.php
+[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.000176s ]
+[ info ] [ SESSION ] INIT array (
+  'id' => '',
+  'var_session_id' => '',
+  'prefix' => 'think',
+  'type' => '',
+  'auto_start' => true,
+)
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn/index.php
+[ info ] [ RUN ] app\admin\controller\Index->login[ /Users/matielong/promote/application/admin/controller/Index.php ]
+[ info ] [ DB ] INIT mysql
+[ info ] [ BEHAVIOR ] Run app\admin\behavior\AdminLog @app_end [ RunTime:0.003262s ]
+[ info ] [ LOG ] INIT File
+[ sql ] [ DB ] CONNECT:[ UseTime:0.000548s ] mysql:host=127.0.0.1;dbname=promote;charset=utf8
+[ sql ] [ SQL ] SHOW COLUMNS FROM `admin` [ RunTime:0.002535s ]
+[ sql ] [ SQL ] SELECT * FROM `admin` WHERE  `username` = 'admin' LIMIT 1 [ RunTime:0.000488s ]
+[ sql ] [ SQL ] UPDATE `admin`  SET `logintime`=1526813045,`token`='6b64c2f6-6ea9-4653-82f8-4e886338dd46',`updatetime`=1526813045  WHERE  `id` = 1 [ RunTime:0.000560s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `admin_log` [ RunTime:0.002110s ]
+[ sql ] [ SQL ] INSERT INTO `admin_log` (`title` , `content` , `url` , `admin_id` , `username` , `useragent` , `ip` , `createtime`) VALUES ('登录' , '{\"__token__\":\"f820f41a3df94bb48abd9c1ebfd0b8a5\",\"username\":\"admin\"}' , '/admin/index/login' , 1 , 'admin' , 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36' , '127.0.0.1' , 1526813045) [ RunTime:0.000702s ]
+---------------------------------------------------------------
+[ 2018-05-20T18:44:05+08:00 ] 127.0.0.1 GET /admin/index/index
+[ info ] www.promote.com/admin/index/index [运行时间:0.069152s][吞吐率:14.46req/s] [内存消耗:3,599.38kb] [文件加载:88]
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000025s ]
+[ info ] [ CACHE ] INIT File
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000799s ]
+[ info ] [ LANG ] /Users/matielong/promote/thinkphp/lang/zh-cn.php
+[ info ] [ ROUTE ] array (
+  'type' => 'module',
+  'module' => 
+  array (
+    0 => 'admin',
+    1 => 'index',
+    2 => 'index',
+  ),
+)
+[ info ] [ HEADER ] array (
+  'host' => 'www.promote.com',
+  'connection' => 'keep-alive',
+  'upgrade-insecure-requests' => '1',
+  'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36',
+  'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
+  'referer' => 'http://www.promote.com/admin/index/login',
+  'accept-encoding' => 'gzip, deflate',
+  'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
+  'cookie' => 'PHPSESSID=tb8ogsdf1u2gc5a4fhh5r6f9p7; Hm_lvt_f8d0a8c400404989e195270b0bbf060a=1526267670; think_var=zh-cn; Hm_lpvt_f8d0a8c400404989e195270b0bbf060a=1526795299',
+)
+[ info ] [ PARAM ] array (
+)
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn.php
+[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.000171s ]
+[ info ] [ SESSION ] INIT array (
+  'id' => '',
+  'var_session_id' => '',
+  'prefix' => 'think',
+  'type' => '',
+  'auto_start' => true,
+)
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn/index.php
+[ info ] [ RUN ] app\admin\controller\Index->index[ /Users/matielong/promote/application/admin/controller/Index.php ]
+[ info ] [ DB ] INIT mysql
+[ info ] [ VIEW ] /Users/matielong/promote/public/../application/admin/view/index/index.html [ array (
+  0 => 'breadcrumb',
+  1 => 'site',
+  2 => 'config',
+  3 => 'auth',
+  4 => 'admin',
+  5 => 'menulist',
+  6 => 'title',
+) ]
+[ info ] [ BEHAVIOR ] Run app\admin\behavior\AdminLog @app_end [ RunTime:0.000083s ]
+[ info ] [ LOG ] INIT File
+[ sql ] [ DB ] CONNECT:[ UseTime:0.000480s ] mysql:host=127.0.0.1;dbname=promote;charset=utf8
+[ sql ] [ SQL ] SHOW COLUMNS FROM `auth_group_access` [ RunTime:0.002394s ]
+[ sql ] [ SQL ] SELECT `aga`.`uid`,`aga`.`group_id`,`ag`.`id`,`ag`.`pid`,`ag`.`name`,`ag`.`rules` FROM `auth_group_access` `aga` LEFT JOIN `auth_group` `ag` ON `aga`.`group_id`=`ag`.`id` WHERE  (  aga.uid='1' and ag.status='normal' ) [ RunTime:0.000527s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `auth_rule` [ RunTime:0.002571s ]
+[ sql ] [ SQL ] SELECT `id`,`pid`,`condition`,`icon`,`name`,`title`,`ismenu` FROM `auth_rule` WHERE  `status` = 'normal' [ RunTime:0.000783s ]
+---------------------------------------------------------------
+[ 2018-05-20T18:44:06+08:00 ] 127.0.0.1 GET /admin/ajax/lang?callback=define&controllername=index&v=1526813045
+[ info ] www.promote.com/admin/ajax/lang?callback=define&controllername=index&v=1526813045 [运行时间:0.023135s][吞吐率:43.22req/s] [内存消耗:2,558.09kb] [文件加载:69]
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000017s ]
+[ info ] [ CACHE ] INIT File
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000980s ]
+[ info ] [ LANG ] /Users/matielong/promote/thinkphp/lang/zh-cn.php
+[ info ] [ ROUTE ] array (
+  'type' => 'module',
+  'module' => 
+  array (
+    0 => 'admin',
+    1 => 'ajax',
+    2 => 'lang',
+  ),
+)
+[ info ] [ HEADER ] array (
+  'host' => 'www.promote.com',
+  'connection' => 'keep-alive',
+  'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36',
+  'accept' => '*/*',
+  'referer' => 'http://www.promote.com/admin/index/index',
+  'accept-encoding' => 'gzip, deflate',
+  'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
+  'cookie' => 'PHPSESSID=tb8ogsdf1u2gc5a4fhh5r6f9p7; Hm_lvt_f8d0a8c400404989e195270b0bbf060a=1526267670; think_var=zh-cn; Hm_lpvt_f8d0a8c400404989e195270b0bbf060a=1526795299',
+)
+[ info ] [ PARAM ] array (
+  'callback' => 'define',
+  'controllername' => 'index',
+  'v' => '1526813045',
+)
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn.php
+[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.000196s ]
+[ info ] [ SESSION ] INIT array (
+  'id' => '',
+  'var_session_id' => '',
+  'prefix' => 'think',
+  'type' => '',
+  'auto_start' => true,
+)
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn/ajax.php
+[ info ] [ RUN ] app\admin\controller\Ajax->lang[ /Users/matielong/promote/application/admin/controller/Ajax.php ]
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn/index.php
+[ info ] [ BEHAVIOR ] Run app\admin\behavior\AdminLog @app_end [ RunTime:0.000087s ]
+[ info ] [ LOG ] INIT File
+---------------------------------------------------------------
+[ 2018-05-20T18:44:06+08:00 ] 127.0.0.1 GET /admin/dashboard?addtabs=1
+[ info ] www.promote.com/admin/dashboard?addtabs=1 [运行时间:0.038645s][吞吐率:25.88req/s] [内存消耗:3,480.56kb] [文件加载:78]
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000017s ]
+[ info ] [ CACHE ] INIT File
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000868s ]
+[ info ] [ LANG ] /Users/matielong/promote/thinkphp/lang/zh-cn.php
+[ info ] [ ROUTE ] array (
+  'type' => 'module',
+  'module' => 
+  array (
+    0 => 'admin',
+    1 => 'dashboard',
+    2 => NULL,
+  ),
+)
+[ info ] [ HEADER ] array (
+  'host' => 'www.promote.com',
+  'connection' => 'keep-alive',
+  'upgrade-insecure-requests' => '1',
+  'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36',
+  'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
+  'referer' => 'http://www.promote.com/admin/dashboard?ref=addtabs',
+  'accept-encoding' => 'gzip, deflate',
+  'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
+  'cookie' => 'PHPSESSID=tb8ogsdf1u2gc5a4fhh5r6f9p7; Hm_lvt_f8d0a8c400404989e195270b0bbf060a=1526267670; think_var=zh-cn; Hm_lpvt_f8d0a8c400404989e195270b0bbf060a=1526795299',
+)
+[ info ] [ PARAM ] array (
+  'addtabs' => '1',
+)
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn.php
+[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.000173s ]
+[ info ] [ SESSION ] INIT array (
+  'id' => '',
+  'var_session_id' => '',
+  'prefix' => 'think',
+  'type' => '',
+  'auto_start' => true,
+)
+[ info ] [ DB ] INIT mysql
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn/dashboard.php
+[ info ] [ RUN ] app\admin\controller\Dashboard->index[ /Users/matielong/promote/application/admin/controller/Dashboard.php ]
+[ info ] [ VIEW ] /Users/matielong/promote/public/../application/admin/view/dashboard/index.html [ array (
+  0 => 'breadcrumb',
+  1 => 'site',
+  2 => 'config',
+  3 => 'auth',
+  4 => 'admin',
+  5 => 'totaluser',
+  6 => 'totalviews',
+  7 => 'totalorder',
+  8 => 'totalorderamount',
+  9 => 'todayuserlogin',
+  10 => 'todayusersignup',
+  11 => 'todayorder',
+  12 => 'unsettleorder',
+  13 => 'sevendnu',
+  14 => 'sevendau',
+  15 => 'paylist',
+  16 => 'createlist',
+  17 => 'addonversion',
+  18 => 'uploadmode',
+) ]
+[ info ] [ BEHAVIOR ] Run app\admin\behavior\AdminLog @app_end [ RunTime:0.000082s ]
+[ info ] [ LOG ] INIT File
+[ sql ] [ DB ] CONNECT:[ UseTime:0.000585s ] mysql:host=127.0.0.1;dbname=promote;charset=utf8
+[ sql ] [ SQL ] SHOW COLUMNS FROM `auth_group_access` [ RunTime:0.003400s ]
+[ sql ] [ SQL ] SELECT `aga`.`uid`,`aga`.`group_id`,`ag`.`id`,`ag`.`pid`,`ag`.`name`,`ag`.`rules` FROM `auth_group_access` `aga` LEFT JOIN `auth_group` `ag` ON `aga`.`group_id`=`ag`.`id` WHERE  (  aga.uid='1' and ag.status='normal' ) [ RunTime:0.000566s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `auth_rule` [ RunTime:0.002411s ]
+[ sql ] [ SQL ] SELECT `id`,`pid`,`condition`,`icon`,`name`,`title`,`ismenu` FROM `auth_rule` WHERE  `status` = 'normal' [ RunTime:0.000573s ]
+[ sql ] [ SQL ] SELECT `title`,`remark` FROM `auth_rule` WHERE  `name` = 'dashboard' LIMIT 1 [ RunTime:0.000382s ]
+---------------------------------------------------------------
+[ 2018-05-20T18:44:06+08:00 ] 127.0.0.1 GET /admin/ajax/lang?callback=define&controllername=dashboard&v=1526813046
+[ info ] www.promote.com/admin/ajax/lang?callback=define&controllername=dashboard&v=1526813046 [运行时间:0.023447s][吞吐率:42.65req/s] [内存消耗:2,557.01kb] [文件加载:69]
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000017s ]
+[ info ] [ CACHE ] INIT File
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.001038s ]
+[ info ] [ LANG ] /Users/matielong/promote/thinkphp/lang/zh-cn.php
+[ info ] [ ROUTE ] array (
+  'type' => 'module',
+  'module' => 
+  array (
+    0 => 'admin',
+    1 => 'ajax',
+    2 => 'lang',
+  ),
+)
+[ info ] [ HEADER ] array (
+  'host' => 'www.promote.com',
+  'connection' => 'keep-alive',
+  'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36',
+  'accept' => '*/*',
+  'referer' => 'http://www.promote.com/admin/dashboard?addtabs=1',
+  'accept-encoding' => 'gzip, deflate',
+  'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
+  'cookie' => 'PHPSESSID=tb8ogsdf1u2gc5a4fhh5r6f9p7; Hm_lvt_f8d0a8c400404989e195270b0bbf060a=1526267670; think_var=zh-cn; Hm_lpvt_f8d0a8c400404989e195270b0bbf060a=1526795299',
+)
+[ info ] [ PARAM ] array (
+  'callback' => 'define',
+  'controllername' => 'dashboard',
+  'v' => '1526813046',
+)
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn.php
+[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.000220s ]
+[ info ] [ SESSION ] INIT array (
+  'id' => '',
+  'var_session_id' => '',
+  'prefix' => 'think',
+  'type' => '',
+  'auto_start' => true,
+)
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn/ajax.php
+[ info ] [ RUN ] app\admin\controller\Ajax->lang[ /Users/matielong/promote/application/admin/controller/Ajax.php ]
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn/dashboard.php
+[ info ] [ BEHAVIOR ] Run app\admin\behavior\AdminLog @app_end [ RunTime:0.000102s ]
+[ info ] [ LOG ] INIT File
+---------------------------------------------------------------
+[ 2018-05-20T18:44:07+08:00 ] 127.0.0.1 GET /admin/intention?addtabs=1
+[ info ] www.promote.com/admin/intention?addtabs=1 [运行时间:0.036422s][吞吐率:27.46req/s] [内存消耗:3,408.12kb] [文件加载:77]
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000023s ]
+[ info ] [ CACHE ] INIT File
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000867s ]
+[ info ] [ LANG ] /Users/matielong/promote/thinkphp/lang/zh-cn.php
+[ info ] [ ROUTE ] array (
+  'type' => 'module',
+  'module' => 
+  array (
+    0 => 'admin',
+    1 => 'intention',
+    2 => NULL,
+  ),
+)
+[ info ] [ HEADER ] array (
+  'host' => 'www.promote.com',
+  'connection' => 'keep-alive',
+  'upgrade-insecure-requests' => '1',
+  'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36',
+  'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
+  'referer' => 'http://www.promote.com/admin/intention?ref=addtabs',
+  'accept-encoding' => 'gzip, deflate',
+  'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
+  'cookie' => 'PHPSESSID=tb8ogsdf1u2gc5a4fhh5r6f9p7; Hm_lvt_f8d0a8c400404989e195270b0bbf060a=1526267670; think_var=zh-cn; Hm_lpvt_f8d0a8c400404989e195270b0bbf060a=1526795299',
+)
+[ info ] [ PARAM ] array (
+  'addtabs' => '1',
+)
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn.php
+[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.000173s ]
+[ info ] [ SESSION ] INIT array (
+  'id' => '',
+  'var_session_id' => '',
+  'prefix' => 'think',
+  'type' => '',
+  'auto_start' => true,
+)
+[ info ] [ DB ] INIT mysql
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn/intention.php
+[ info ] [ RUN ] app\admin\controller\Intention->index[ /Users/matielong/promote/application/admin/controller/Intention.php ]
+[ info ] [ VIEW ] /Users/matielong/promote/public/../application/admin/view/intention/index.html [ array (
+  0 => 'breadcrumb',
+  1 => 'site',
+  2 => 'config',
+  3 => 'auth',
+  4 => 'admin',
+) ]
+[ info ] [ BEHAVIOR ] Run app\admin\behavior\AdminLog @app_end [ RunTime:0.000077s ]
+[ info ] [ LOG ] INIT File
+[ sql ] [ DB ] CONNECT:[ UseTime:0.000466s ] mysql:host=127.0.0.1;dbname=promote;charset=utf8
+[ sql ] [ SQL ] SHOW COLUMNS FROM `auth_group_access` [ RunTime:0.002149s ]
+[ sql ] [ SQL ] SELECT `aga`.`uid`,`aga`.`group_id`,`ag`.`id`,`ag`.`pid`,`ag`.`name`,`ag`.`rules` FROM `auth_group_access` `aga` LEFT JOIN `auth_group` `ag` ON `aga`.`group_id`=`ag`.`id` WHERE  (  aga.uid='1' and ag.status='normal' ) [ RunTime:0.000404s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `auth_rule` [ RunTime:0.002443s ]
+[ sql ] [ SQL ] SELECT `id`,`pid`,`condition`,`icon`,`name`,`title`,`ismenu` FROM `auth_rule` WHERE  `status` = 'normal' [ RunTime:0.000532s ]
+[ sql ] [ SQL ] SELECT `title`,`remark` FROM `auth_rule` WHERE  `name` = 'intention' LIMIT 1 [ RunTime:0.000295s ]
+---------------------------------------------------------------
+[ 2018-05-20T18:44:07+08:00 ] 127.0.0.1 GET /admin/ajax/lang?callback=define&controllername=intention&v=1526813047
+[ info ] www.promote.com/admin/ajax/lang?callback=define&controllername=intention&v=1526813047 [运行时间:0.022834s][吞吐率:43.79req/s] [内存消耗:2,554.84kb] [文件加载:69]
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000037s ]
+[ info ] [ CACHE ] INIT File
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.001089s ]
+[ info ] [ LANG ] /Users/matielong/promote/thinkphp/lang/zh-cn.php
+[ info ] [ ROUTE ] array (
+  'type' => 'module',
+  'module' => 
+  array (
+    0 => 'admin',
+    1 => 'ajax',
+    2 => 'lang',
+  ),
+)
+[ info ] [ HEADER ] array (
+  'host' => 'www.promote.com',
+  'connection' => 'keep-alive',
+  'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36',
+  'accept' => '*/*',
+  'referer' => 'http://www.promote.com/admin/intention?addtabs=1',
+  'accept-encoding' => 'gzip, deflate',
+  'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
+  'cookie' => 'PHPSESSID=tb8ogsdf1u2gc5a4fhh5r6f9p7; Hm_lvt_f8d0a8c400404989e195270b0bbf060a=1526267670; think_var=zh-cn; Hm_lpvt_f8d0a8c400404989e195270b0bbf060a=1526795299',
+)
+[ info ] [ PARAM ] array (
+  'callback' => 'define',
+  'controllername' => 'intention',
+  'v' => '1526813047',
+)
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn.php
+[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.000192s ]
+[ info ] [ SESSION ] INIT array (
+  'id' => '',
+  'var_session_id' => '',
+  'prefix' => 'think',
+  'type' => '',
+  'auto_start' => true,
+)
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn/ajax.php
+[ info ] [ RUN ] app\admin\controller\Ajax->lang[ /Users/matielong/promote/application/admin/controller/Ajax.php ]
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn/intention.php
+[ info ] [ BEHAVIOR ] Run app\admin\behavior\AdminLog @app_end [ RunTime:0.000080s ]
+[ info ] [ LOG ] INIT File
+---------------------------------------------------------------
+[ 2018-05-20T18:44:07+08:00 ] 127.0.0.1 GET /admin/intention/index?sort=id&order=desc&offset=0&limit=10&filter=%7B%7D&op=%7B%7D&_=1526813047707
+[ info ] www.promote.com/admin/intention/index?sort=id&order=desc&offset=0&limit=10&filter=%7B%7D&op=%7B%7D&_=1526813047707 [运行时间:0.043651s][吞吐率:22.91req/s] [内存消耗:3,456.63kb] [文件加载:79]
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000027s ]
+[ info ] [ CACHE ] INIT File
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.001196s ]
+[ info ] [ LANG ] /Users/matielong/promote/thinkphp/lang/zh-cn.php
+[ info ] [ ROUTE ] array (
+  'type' => 'module',
+  'module' => 
+  array (
+    0 => 'admin',
+    1 => 'intention',
+    2 => 'index',
+  ),
+)
+[ info ] [ HEADER ] array (
+  'host' => 'www.promote.com',
+  'connection' => 'keep-alive',
+  'accept' => 'application/json, text/javascript, */*; q=0.01',
+  'x-requested-with' => 'XMLHttpRequest',
+  'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36',
+  'content-type' => 'application/json',
+  'referer' => 'http://www.promote.com/admin/intention?addtabs=1',
+  'accept-encoding' => 'gzip, deflate',
+  'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
+  'cookie' => 'PHPSESSID=tb8ogsdf1u2gc5a4fhh5r6f9p7; Hm_lvt_f8d0a8c400404989e195270b0bbf060a=1526267670; think_var=zh-cn; Hm_lpvt_f8d0a8c400404989e195270b0bbf060a=1526795299',
+)
+[ info ] [ PARAM ] array (
+  'sort' => 'id',
+  'order' => 'desc',
+  'offset' => '0',
+  'limit' => '10',
+  'filter' => '{}',
+  'op' => '{}',
+  '_' => '1526813047707',
+)
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn.php
+[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.000291s ]
+[ info ] [ SESSION ] INIT array (
+  'id' => '',
+  'var_session_id' => '',
+  'prefix' => 'think',
+  'type' => '',
+  'auto_start' => true,
+)
+[ info ] [ DB ] INIT mysql
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn/intention.php
+[ info ] [ RUN ] app\admin\controller\Intention->index[ /Users/matielong/promote/application/admin/controller/Intention.php ]
+[ info ] [ BEHAVIOR ] Run app\admin\behavior\AdminLog @app_end [ RunTime:0.000089s ]
+[ info ] [ LOG ] INIT File
+[ sql ] [ DB ] CONNECT:[ UseTime:0.000434s ] mysql:host=127.0.0.1;dbname=promote;charset=utf8
+[ sql ] [ SQL ] SHOW COLUMNS FROM `auth_group_access` [ RunTime:0.002066s ]
+[ sql ] [ SQL ] SELECT `aga`.`uid`,`aga`.`group_id`,`ag`.`id`,`ag`.`pid`,`ag`.`name`,`ag`.`rules` FROM `auth_group_access` `aga` LEFT JOIN `auth_group` `ag` ON `aga`.`group_id`=`ag`.`id` WHERE  (  aga.uid='1' and ag.status='normal' ) [ RunTime:0.000416s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `auth_rule` [ RunTime:0.002167s ]
+[ sql ] [ SQL ] SELECT `id`,`pid`,`condition`,`icon`,`name`,`title`,`ismenu` FROM `auth_rule` WHERE  `status` = 'normal' [ RunTime:0.000960s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `intention` [ RunTime:0.002475s ]
+[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `intention` ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000391s ]
+[ sql ] [ SQL ] SELECT * FROM `intention` ORDER BY `id` DESC LIMIT 0,10 [ RunTime:0.000406s ]
+---------------------------------------------------------------
+[ 2018-05-20T18:44:30+08:00 ] 127.0.0.1 GET /assets/css/bootstrap.min.css.map
+[ info ] www.promote.com/assets/css/bootstrap.min.css.map [运行时间:0.016182s][吞吐率:61.80req/s] [内存消耗:1,628.39kb] [文件加载:49]
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000019s ]
+[ info ] [ CACHE ] INIT File
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.001301s ]
+[ info ] [ LANG ] /Users/matielong/promote/thinkphp/lang/zh-cn.php
+[ info ] [ ROUTE ] array (
+  'type' => 'module',
+  'module' => 
+  array (
+    0 => 'assets',
+    1 => 'css',
+    2 => 'bootstrap.min.css.map',
+  ),
+)
+[ info ] [ HEADER ] array (
+  'host' => 'www.promote.com',
+  'connection' => 'keep-alive',
+  'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36',
+  'accept-encoding' => 'gzip, deflate',
+  'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
+  'cookie' => 'PHPSESSID=tb8ogsdf1u2gc5a4fhh5r6f9p7; Hm_lvt_f8d0a8c400404989e195270b0bbf060a=1526267670; think_var=zh-cn; Hm_lpvt_f8d0a8c400404989e195270b0bbf060a=1526795299',
+)
+[ info ] [ PARAM ] array (
+)
+[ info ] [ LOG ] INIT File
+---------------------------------------------------------------
+[ 2018-05-20T18:44:30+08:00 ] 127.0.0.1 GET /assets/css/fastadmin.min.css.map
+[ info ] www.promote.com/assets/css/fastadmin.min.css.map [运行时间:0.016975s][吞吐率:58.91req/s] [内存消耗:1,628.39kb] [文件加载:49]
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000019s ]
+[ info ] [ CACHE ] INIT File
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.001484s ]
+[ info ] [ LANG ] /Users/matielong/promote/thinkphp/lang/zh-cn.php
+[ info ] [ ROUTE ] array (
+  'type' => 'module',
+  'module' => 
+  array (
+    0 => 'assets',
+    1 => 'css',
+    2 => 'fastadmin.min.css.map',
+  ),
+)
+[ info ] [ HEADER ] array (
+  'host' => 'www.promote.com',
+  'connection' => 'keep-alive',
+  'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36',
+  'accept-encoding' => 'gzip, deflate',
+  'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
+  'cookie' => 'PHPSESSID=tb8ogsdf1u2gc5a4fhh5r6f9p7; Hm_lvt_f8d0a8c400404989e195270b0bbf060a=1526267670; think_var=zh-cn; Hm_lpvt_f8d0a8c400404989e195270b0bbf060a=1526795299',
+)
+[ info ] [ PARAM ] array (
+)
+[ info ] [ LOG ] INIT File
+---------------------------------------------------------------
+[ 2018-05-20T18:44:30+08:00 ] 127.0.0.1 GET /assets/css/skins/skin-green.css.map
+[ info ] www.promote.com/assets/css/skins/skin-green.css.map [运行时间:0.016749s][吞吐率:59.70req/s] [内存消耗:1,628.34kb] [文件加载:49]
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000016s ]
+[ info ] [ CACHE ] INIT File
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000905s ]
+[ info ] [ LANG ] /Users/matielong/promote/thinkphp/lang/zh-cn.php
+[ info ] [ ROUTE ] array (
+  'type' => 'module',
+  'module' => 
+  array (
+    0 => 'assets',
+    1 => 'css',
+    2 => 'skins',
+  ),
+)
+[ info ] [ HEADER ] array (
+  'host' => 'www.promote.com',
+  'connection' => 'keep-alive',
+  'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36',
+  'accept-encoding' => 'gzip, deflate',
+  'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
+  'cookie' => 'PHPSESSID=tb8ogsdf1u2gc5a4fhh5r6f9p7; Hm_lvt_f8d0a8c400404989e195270b0bbf060a=1526267670; think_var=zh-cn; Hm_lpvt_f8d0a8c400404989e195270b0bbf060a=1526795299',
+)
+[ info ] [ PARAM ] array (
+)
+[ info ] [ LOG ] INIT File
+---------------------------------------------------------------
+[ 2018-05-20T18:44:31+08:00 ] 127.0.0.1 GET /admin/intention/add?dialog=1
+[ info ] www.promote.com/admin/intention/add?dialog=1 [运行时间:0.038098s][吞吐率:26.25req/s] [内存消耗:3,413.54kb] [文件加载:74]
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000020s ]
+[ info ] [ CACHE ] INIT File
+[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.001200s ]
+[ info ] [ LANG ] /Users/matielong/promote/thinkphp/lang/zh-cn.php
+[ info ] [ ROUTE ] array (
+  'type' => 'module',
+  'module' => 
+  array (
+    0 => 'admin',
+    1 => 'intention',
+    2 => 'add',
+  ),
+)
+[ info ] [ HEADER ] array (
+  'host' => 'www.promote.com',
+  'connection' => 'keep-alive',
+  'upgrade-insecure-requests' => '1',
+  'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36',
+  'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
+  'referer' => 'http://www.promote.com/admin/intention?addtabs=1',
+  'accept-encoding' => 'gzip, deflate',
+  'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
+  'cookie' => 'PHPSESSID=tb8ogsdf1u2gc5a4fhh5r6f9p7; Hm_lvt_f8d0a8c400404989e195270b0bbf060a=1526267670; think_var=zh-cn; Hm_lpvt_f8d0a8c400404989e195270b0bbf060a=1526795299',
+)
+[ info ] [ PARAM ] array (
+  'dialog' => '1',
+)
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn.php
+[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.000193s ]
+[ info ] [ SESSION ] INIT array (
+  'id' => '',
+  'var_session_id' => '',
+  'prefix' => 'think',
+  'type' => '',
+  'auto_start' => true,
+)
+[ info ] [ DB ] INIT mysql
+[ info ] [ LANG ] /Users/matielong/promote/public/../application/admin/lang/zh-cn/intention.php
+[ info ] [ RUN ] app\admin\controller\Intention->add[ /Users/matielong/promote/application/admin/controller/Intention.php ]
+[ info ] [ LOG ] INIT File
+[ sql ] [ DB ] CONNECT:[ UseTime:0.000511s ] mysql:host=127.0.0.1;dbname=promote;charset=utf8
+[ sql ] [ SQL ] SHOW COLUMNS FROM `auth_group_access` [ RunTime:0.002054s ]
+[ sql ] [ SQL ] SELECT `aga`.`uid`,`aga`.`group_id`,`ag`.`id`,`ag`.`pid`,`ag`.`name`,`ag`.`rules` FROM `auth_group_access` `aga` LEFT JOIN `auth_group` `ag` ON `aga`.`group_id`=`ag`.`id` WHERE  (  aga.uid='1' and ag.status='normal' ) [ RunTime:0.000462s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `auth_rule` [ RunTime:0.002653s ]
+[ sql ] [ SQL ] SELECT `id`,`pid`,`condition`,`icon`,`name`,`title`,`ismenu` FROM `auth_rule` WHERE  `status` = 'normal' [ RunTime:0.000696s ]