wuxw7
2018-04-13 3de85d01308c5efa0bc77d4a02fdc9a16d5aa9fb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package com.java110.feign.base;
 
import com.java110.common.util.ProtocolUtil;
import org.springframework.web.bind.annotation.RequestParam;
 
/**
 * Created by wuxw on 2017/4/11.
 */
public class PrimaryKeyServiceFallback implements IPrimaryKeyService {
    @Override
    public String queryPrimaryKey(@RequestParam("data") String data) {
        return ProtocolUtil.createResultMsg(ProtocolUtil.RETURN_MSG_ERROR,"调用主键查询超时",null);
 
    }
}