作者 xiaohu thinkpad

测试获取当前时段的老师

... ... @@ -20,8 +20,8 @@
<file leaf-file-name="YuyueController.php" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/app/user/controller/YuyueController.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="672">
<caret line="75" column="48" lean-forward="true" selection-start-line="75" selection-start-column="48" selection-end-line="75" selection-end-column="48" />
<state relative-caret-position="147">
<caret line="48" column="21" selection-start-line="48" selection-start-column="21" selection-end-line="48" selection-end-column="21" />
<folding>
<element signature="e#636#668#0#PHP" expanded="true" />
<element signature="e#911#990#0#PHP" />
... ... @@ -163,8 +163,8 @@
<file leaf-file-name="ToolController.php" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/app/portal/controller/ToolController.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="189">
<caret line="20" column="63" selection-start-line="20" selection-start-column="52" selection-end-line="20" selection-end-column="63" />
<state relative-caret-position="462">
<caret line="33" column="3" lean-forward="true" selection-start-line="33" selection-start-column="3" selection-end-line="33" selection-end-column="3" />
</state>
</provider>
</entry>
... ... @@ -253,9 +253,9 @@
<option value="$USER_HOME$/Documents/NetSarang/Xftp/Temporary/Temporary/index2.htm" />
<option value="$USER_HOME$/Documents/NetSarang/Xftp/Temporary/Temporary/enter_jituanjiagou_acticle.htm" />
<option value="$USER_HOME$/Documents/NetSarang/Xftp/Temporary/Temporary/enter_jituanjiagou.htm" />
<option value="$PROJECT_DIR$/app/portal/controller/ToolController.php" />
<option value="$USER_HOME$/Documents/NetSarang/Xftp/Temporary/Temporary/IndexController.php" />
<option value="$USER_HOME$/Documents/NetSarang/Xftp/Temporary/Temporary/ProfileController.php" />
<option value="$PROJECT_DIR$/app/portal/controller/ToolController.php" />
<option value="$PROJECT_DIR$/app/user/controller/YuyueController.php" />
</list>
</option>
... ... @@ -378,7 +378,7 @@
<workItem from="1535458114609" duration="13848000" />
<workItem from="1535514127808" duration="727000" />
<workItem from="1535532970259" duration="2527000" />
<workItem from="1535546044129" duration="9763000" />
<workItem from="1535546044129" duration="10189000" />
</task>
<task id="LOCAL-00001" summary="修复预约后不能再预约的问题">
<created>1535458170068</created>
... ... @@ -506,11 +506,25 @@
<option name="project" value="LOCAL" />
<updated>1535548842017</updated>
</task>
<option name="localTasksCounter" value="19" />
<task id="LOCAL-00019" summary="测试获取当前时段的老师">
<created>1535559377550</created>
<option name="number" value="00019" />
<option name="presentableId" value="LOCAL-00019" />
<option name="project" value="LOCAL" />
<updated>1535559377550</updated>
</task>
<task id="LOCAL-00020" summary="测试获取当前时段的老师">
<created>1535559508443</created>
<option name="number" value="00020" />
<option name="presentableId" value="LOCAL-00020" />
<option name="project" value="LOCAL" />
<updated>1535559508443</updated>
</task>
<option name="localTasksCounter" value="21" />
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="43401000" />
<option name="totallyTimeSpent" value="43827000" />
</component>
<component name="ToolWindowManager">
<frame x="-8" y="-8" width="1936" height="1056" extended-state="6" />
... ... @@ -551,7 +565,8 @@
<MESSAGE value="已评价无数据情况" />
<MESSAGE value="取消预约短信" />
<MESSAGE value="ceshi wode jiaolian" />
<option name="LAST_COMMIT_MESSAGE" value="ceshi wode jiaolian" />
<MESSAGE value="测试获取当前时段的老师" />
<option name="LAST_COMMIT_MESSAGE" value="测试获取当前时段的老师" />
</component>
<component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/api/portal/controller/UserController.php">
... ... @@ -877,24 +892,24 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/portal/controller/ToolController.php">
<entry file="file://$USER_HOME$/Documents/NetSarang/Xftp/Temporary/Temporary/ProfileController.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="189">
<caret line="20" column="63" selection-start-line="20" selection-start-column="52" selection-end-line="20" selection-end-column="63" />
<state relative-caret-position="3507">
<caret line="175" column="36" lean-forward="true" selection-start-line="175" selection-start-column="36" selection-end-line="175" selection-end-column="36" />
</state>
</provider>
</entry>
<entry file="file://$USER_HOME$/Documents/NetSarang/Xftp/Temporary/Temporary/ProfileController.php">
<entry file="file://$PROJECT_DIR$/app/portal/controller/ToolController.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="3507">
<caret line="175" column="36" lean-forward="true" selection-start-line="175" selection-start-column="36" selection-end-line="175" selection-end-column="36" />
<state relative-caret-position="462">
<caret line="33" column="3" lean-forward="true" selection-start-line="33" selection-start-column="3" selection-end-line="33" selection-end-column="3" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/user/controller/YuyueController.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="672">
<caret line="75" column="48" lean-forward="true" selection-start-line="75" selection-start-column="48" selection-end-line="75" selection-end-column="48" />
<state relative-caret-position="147">
<caret line="48" column="21" selection-start-line="48" selection-start-column="21" selection-end-line="48" selection-end-column="21" />
<folding>
<element signature="e#636#668#0#PHP" expanded="true" />
<element signature="e#911#990#0#PHP" />
... ...
... ... @@ -46,6 +46,7 @@ class YuyueController extends UserBaseController
//step3:选择响应时间教练
public function coach_list(tool $tool)
{
echo 2111111;
if (!session('yuyue_pre.day')) {
echo '非法请求';
}
... ... @@ -73,6 +74,7 @@ class YuyueController extends UserBaseController
// $ex .= $v['teach_id'] . ',';
// }
$res = $tool->isMixTime($bbegin,$eend,$v['yuyue_begin'],$v['yuyue_end']);
print_r($res);
$res && $ex .= $v['teach_id'] . ',';
}
... ...