You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
526 B
Java
26 lines
526 B
Java
|
4 years ago
|
package com.jingcheng.cms.service;
|
||
|
|
|
||
|
|
import com.alibaba.fastjson.JSONObject;
|
||
|
|
import com.jingcheng.cms.model.Category;
|
||
|
|
import com.jingcheng.cms.model.CategoryType;
|
||
|
|
import com.jingcheng.cms.model.Professional;
|
||
|
|
import com.jingcheng.cms.util.AjaxResult;
|
||
|
|
|
||
|
|
import java.util.List;
|
||
|
|
|
||
|
|
public interface ProfessionalService {
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 获取所有专业
|
||
|
|
* @return
|
||
|
|
*/
|
||
|
|
List<Professional> getAllProfessional();
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 通过id获取专业
|
||
|
|
* @return
|
||
|
|
*/
|
||
|
|
Professional getProfessionalById(Long id);
|
||
|
|
|
||
|
|
}
|