zm
2020-05-18 a18bfacbf56b401f6e0fdae8710fbca4df8cff77
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package com.changhong.epc.form.rest.budget;
 
import com.changhong.epc.constter.form.utf.FormUrlConst;
import com.changhong.epc.form.service.budget.impl.GetConstant;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.client.loadbalancer.LoadBalancerClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
 
 
/**
 * 回写预算
 * @author wangZX
 *
 */
@RestController
@RequestMapping(method=RequestMethod.POST)
public class ProcessBudgetRest implements FormUrlConst{
 
 
    @Autowired 
    private LoadBalancerClient loadBalancerClient;
    
    @RequestMapping("/test")
    public Object test(){
        //return loadBalancerClient.choose(serviceId);
        return GetConstant.getFormIdGetConstant("budgetFormId");
    }
 
}