issueLoginCode追加, モック追加 #76

Merged
Fujimatsu merged 1 commits from feature/add_child_logincode_mock into main 2024-06-21 02:31:31 +00:00
2 changed files with 12 additions and 0 deletions

View File

@ -36,4 +36,11 @@ public interface ChildData {
* @param childId 子ID * @param childId 子ID
*/ */
void removeChild(String childId); void removeChild(String childId);
/**
* 子ユーザーログインコード発行
* @param childId 子ID
* @return int ログインコード
*/
int issueLoginCode(String childId);
} }

View File

@ -45,4 +45,9 @@ public class ChildDataDummyImpl implements ChildData {
public void removeChild(String childId) { public void removeChild(String childId) {
} }
@Override
public int issueLoginCode(String childId) {
return 123456;
}
} }