作者 王晓刚
1 个管道 的构建 通过 耗费 1 秒

调试授权

@@ -2,16 +2,9 @@ @@ -2,16 +2,9 @@
2 <project version="4"> 2 <project version="4">
3 <component name="ChangeListManager"> 3 <component name="ChangeListManager">
4 <list default="true" id="309ad746-5b2a-4c29-af46-e7925a35765c" name="默认的" comment=""> 4 <list default="true" id="309ad746-5b2a-4c29-af46-e7925a35765c" name="默认的" comment="">
5 - <change afterPath="$PROJECT_DIR$/application/admin/controller/Pay.php" afterDir="false" />  
6 - <change afterPath="$PROJECT_DIR$/application/admin/controller/PayView.php" afterDir="false" />  
7 - <change afterPath="$PROJECT_DIR$/application/admin/view/pay_view/index.html" afterDir="false" />  
8 - <change afterPath="$PROJECT_DIR$/public/assets/js/backend/pay_view.js" afterDir="false" />  
9 <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> 5 <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
10 - <change beforePath="$PROJECT_DIR$/application/extra/addons.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/extra/addons.php" afterDir="false" />  
11 - <change beforePath="$PROJECT_DIR$/application/extra/upload.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/extra/upload.php" afterDir="false" />  
12 - <change beforePath="$PROJECT_DIR$/application/home/controller/Index.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/home/controller/Index.php" afterDir="false" />  
13 - <change beforePath="$PROJECT_DIR$/application/home/controller/Question.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/home/controller/Question.php" afterDir="false" />  
14 - <change beforePath="$PROJECT_DIR$/public/assets/js/addons.js" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/js/addons.js" afterDir="false" /> 6 + <change beforePath="$PROJECT_DIR$/application/admin/view/pay_view/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/application/admin/view/pay_view/index.html" afterDir="false" />
  7 + <change beforePath="$PROJECT_DIR$/public/assets/js/backend/pay_view.js" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/js/backend/pay_view.js" afterDir="false" />
15 </list> 8 </list>
16 <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" /> 9 <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
17 <option name="TRACKING_ENABLED" value="true" /> 10 <option name="TRACKING_ENABLED" value="true" />
@@ -25,11 +18,11 @@ @@ -25,11 +18,11 @@
25 </component> 18 </component>
26 <component name="FileEditorManager"> 19 <component name="FileEditorManager">
27 <leaf> 20 <leaf>
28 - <file leaf-file-name="PayView.php" pinned="false" current-in-tab="true"> 21 + <file leaf-file-name="PayView.php" pinned="false" current-in-tab="false">
29 <entry file="file://$PROJECT_DIR$/application/admin/controller/PayView.php"> 22 <entry file="file://$PROJECT_DIR$/application/admin/controller/PayView.php">
30 <provider selected="true" editor-type-id="text-editor"> 23 <provider selected="true" editor-type-id="text-editor">
31 - <state relative-caret-position="436">  
32 - <caret line="37" column="31" selection-start-line="37" selection-start-column="31" selection-end-line="37" selection-end-column="31" /> 24 + <state relative-caret-position="572">
  25 + <caret line="44" column="23" selection-start-line="44" selection-start-column="20" selection-end-line="44" selection-end-column="23" />
