forked from integrated_whb/integrated_whb
47 lines
1.2 KiB
Java
47 lines
1.2 KiB
Java
|
package com.zcloud.controller.eduApp;
|
|||
|
|
|||
|
import com.zcloud.controller.base.BaseController;
|
|||
|
import com.zcloud.service.eduOem.OemManageService;
|
|||
|
import com.zcloud.entity.PageData;
|
|||
|
import org.springframework.beans.factory.annotation.Autowired;
|
|||
|
import org.springframework.stereotype.Controller;
|
|||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|||
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|||
|
|
|||
|
import java.util.HashMap;
|
|||
|
import java.util.Map;
|
|||
|
|
|||
|
/**
|
|||
|
* 说明:oem管理
|
|||
|
* 作者:luoxiaobao
|
|||
|
* 时间:2023-03-14
|
|||
|
* 官网:www.zcloudchina.com
|
|||
|
*/
|
|||
|
@Controller
|
|||
|
@RequestMapping("/app/oemmanage")
|
|||
|
public class AppOemManageController extends BaseController {
|
|||
|
|
|||
|
@Autowired
|
|||
|
private OemManageService oemmanageService;
|
|||
|
|
|||
|
/**
|
|||
|
* 获取数据
|
|||
|
*
|
|||
|
* @param
|
|||
|
* @throws Exception
|
|||
|
*/
|
|||
|
@RequestMapping(value = "/getOemInfo")
|
|||
|
@ResponseBody
|
|||
|
public Object findByAppDomainName() throws Exception {
|
|||
|
Map<String, Object> map = new HashMap<String, Object>();
|
|||
|
String errInfo = "success";
|
|||
|
PageData pd = new PageData();
|
|||
|
pd = this.getPageData();
|
|||
|
pd = oemmanageService.findByAppDomainName(pd);
|
|||
|
map.put("pd", pd);
|
|||
|
map.put("result", errInfo);
|
|||
|
return map;
|
|||
|
}
|
|||
|
|
|||
|
}
|