package com.engine.htsc.fwnrTokmbh.web;

import com.alibaba.fastjson.JSONObject;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.MediaType;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class GetKmbhTempAction {
    @GET
    @Path("/GetKmbhTemp")
    @Produces({MediaType.APPLICATION_JSON})
    public String getKmbhTemp(@Context HttpServletRequest request, @Context HttpServletResponse response){
        Map<String,Object> code = new HashMap<>();
        code.put("code","200");
        Map<String,Object> kmxx = new HashMap<>();
        kmxx.put("kmmc","其他业务招待费");
        kmxx.put("kmbm","40018601050203");
        code.put("data",kmxx);
        return JSONObject.toJSONString(code);
    }
}
