public int register( String account, String pwd, String nickname, String school, String cls, int sex, int age, String name, String tel, int pro1, int pro2, int typ, String city, int grade) { return DFWDao.registerData( account, pwd, nickname, school, cls, sex, age, name, tel, pro1, pro2, typ, city, grade); }
public void updateLoginFlag(long id, int flag) { DFWDao.updateLoginFlag(id, flag); }
public int changePwd(String account, String pwd, String newPwd) { return DFWDao.changePwd(account, pwd, newPwd); }
public List getMyRankList(int pid) { return DFWDao.getSaveDataList(pid); }
public List getRankList(int pid) { return DFWDao.getRankList(pid); }
public ArrayList updateScore(long id, int score, int level) { return DFWDao.updateScore(id, score, level); }
public Map<String, Object> getSaveData(int userId) { return DFWDao.getSaveData(userId); }
// @Transactional(readOnly = true) public Map<String, Object> geLoginData(String account, String pwd) { return DFWDao.saveAndGetUserData(account, pwd); }