巡乐会抽奖接口提交.-联调- bug修改-工会改成公会

This commit is contained in:
2025-09-02 20:55:00 +08:00
parent 6f5a60b00a
commit 309c899e53
2 changed files with 5 additions and 5 deletions

View File

@@ -108,7 +108,7 @@ return [
'该装扮天数不存在' => '该装扮天数不存在',
'该个人靓号已被购买' => '该个人靓号已被购买',
'该房间靓号已被购买' => '该房间靓号已被购买',
'该会靓号已被购买' => '该会靓号已被购买',
'该会靓号已被购买' => '该会靓号已被购买',
'用户信息错误' => '用户信息错误',
'非法资金类型' => '非法资金类型',
'当前用户金币已达上限' => '当前用户金币已达上限',

View File

@@ -15,8 +15,8 @@ class Decorate extends Model
// 定义时间戳字段名
protected $createTime = 'createtime';
protected $updateTime = 'updatetime';
// 定义字段类型 1头像框 2坐骑 3麦圈 6个人靓号 7房间靓号 8会靓号
public $TypeArray = [1=>'头像框',2=>'坐骑',3=>'麦圈',6=>'个人靓号',7=>'房间靓号',8=>'会靓号'];
// 定义字段类型 1头像框 2坐骑 3麦圈 6个人靓号 7房间靓号 8会靓号
public $TypeArray = [1=>'头像框',2=>'坐骑',3=>'麦圈',6=>'个人靓号',7=>'房间靓号',8=>'会靓号'];
protected $FromType = [1=>'购买',2=>'后台赠送',3=>'礼盒开奖',4=>'好友赠送',5=>'首充赠送',6=>'天降好礼获得',7=>'财富等级特权赠送'];
public function __construct($data = [])
{
@@ -150,7 +150,7 @@ class Decorate extends Model
return ['code' => 0, 'msg' => '该房间靓号已被购买', 'data' => null];
}
if($decorate_info['type'] == 8 && $decorate_info['is_user_buy'] == 1){
return ['code' => 0, 'msg' => '该会靓号已被购买', 'data' => null];
return ['code' => 0, 'msg' => '该会靓号已被购买', 'data' => null];
}
$start_time = $now_time = time();
Db::startTrans();
@@ -368,7 +368,7 @@ class Decorate extends Model
//用户装扮详情
/*
* @param $id 对象id
* @param $type 装扮类型 1头像框 2坐骑 3麦圈 6个人靓号 7房间靓号 8会靓号
* @param $type 装扮类型 1头像框 2坐骑 3麦圈 6个人靓号 7房间靓号 8会靓号
*/
public function user_decorate_detail($id, $type){
//根据$type 组装查询条件