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

调试授权登录

... ... @@ -2,7 +2,6 @@
<project version="4">
<component name="ChangeListManager">
<list default="true" id="309ad746-5b2a-4c29-af46-e7925a35765c" name="默认的" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/application/home/controller/Goods.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/home/controller/Goods.php" afterDir="false" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
... ... @@ -68,8 +67,8 @@
<file leaf-file-name="Goods.php" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/application/home/controller/Goods.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="289">
<caret line="25" column="36" selection-start-line="25" selection-start-column="36" selection-end-line="25" selection-end-column="36" />
<state relative-caret-position="306">
<caret line="26" column="39" selection-start-line="26" selection-start-column="39" selection-end-line="26" selection-end-column="39" />
</state>
</provider>
</entry>
... ... @@ -449,7 +448,7 @@
<workItem from="1572223206994" duration="28857000" />
<workItem from="1572309778506" duration="26117000" />
<workItem from="1572395935540" duration="28313000" />
<workItem from="1572483209367" duration="13984000" />
<workItem from="1572483209367" duration="14023000" />
</task>
<task id="LOCAL-00001" summary="数据库配置">
<created>1571972429395</created>
... ... @@ -787,11 +786,18 @@
<option name="project" value="LOCAL" />
<updated>1572504815693</updated>
</task>
<option name="localTasksCounter" value="49" />
<task id="LOCAL-00049" summary="调试授权登录">
<created>1572504885453</created>
<option name="number" value="00049" />
<option name="presentableId" value="LOCAL-00049" />
<option name="project" value="LOCAL" />
<updated>1572504885453</updated>
</task>
<option name="localTasksCounter" value="50" />
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="227522000" />
<option name="totallyTimeSpent" value="227561000" />
</component>
<component name="ToolWindowManager">
<frame x="-8" y="-8" width="1936" height="1056" extended-state="6" />
... ... @@ -1229,8 +1235,8 @@
</entry>
<entry file="file://$PROJECT_DIR$/application/home/controller/Goods.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="289">
<caret line="25" column="36" selection-start-line="25" selection-start-column="36" selection-end-line="25" selection-end-column="36" />
<state relative-caret-position="306">
<caret line="26" column="39" selection-start-line="26" selection-start-column="39" selection-end-line="26" selection-end-column="39" />
</state>
</provider>
</entry>
... ...
... ... @@ -23,8 +23,8 @@ class Goods extends WechatBase
//判断是否授权
$user_id = get_current_user_id();
if(empty($user_id)){
$target_url = urlencode(url('','',false,true));
echo urldecode($target_url);
$target_url = urldecode(url('','',false,true));
echo $target_url;
exit();
$this->redirect('user/authorization_view',array('target_url'=>$target_url));
}
... ...