liumiao
2021-01-29 dac210e897e2f5b4a780111c1ddb5f597a1d3fd9
根据学员获取课次
1 files modified
4 ■■■■ changed files
app/Http/Controllers/Api/v1/ClassScheduleController.php 4 ●●●● patch | view | raw | blame | history
app/Http/Controllers/Api/v1/ClassScheduleController.php
@@ -299,8 +299,8 @@
            }
            $csVal["name"] = $name;
            $csVal["signInType"] = $csVal["signInType"] > 0 ? $csVal["signInType"] : 0;
            $csVal["headPhoto"] = $this->fun->stitchingPath($csVal["headPhoto"]);
            $csVal["faceImg"] = $this->fun->stitchingPath($csVal["faceImg"]);
            $csVal["headPhoto"] = $this->fun->getFacePath($csVal["headPhoto"]);
            $csVal["faceImg"] = $this->fun->getFacePath($csVal["faceImg"]);
            $csVal["createdTime"] = !empty($csVal["createdTime"]) ? substr($csVal["createdTime"], 11, 16) : '';
            $classMap[] = $csVal;
        }