33 <folding> 26 <folding>
34 <element signature="e#129#163#0#PHP" expanded="true" /> 27 <element signature="e#129#163#0#PHP" expanded="true" />
35 </folding> 28 </folding>
@@ -40,7 +33,7 @@ @@ -40,7 +33,7 @@
40 <file leaf-file-name="Pay.php" pinned="false" current-in-tab="false"> 33 <file leaf-file-name="Pay.php" pinned="false" current-in-tab="false">
41 <entry file="file://$PROJECT_DIR$/application/admin/controller/Pay.php"> 34 <entry file="file://$PROJECT_DIR$/application/admin/controller/Pay.php">
42 <provider selected="true" editor-type-id="text-editor"> 35 <provider selected="true" editor-type-id="text-editor">
43 - <state relative-caret-position="238"> 36 + <state relative-caret-position="-833">
44 <caret line="14" column="6" selection-start-line="14" selection-start-column="6" selection-end-line="14" selection-end-column="6" /> 37 <caret line="14" column="6" selection-start-line="14" selection-start-column="6" selection-end-line="14" selection-end-column="6" />
45 <folding> 38 <folding>
46 <element signature="e#42#79#0#PHP" expanded="true" /> 39 <element signature="e#42#79#0#PHP" expanded="true" />
@@ -52,8 +45,8 @@ @@ -52,8 +45,8 @@
52 <file leaf-file-name="index.html" pinned="false" current-in-tab="false"> 45 <file leaf-file-name="index.html" pinned="false" current-in-tab="false">
53 <entry file="file://$PROJECT_DIR$/application/admin/view/pay_view/index.html"> 46 <entry file="file://$PROJECT_DIR$/application/admin/view/pay_view/index.html">
54 <provider selected="true" editor-type-id="text-editor"> 47 <provider selected="true" editor-type-id="text-editor">
55 - <state relative-caret-position="-57">  
56 - <caret line="25" column="49" selection-start-line="25" selection-start-column="49" selection-end-line="25" selection-end-column="49" /> 48 + <state relative-caret-position="623">
  49 + <caret line="62" column="50" lean-forward="true" selection-start-line="62" selection-start-column="50" selection-end-line="62" selection-end-column="50" />
