修改接口路径
parent
bbc79019ad
commit
35ea732249
@ -0,0 +1,32 @@
|
||||
package com.ibeetl.jlw.entity.api.teacher;
|
||||
|
||||
import com.ibeetl.admin.core.annotation.DictDeep;
|
||||
import com.ibeetl.admin.core.entity.CoreUser;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* 教师端-首页实体
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
@Accessors(chain = true)
|
||||
public class TeacherIndexData {
|
||||
|
||||
/**
|
||||
* 当前登录用户信息
|
||||
*/
|
||||
@DictDeep
|
||||
private CoreUser coreUser;
|
||||
|
||||
/**
|
||||
* 根据身份获取到信息
|
||||
*/
|
||||
private Object identityInfo;
|
||||
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
package com.ibeetl.jlw.service.api.teacher;
|
||||
|
||||
import com.ibeetl.jlw.entity.api.teacher.TeacherIndexData;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 教师端
|
||||
* </p>
|
||||
*
|
||||
* @author mlx
|
||||
* @date 2022/10/20
|
||||
* @modified
|
||||
*/
|
||||
@Service
|
||||
public class TeacherIndexService {
|
||||
|
||||
|
||||
/**
|
||||
* 教师端-首页数据
|
||||
* @return
|
||||
*/
|
||||
public TeacherIndexData index() {
|
||||
return new TeacherIndexData();
|
||||
}
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package com.ibeetl.jlw.web.module;
|
||||
package com.ibeetl.jlw.web.api;
|
||||
|
||||
import com.ibeetl.admin.core.web.JsonResult;
|
||||
import com.ibeetl.jlw.entity.CurrentUserInfo;
|
Loading…
Reference in New Issue