issueLoginCode追加, モック追加 #76
|
@ -36,4 +36,11 @@ public interface ChildData {
|
|||
* @param childId 子ID
|
||||
*/
|
||||
void removeChild(String childId);
|
||||
|
||||
/**
|
||||
* 子ユーザーログインコード発行
|
||||
* @param childId 子ID
|
||||
* @return int ログインコード
|
||||
*/
|
||||
int issueLoginCode(String childId);
|
||||
}
|
||||
|
|
|
@ -45,4 +45,9 @@ public class ChildDataDummyImpl implements ChildData {
|
|||
public void removeChild(String childId) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public int issueLoginCode(String childId) {
|
||||
return 123456;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user