57 <folding> 50 <folding>
58 <element signature="n#style#0;n#td#0;n#tr#3;n#tbody#0;n#table#0;n#div#0;n#div#0;n#div#0;n#div#0;n#div#1;n#div#0;n#!!top" expanded="true" /> 51 <element signature="n#style#0;n#td#0;n#tr#3;n#tbody#0;n#table#0;n#div#0;n#div#0;n#div#0;n#div#0;n#div#1;n#div#0;n#!!top" expanded="true" />
59 <element signature="n#style#0;n#input#0;n#b#0;n#td#1;n#tr#3;n#tbody#0;n#table#0;n#div#0;n#div#0;n#div#0;n#div#0;n#div#1;n#div#0;n#!!top" expanded="true" /> 52 <element signature="n#style#0;n#input#0;n#b#0;n#td#1;n#tr#3;n#tbody#0;n#table#0;n#div#0;n#div#0;n#div#0;n#div#0;n#div#1;n#div#0;n#!!top" expanded="true" />
@@ -67,20 +60,6 @@ @@ -67,20 +60,6 @@
67 </provider> 60 </provider>
68 </entry> 61 </entry>
69 </file> 62 </file>
70 - <file leaf-file-name="index.html" pinned="false" current-in-tab="false">  
71 - <entry file="file://$PROJECT_DIR$/addons/epay/view/index/index.html">  
72 - <provider selected="true" editor-type-id="text-editor">  
73 - <state relative-caret-position="-1941" />  
74 - </provider>  
75 - </entry>  
76 - </file>  
77 - <file leaf-file-name="default.html" pinned="false" current-in-tab="false">  
78 - <entry file="file://$PROJECT_DIR$/addons/epay/view/layout/default.html">  
79 - <provider selected="true" editor-type-id="text-editor">  
80 - <state relative-caret-position="-1213" />  
81 - </provider>  
82 - </entry>  
83 - </file>  
84 <file leaf-file-name="common.js" pinned="false" current-in-tab="false"> 63 <file leaf-file-name="common.js" pinned="false" current-in-tab="false">
85 <entry file="file://$PROJECT_DIR$/public/assets/addons/epay/js/common.js"> 64 <entry file="file://$PROJECT_DIR$/public/assets/addons/epay/js/common.js">
86 <provider selected="true" editor-type-id="text-editor"> 65 <provider selected="true" editor-type-id="text-editor">
@@ -90,11 +69,11 @@ @@ -90,11 +69,11 @@
90 </provider> 69 </provider>
91 </entry> 70 </entry>
92 </file> 71 </file>
93 - <file leaf-file-name="pay_view.js" pinned="false" current-in-tab="false"> 72 + <file leaf-file-name="pay_view.js" pinned="false" current-in-tab="true">
94 <entry file="file://$PROJECT_DIR$/public/assets/js/backend/pay_view.js"> 73 <entry file="file://$PROJECT_DIR$/public/assets/js/backend/pay_view.js">
95 <provider selected="true" editor-type-id="text-editor"> 74 <provider selected="true" editor-type-id="text-editor">
96 <state relative-caret-position="544"> 75 <state relative-caret-position="544">
97 - <caret line="44" column="99" selection-start-line="44" selection-start-column="99" selection-end-line="44" selection-end-column="99" /> 76 + <caret line="44" column="62" selection-start-line="44" selection-start-column="62" selection-end-line="44" selection-end-column="62" />
98 </state> 77 </state>
99 </provider> 78 </provider>
100 </entry> 79 </entry>
@@ -135,7 +114,6 @@ @@ -135,7 +114,6 @@
135 <component name="IdeDocumentHistory"> 114 <component name="IdeDocumentHistory">
136 <option name="CHANGED_PATHS"> 115 <option name="CHANGED_PATHS">
137 <list> 116 <list>
138 - <option value="$PROJECT_DIR$/application/config.php" />  
139 <option value="$PROJECT_DIR$/application/home/model/Slide.php" /> 117 <option value="$PROJECT_DIR$/application/home/model/Slide.php" />
140 <option value="$PROJECT_DIR$/application/home/model/Question.php" /> 118 <option value="$PROJECT_DIR$/application/home/model/Question.php" />
141 <option value="$PROJECT_DIR$/application/common.php" /> 119 <option value="$PROJECT_DIR$/application/common.php" />
@@ -183,9 +161,10 @@ @@ -183,9 +161,10 @@
183 <option value="$PROJECT_DIR$/public/assets/js/backend/wechat/pay.js" /> 161 <option value="$PROJECT_DIR$/public/assets/js/backend/wechat/pay.js" />
184 <option value="$PROJECT_DIR$/application/admin/view/pay/index.html" /> 162 <option value="$PROJECT_DIR$/application/admin/view/pay/index.html" />
185 <option value="$PROJECT_DIR$/public/assets/js/backend/pay.js" /> 163 <option value="$PROJECT_DIR$/public/assets/js/backend/pay.js" />
186 - <option value="$PROJECT_DIR$/public/assets/js/backend/pay_view.js" />  
187 <option value="$PROJECT_DIR$/application/admin/controller/Pay.php" /> 164 <option value="$PROJECT_DIR$/application/admin/controller/Pay.php" />
188 <option value="$PROJECT_DIR$/application/admin/controller/PayView.php" /> 165 <option value="$PROJECT_DIR$/application/admin/controller/PayView.php" />
  166 + <option value="$PROJECT_DIR$/application/admin/view/pay_view/index.html" />
  167 + <option value="$PROJECT_DIR$/public/assets/js/backend/pay_view.js" />
189 </list> 168 </list>
190 </option> 169 </option>
191 </component> 170 </component>
@@ -364,7 +343,7 @@ @@ -364,7 +343,7 @@
364 <workItem from="1572050747518" duration="29776000" /> 343 <workItem from="1572050747518" duration="29776000" />
365 <workItem from="1572087949120" duration="1641000" /> 344 <workItem from="1572087949120" duration="1641000" />
366 <workItem from="1572223206994" duration="28857000" /> 345 <workItem from="1572223206994" duration="28857000" />
367 - <workItem from="1572309778506" duration="14796000" /> 346 + <workItem from="1572309778506" duration="15341000" />
368 </task> 347 </task>
369 <task id="LOCAL-00001" summary="数据库配置"> 348 <task id="LOCAL-00001" summary="数据库配置">
370 <created>1571972429395</created> 349 <created>1571972429395</created>
@@ -436,21 +415,29 @@ @@ -436,21 +415,29 @@
436 <option name="project" value="LOCAL" /> 415 <option name="project" value="LOCAL" />
437 <updated>1571979769963</updated> 416 <updated>1571979769963</updated>
438 </task> 417 </task>
439 - <option name="localTasksCounter" value="11" /> 418 + <task id="LOCAL-00011" summary="调试授权">
  419 + <created>1572329583925</created>
  420 + <option name="number" value="00011" />
  421 + <option name="presentableId" value="LOCAL-00011" />
  422 + <option name="project" value="LOCAL" />
  423 + <updated>1572329583925</updated>
  424 + </task>
  425 + <option name="localTasksCounter" value="12" />
