package com.hxzkappboot.controller;
|
|
import com.hxzkappboot.pojo.TbTaskScheduling;
|
import com.hxzkappboot.pojo.TbUpapp;
|
import com.hxzkappboot.service.TbTaskSchedulingService;
|
import com.hxzkappboot.service.TbUpappService;
|
import com.hxzkappboot.util.R;
|
import com.hxzkappboot.util.StatusCode;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.RestController;
|
|
import java.text.ParseException;
|
import java.util.ArrayList;
|
import java.util.List;
|
|
@RestController
|
public class TbUpappController {
|
|
@Autowired
|
TbUpappService tbUpappService;
|
|
@GetMapping({"/api/wx/findTbUpapp"})
|
public R findTbUpapp(String name) throws ParseException {
|
R response ;
|
TbUpapp appList = new TbUpapp();
|
appList = tbUpappService.findTbUpapp(name);
|
response = new R(StatusCode.Success);
|
response.setData(appList);
|
return response;
|
}
|
}
|