作者 xiaohu thinkpad

登录处理

... ... @@ -75,8 +75,8 @@
<file leaf-file-name="UserBaseController.php" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/simplewind/cmf/controller/UserBaseController.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="294">
<caret line="22" column="33" selection-start-line="22" selection-start-column="33" selection-end-line="22" selection-end-column="33" />
<state relative-caret-position="357">
<caret line="25" column="32" lean-forward="true" selection-start-line="25" selection-start-column="32" selection-end-line="25" selection-end-column="32" />
</state>
</provider>
</entry>
... ... @@ -270,7 +270,7 @@
<workItem from="1535514127808" duration="727000" />
<workItem from="1535532970259" duration="2527000" />
<workItem from="1535546044129" duration="20814000" />
<workItem from="1535633001243" duration="3953000" />
<workItem from="1535633001243" duration="4322000" />
</task>
<task id="LOCAL-00001" summary="修复预约后不能再预约的问题">
<created>1535458170068</created>
... ... @@ -552,11 +552,25 @@
<option name="project" value="LOCAL" />
<updated>1535637256089</updated>
</task>
<option name="localTasksCounter" value="41" />
<task id="LOCAL-00041" summary="登录处理">
<created>1535637470734</created>
<option name="number" value="00041" />
<option name="presentableId" value="LOCAL-00041" />
<option name="project" value="LOCAL" />
<updated>1535637470734</updated>
</task>
<task id="LOCAL-00042" summary="登录处理">
<created>1535637704890</created>
<option name="number" value="00042" />
<option name="presentableId" value="LOCAL-00042" />
<option name="project" value="LOCAL" />
<updated>1535637704890</updated>
</task>
<option name="localTasksCounter" value="43" />
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="58405000" />
<option name="totallyTimeSpent" value="58774000" />
</component>
<component name="ToolWindowManager">
<frame x="-8" y="-8" width="1936" height="1056" extended-state="6" />
... ... @@ -891,8 +905,8 @@
</entry>
<entry file="file://$PROJECT_DIR$/simplewind/cmf/controller/UserBaseController.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="294">
<caret line="22" column="33" selection-start-line="22" selection-start-column="33" selection-end-line="22" selection-end-column="33" />
<state relative-caret-position="357">
<caret line="25" column="32" lean-forward="true" selection-start-line="25" selection-start-column="32" selection-end-line="25" selection-end-column="32" />
</state>
</provider>
</entry>
... ...
... ... @@ -23,7 +23,7 @@ class UserBaseController extends HomeBaseController
if(!$login_info){
unset($_SESSION);
session('user.id','');
return redirect($this->request->root() . '/user/profile/percenter');
return redirect('/user/profile/percenter');
}
}
... ...