Commit 0d1277f3 by kangxiaoshan

处理404

parent 12552de8
package track.controller;
import common.model.*;
import dic.OperateObjectTypeEnum;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
import security.annotation.CurrentAccount;
import track.service.TrackAccountService;
import util.ResultModel;
import util.ResultStatus;
import util.UserLogThread;
import javax.servlet.http.HttpServletRequest;
/**
* Created by mxq on 2017/12/21.
*/
@Controller
public class AdsAccountController {
@Autowired
TrackAccountService tkioAccountService;
//客户列表
@RequestMapping(value = "/ads/marketing/accountmng/findAll", method = RequestMethod.GET)
@ResponseBody
public ResultModel findAds(@CurrentAccount User loginAccount) {
return ResultModel.OK(tkioAccountService.findAllAds(loginAccount));
}
@RequestMapping(value = "/abtest/marketing/accountmng/findAll", method = RequestMethod.GET)
@ResponseBody
public ResultModel findAbTest(@CurrentAccount User loginAccount) {
return ResultModel.OK(tkioAccountService.findAllAbTest(loginAccount));
}
}
......@@ -45,4 +45,8 @@ public interface TrackAccountService {
List<Contract> findContract(String email);
List<ContractChange> findContractChange(String email, String startDate, String endDate);
List<TrackAccount4Web> findAllAds(User loginAccount);
List<TrackAccount4Web> findAllAbTest(User loginAccount);
}
......@@ -109,6 +109,20 @@ public class TrackAccountServiceImpl implements TrackAccountService{
}
@Override
public List<TrackAccount4Web> findAllAds(User loginAccount) {
//暂时解决404
List<TrackAccount4Web> result = new ArrayList<>();
return result;
}
@Override
public List<TrackAccount4Web> findAllAbTest(User loginAccount) {
//暂时解决404
List<TrackAccount4Web> result = new ArrayList<>();
return result;
}
@Override
public TrackAccount4Web findOne(String email) {
List<Reminder> reminderList = reminderRepository.findAllDistinct("track");
Map<Long, Boolean> reMap = new HashMap<>();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment