spring boot与dubbo的API依赖管理
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
package com.didispace.service;
|
||||
|
||||
/**
|
||||
* Created by zhaiyc on 2016/7/14.
|
||||
*/
|
||||
public interface ComputeService {
|
||||
|
||||
Integer add(int a, int b);
|
||||
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
package com.didispace.service.impl;
|
||||
|
||||
import com.didispace.service.ComputeService;
|
||||
|
||||
/**
|
||||
* Created by zhaiyc on 2016/7/14.
|
||||
*/
|
||||
public class ComputeServiceImpl implements ComputeService {
|
||||
|
||||
@Override
|
||||
public Integer add(int a, int b) {
|
||||
return a + b;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user