继续操作前请注册或者登录。

作者 郭盛
1 个管道 的构建 通过 耗费 1 秒

获取sessionkey

... ... @@ -12,33 +12,13 @@
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
<option name="LAST_RESOLUTION" value="IGNORE" />
</component>
<component name="DockManager">
<window id="1">
<content type="file-editors">
<state>
<leaf>
<file leaf-file-name="verify.php" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/application/extra/verify.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="100">
<caret line="4" column="15" lean-forward="false" selection-start-line="4" selection-start-column="9" selection-end-line="4" selection-end-column="15" />
<folding />
</state>
</provider>
</entry>
</file>
</leaf>
</state>
</content>
</window>
</component>
<component name="FileEditorManager">
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
<file leaf-file-name="User.php" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/application/api/controller/User.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="287">
<caret line="1564" column="49" lean-forward="true" selection-start-line="1564" selection-start-column="49" selection-end-line="1564" selection-end-column="49" />
<state relative-caret-position="12">
<caret line="1544" column="37" lean-forward="false" selection-start-line="1544" selection-start-column="37" selection-end-line="1544" selection-end-column="37" />
<folding>
<element signature="e#365#484#0#PHP" expanded="false" />
<element signature="e#490#1228#0#PHP" expanded="false" />
... ... @@ -97,7 +77,6 @@
<element signature="e#49349#50107#0#PHP" expanded="false" />
<element signature="e#50112#52499#0#PHP" expanded="false" />
<element signature="e#53813#54412#0#PHP" expanded="false" />
<element signature="e#54417#55359#0#PHP" expanded="false" />
<element signature="e#55365#56080#0#PHP" expanded="false" />
</folding>
</state>
... ... @@ -184,8 +163,8 @@
</component>
<component name="PhpWorkspaceProjectConfiguration" backward_compatibility_performed="true" />
<component name="ProjectFrameBounds">
<option name="x" value="507" />
<option name="y" value="133" />
<option name="x" value="628" />
<option name="y" value="56" />
<option name="width" value="1776" />
<option name="height" value="974" />
</component>
... ... @@ -297,7 +276,7 @@
<workItem from="1574469667436" duration="25235000" />
<workItem from="1574641631900" duration="15479000" />
<workItem from="1574669596135" duration="11747000" />
<workItem from="1574727687281" duration="4557000" />
<workItem from="1574727687281" duration="5262000" />
</task>
<task id="LOCAL-00001" summary="调试">
<created>1574145133364</created>
... ... @@ -310,7 +289,7 @@
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="234828000" />
<option name="totallyTimeSpent" value="235533000" />
</component>
<component name="TodoView">
<todo-panel id="selected-file">
... ... @@ -322,17 +301,16 @@
</todo-panel>
</component>
<component name="ToolWindowManager">
<frame x="507" y="133" width="1776" height="974" extended-state="0" />
<editor active="true" />
<frame x="628" y="56" width="1776" height="974" extended-state="0" />
<layout>
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.15792541" sideWeight="0.5" order="1" side_tool="false" content_ui="combo" />
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.15792541" sideWeight="0.5" order="1" side_tool="false" content_ui="combo" />
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32912987" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" />
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="true" content_ui="tabs" />
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.1363088" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Terminal" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.13620071" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="true" content_ui="tabs" />
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
... ... @@ -716,8 +694,8 @@
</entry>
<entry file="file://$PROJECT_DIR$/application/api/controller/Pay.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="386">
<caret line="39" column="8" lean-forward="false" selection-start-line="39" selection-start-column="8" selection-end-line="39" selection-end-column="38" />
<state relative-caret-position="-316">
<caret line="38" column="26" lean-forward="true" selection-start-line="38" selection-start-column="26" selection-end-line="38" selection-end-column="26" />
<folding>
<element signature="e#450#569#0#PHP" expanded="false" />
<element signature="e#575#888#0#PHP" expanded="false" />
... ... @@ -740,16 +718,16 @@
</entry>
<entry file="file://$PROJECT_DIR$/application/extra/verify.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="100">
<caret line="4" column="15" lean-forward="false" selection-start-line="4" selection-start-column="9" selection-end-line="4" selection-end-column="15" />
<state relative-caret-position="50">
<caret line="2" column="8" lean-forward="false" selection-start-line="2" selection-start-column="5" selection-end-line="2" selection-end-column="8" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/application/api/controller/User.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="287">
<caret line="1564" column="49" lean-forward="true" selection-start-line="1564" selection-start-column="49" selection-end-line="1564" selection-end-column="49" />
<state relative-caret-position="12">
<caret line="1544" column="37" lean-forward="false" selection-start-line="1544" selection-start-column="37" selection-end-line="1544" selection-end-column="37" />
<folding>
<element signature="e#365#484#0#PHP" expanded="false" />
<element signature="e#490#1228#0#PHP" expanded="false" />
... ... @@ -808,7 +786,6 @@
<element signature="e#49349#50107#0#PHP" expanded="false" />
<element signature="e#50112#52499#0#PHP" expanded="false" />
<element signature="e#53813#54412#0#PHP" expanded="false" />
<element signature="e#54417#55359#0#PHP" expanded="false" />
<element signature="e#55365#56080#0#PHP" expanded="false" />
</folding>
</state>
... ...
... ... @@ -1542,7 +1542,7 @@ class User extends Api
})
*/
public function getSessionKey(){
$rule = config('verify.path');
$rule = config('verify.raw');
$validate = new Validate([
'code' => 'require',
]);
... ... @@ -1558,6 +1558,7 @@ class User extends Api
$code = $data['code'];
$appId = $rule['app_id'];
$appSecret = $rule['secret'];
$response = "https://api.weixin.qq.com/sns/jscode2session?appid=$appId&secret=$appSecret&js_code=$code&grant_type=authorization_code";
... ...
... ... @@ -5962,7 +5962,7 @@
<div class="row mt0 footer">
<div class="col-md-6" align="left">
Generated on 2019-11-26 09:48:55 </div>
Generated on 2019-11-26 10:00:33 </div>
<div class="col-md-6" align="right">
<a href="https://www.fastadmin.net" target="_blank">FastAdmin</a>
</div>
... ...