1、后台功能配置
2、增加麻将的胡牌玩法配置
This commit is contained in:
@@ -56,7 +56,7 @@ public class GamePlaywayController extends Handler{
|
||||
|
||||
@RequestMapping({"/playway/add"})
|
||||
@Menu(type="platform", subtype="playway")
|
||||
public ModelAndView add(ModelMap map , HttpServletRequest request , @Valid String id){
|
||||
public ModelAndView add(ModelMap map , HttpServletRequest request , @Valid String id, @Valid String typeid){
|
||||
|
||||
map.addAttribute("game", BeiMiDic.getInstance().getDicItem(id)) ;
|
||||
map.addAttribute("gameModelList", BeiMiDic.getInstance().getDic(BMDataContext.BEIMI_SYSTEM_GAME_TYPE_DIC, id)) ;
|
||||
@@ -66,6 +66,7 @@ public class GamePlaywayController extends Handler{
|
||||
|
||||
map.addAttribute("dicList", BeiMiDic.getInstance().getDic(BMDataContext.BEIMI_SYSTEM_GAME_ROOMTITLE_DIC)) ;
|
||||
|
||||
map.addAttribute("typeid", typeid) ;
|
||||
return request(super.createRequestPageTempletResponse("/apps/business/platform/game/playway/add"));
|
||||
}
|
||||
|
||||
|
||||
@@ -62,7 +62,9 @@ public class GamePlayway implements java.io.Serializable{
|
||||
private String game ; //游戏类型 : 麻将:地主:德州
|
||||
private int players ; //游戏人数
|
||||
|
||||
private int numofgames ;//局数 , 大厅游戏未 0 表示 无限
|
||||
private int numofgames ;//局数 , 大厅游戏为 0 表示 无限
|
||||
|
||||
private String wintype ;//胡牌方式,推倒胡,血战 、 血流
|
||||
|
||||
|
||||
private String roomtype ; //房间类型, 房卡:大厅
|
||||
@@ -294,4 +296,10 @@ public class GamePlayway implements java.io.Serializable{
|
||||
public void setMjwinrules(String mjwinrules) {
|
||||
this.mjwinrules = mjwinrules;
|
||||
}
|
||||
public String getWintype() {
|
||||
return wintype;
|
||||
}
|
||||
public void setWintype(String wintype) {
|
||||
this.wintype = wintype;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user