440 <servers /> 426 <servers />
441 </component> 427 </component>
442 <component name="TimeTrackingManager"> 428 <component name="TimeTrackingManager">
443 - <option name="totallyTimeSpent" value="173904000" /> 429 + <option name="totallyTimeSpent" value="174449000" />
444 </component> 430 </component>
445 <component name="ToolWindowManager"> 431 <component name="ToolWindowManager">
446 <frame x="-8" y="-8" width="1936" height="1056" extended-state="6" /> 432 <frame x="-8" y="-8" width="1936" height="1056" extended-state="6" />
  433 + <editor active="true" />
447 <layout> 434 <layout>
448 <window_info anchor="bottom" id="TODO" order="6" /> 435 <window_info anchor="bottom" id="TODO" order="6" />
449 <window_info anchor="bottom" id="调试" order="7" /> 436 <window_info anchor="bottom" id="调试" order="7" />
450 <window_info anchor="bottom" id="Event Log" order="7" side_tool="true" weight="0.32997763" /> 437 <window_info anchor="bottom" id="Event Log" order="7" side_tool="true" weight="0.32997763" />
451 <window_info anchor="bottom" id="Database Changes" order="7" show_stripe_button="false" /> 438 <window_info anchor="bottom" id="Database Changes" order="7" show_stripe_button="false" />
452 <window_info anchor="bottom" id="Version Control" order="7" show_stripe_button="false" /> 439 <window_info anchor="bottom" id="Version Control" order="7" show_stripe_button="false" />
453 - <window_info active="true" anchor="bottom" id="Terminal" order="7" visible="true" weight="0.32997763" /> 440 + <window_info anchor="bottom" id="Terminal" order="7" weight="0.32997763" />
454 <window_info anchor="bottom" id="运行" order="7" /> 441 <window_info anchor="bottom" id="运行" order="7" />
455 <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.13539445" /> 442 <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.13539445" />
456 <window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" /> 443 <window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" />
@@ -778,11 +765,6 @@ @@ -778,11 +765,6 @@
778 <state relative-caret-position="-329" /> 765 <state relative-caret-position="-329" />
779 </provider> 766 </provider>
780 </entry> 767 </entry>
781 - <entry file="file://$PROJECT_DIR$/addons/epay/view/layout/default.html">  
782 - <provider selected="true" editor-type-id="text-editor">  
783 - <state relative-caret-position="-1213" />  
784 - </provider>  
785 - </entry>  
786 <entry file="file://$PROJECT_DIR$/addons/epay/library/Service.php"> 768 <entry file="file://$PROJECT_DIR$/addons/epay/library/Service.php">
787 <provider selected="true" editor-type-id="text-editor"> 769 <provider selected="true" editor-type-id="text-editor">
788 <state relative-caret-position="442"> 770 <state relative-caret-position="442">
@@ -811,51 +793,56 @@ @@ -811,51 +793,56 @@
811 </state> 793 </state>
812 </provider> 794 </provider>
813 </entry> 795 </entry>
814 - <entry file="file://$PROJECT_DIR$/application/admin/view/pay_view/index.html"> 796 + <entry file="file://$PROJECT_DIR$/application/admin/controller/PayView.php">
815 <provider selected="true" editor-type-id="text-editor"> 797 <provider selected="true" editor-type-id="text-editor">
816 - <state relative-caret-position="-57">  
817 - <caret line="25" column="49" selection-start-line="25" selection-start-column="49" selection-end-line="25" selection-end-column="49" /> 798 + <state relative-caret-position="572">
  799 + <caret line="44" column="23" selection-start-line="44" selection-start-column="20" selection-end-line="44" selection-end-column="23" />
