简要描述:

  • 押注提交接口

请求URL:

  • http://localhost/dice_game/index.php/index/yal

请求方式:

  • POST

参数:

参数名 必选 类型 说明
type string 押注类型(da,xiao,dan,shuang,baozi)
mamey int 押注金币
token string 用户token

返回示例

 { 
     "code" : "210", 
     "dqqishu" : 18, 
     "outtime" : 221, 
     "last" : { 
          "qishu" : 17, 
          "jssum" : 180, 
          "dianshu1" : "2", 
          "dianshu2" : "5", 
          "dianshu3" : "3", 
          "dianshustate" : "小双" 
     }, 
     "userstate" : { 
          "msg" : "已登录", 
          "user_state" : "1", 
          "userid" : 1, 
          "username" : "admin", 
          "jinbi" : "108649", 
          "da" : 100, 
          "xiao" : "0", 
          "shuang" : "0", 
          "dan" : "0", 
          "baozi" : "0" 
     }, 
     "daycount" : { 
          "countn" : 3, 
          "countm" : 600 
     }, 
     "yazhu" : { 
          "da" : 100, 
          "xiao" : 0, 
          "dan" : 0, 
          "shuang" : 0, 
          "baozi" : 0 
     }, 
     "msg" : "押注成功", 
     "syjb" : "108649" 
 } 

返回参数说明

参数名 类型 说明
msg string 返回文字提示
syjb int 剩余金币

备注

  • 其余参数我就不解释了,可以看首页数据
文档更新时间: 2018-11-12 10:37   作者:Youngxj