|
@@ -178,7 +178,7 @@ class Evection extends Base
|
|
|
* @title 我的出差详情
|
|
|
* @desc 我的出差详情
|
|
|
* @author qc
|
|
|
- * @url /api/Evection/getVacateList
|
|
|
+ * @url /api/Evection/getEvectionDetail
|
|
|
* @method GET
|
|
|
* @tag
|
|
|
* @header name:Authorization require:1 desc:Token
|
|
@@ -202,7 +202,7 @@ class Evection extends Base
|
|
|
* @return name:approve_list.headimg type:string default:-- desc:审批人头像
|
|
|
* @return name:approve_list.time type:string default:-- desc:审批用时(上一次审批完成到本次审批的时间,单位秒)
|
|
|
*/
|
|
|
- public function getVacateDetail()
|
|
|
+ public function getEvectionDetail()
|
|
|
{
|
|
|
$id = input('get.id');
|
|
|
$detail = EvectionInfo::with('approveList')->where(['user_id'=>$this->user_id])->where(['id'=>$id])
|