818 <folding> 800 <folding>
819 - <element signature="n#style#0;n#td#0;n#tr#3;n#tbody#0;n#table#0;n#div#0;n#div#0;n#div#0;n#div#0;n#div#1;n#div#0;n#!!top" expanded="true" />  
820 - <element signature="n#style#0;n#input#0;n#b#0;n#td#1;n#tr#3;n#tbody#0;n#table#0;n#div#0;n#div#0;n#div#0;n#div#0;n#div#1;n#div#0;n#!!top" expanded="true" />  
821 - <element signature="n#style#0;n#div#0;n#b#0;n#td#1;n#tr#3;n#tbody#0;n#table#0;n#div#0;n#div#0;n#div#0;n#div#0;n#div#1;n#div#0;n#!!top" expanded="true" />  
822 - <element signature="e#2136#2142#0" expanded="true" />  
823 - <element signature="e#2151#2157#0" expanded="true" />  
824 - <element signature="e#2157#2163#0" expanded="true" />  
825 - <element signature="n#style#0;n#span#0;n#div#0;n#b#0;n#td#1;n#tr#3;n#tbody#0;n#table#0;n#div#0;n#div#0;n#div#0;n#div#0;n#div#1;n#div#0;n#!!top" expanded="true" /> 801 + <element signature="e#129#163#0#PHP" expanded="true" />
  802 + </folding>
  803 + </state>
  804 + </provider>
  805 + </entry>
  806 + <entry file="file://$PROJECT_DIR$/application/admin/controller/Pay.php">
  807 + <provider selected="true" editor-type-id="text-editor">
  808 + <state relative-caret-position="-833">
  809 + <caret line="14" column="6" selection-start-line="14" selection-start-column="6" selection-end-line="14" selection-end-column="6" />
  810 + <folding>
  811 + <element signature="e#42#79#0#PHP" expanded="true" />
826 </folding> 812 </folding>
827 </state> 813 </state>
828 </provider> 814 </provider>
829 </entry> 815 </entry>
830 <entry file="file://$PROJECT_DIR$/addons/epay/view/index/index.html"> 816 <entry file="file://$PROJECT_DIR$/addons/epay/view/index/index.html">
831 <provider selected="true" editor-type-id="text-editor"> 817 <provider selected="true" editor-type-id="text-editor">
832 - <state relative-caret-position="-1941" /> 818 + <state relative-caret-position="-1839" />
833 </provider> 819 </provider>
834 </entry> 820 </entry>
835 - <entry file="file://$PROJECT_DIR$/public/assets/js/backend/pay_view.js"> 821 + <entry file="file://$PROJECT_DIR$/addons/epay/view/layout/default.html">
836 <provider selected="true" editor-type-id="text-editor"> 822 <provider selected="true" editor-type-id="text-editor">
837 - <state relative-caret-position="544">  
838 - <caret line="44" column="99" selection-start-line="44" selection-start-column="99" selection-end-line="44" selection-end-column="99" />  
839 - </state> 823 + <state relative-caret-position="-1213" />
840 </provider> 824 </provider>
841 </entry> 825 </entry>
842 - <entry file="file://$PROJECT_DIR$/application/admin/controller/Pay.php"> 826 + <entry file="file://$PROJECT_DIR$/application/admin/view/pay_view/index.html">
843 <provider selected="true" editor-type-id="text-editor"> 827 <provider selected="true" editor-type-id="text-editor">
844 - <state relative-caret-position="238">  
845 - <caret line="14" column="6" selection-start-line="14" selection-start-column="6" selection-end-line="14" selection-end-column="6" /> 828 + <state relative-caret-position="623">
  829 + <caret line="62" column="50" lean-forward="true" selection-start-line="62" selection-start-column="50" selection-end-line="62" selection-end-column="50" />
846 <folding> 830 <folding>
847 - <element signature="e#42#79#0#PHP" expanded="true" /> 831 + <element signature="n#style#0;n#td#0;n#tr#3;n#tbody#0;n#table#0;n#div#0;n#div#0;n#div#0;n#div#0;n#div#1;n#div#0;n#!!top" expanded="true" />
  832 + <element signature="n#style#0;n#input#0;n#b#0;n#td#1;n#tr#3;n#tbody#0;n#table#0;n#div#0;n#div#0;n#div#0;n#div#0;n#div#1;n#div#0;n#!!top" expanded="true" />
  833 + <element signature="n#style#0;n#div#0;n#b#0;n#td#1;n#tr#3;n#tbody#0;n#table#0;n#div#0;n#div#0;n#div#0;n#div#0;n#div#1;n#div#0;n#!!top" expanded="true" />
  834 + <element signature="e#2136#2142#0" expanded="true" />
  835 + <element signature="e#2151#2157#0" expanded="true" />
  836 + <element signature="e#2157#2163#0" expanded="true" />
  837 + <element signature="n#style#0;n#span#0;n#div#0;n#b#0;n#td#1;n#tr#3;n#tbody#0;n#table#0;n#div#0;n#div#0;n#div#0;n#div#0;n#div#1;n#div#0;n#!!top" expanded="true" />
848 </folding> 838 </folding>
849 </state> 839 </state>
850 </provider> 840 </provider>
851 </entry> 841 </entry>
852 - <entry file="file://$PROJECT_DIR$/application/admin/controller/PayView.php"> 842 + <entry file="file://$PROJECT_DIR$/public/assets/js/backend/pay_view.js">
853 <provider selected="true" editor-type-id="text-editor"> 843 <provider selected="true" editor-type-id="text-editor">
854 - <state relative-caret-position="436">  
855 - <caret line="37" column="31" selection-start-line="37" selection-start-column="31" selection-end-line="37" selection-end-column="31" />  
856 - <folding>  
857 - <element signature="e#129#163#0#PHP" expanded="true" />  
858 - </folding> 844 + <state relative-caret-position="544">
  845 + <caret line="44" column="62" selection-start-line="44" selection-start-column="62" selection-end-line="44" selection-end-column="62" />
859 </state> 846 </state>
860 </provider> 847 </provider>
861 </entry> 848 </entry>
@@ -57,9 +57,16 @@ @@ -57,9 +57,16 @@
57 </b> 57 </b>
58 </td> 58 </td>
59 </tr> 59 </tr>
  60 + <tr>
  61 + <td></td>
  62 + <td class="qrcode">
  63 + <img src=""/>
  64 + </td>
  65 + </tr>
60 </tbody> 66 </tbody>
61 </table> 67 </table>
62 <button class="btn btn-info pay" type="button">立即充值</button> 68 <button class="btn btn-info pay" type="button">立即充值</button>
  69 +
63 </div> 70 </div>
64 </div> 71 </div>
65 </div> 72 </div>
@@ -42,7 +42,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin @@ -42,7 +42,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
42 data:{'admin_id':admin_id,'total':total}, 42 data:{'admin_id':admin_id,'total':total},
43 success:function(res){ 43 success:function(res){
44 if(res.code == 1){ 44 if(res.code == 1){
45 - console.log(window.location.protocol+"//"+window.location.host+"/admin/pay_view/pay/order_id/"+res.data.order_id); 45 + $('.qrcode').find('img').attr('src',window.location.protocol+"//"+window.location.host+"/admin/pay_view/pay/order_id/"+res.data.order_id);
46 }else{ 46 }else{
47 top.window.Layer.open({ 47 top.window.Layer.open({
48 title:'温馨提示', 48 title:'温馨提示',