1
This commit is contained in:
@@ -1,45 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Model.Param
|
||||
{
|
||||
/// <summary>
|
||||
/// 公共分页参数
|
||||
/// </summary>
|
||||
public class BaseListPageParam
|
||||
{
|
||||
private string _keyword = "";
|
||||
private int _page = 1;
|
||||
private int _pageSize = 10;
|
||||
/// <summary>
|
||||
/// 关键词
|
||||
/// </summary>
|
||||
public string KeyWord
|
||||
{
|
||||
get { return string.IsNullOrWhiteSpace(_keyword) ? "" : _keyword.Trim(); }
|
||||
set { _keyword = string.IsNullOrWhiteSpace(value) ? "" : value.Trim(); }
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 页码
|
||||
/// </summary>
|
||||
public int? PageIndex
|
||||
{
|
||||
get { return _page <= 1 ? 1 : _page; }
|
||||
set { _page = value ?? 0; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 每页数量
|
||||
/// </summary>
|
||||
public int? PageSize
|
||||
{
|
||||
get { return _pageSize <= 1 ? 10 : _pageSize; }
|
||||
set { _pageSize = value ?? 0; }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d6f9153b1b2b07048a7f4805999a7192
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,50 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Model.Param
|
||||
{
|
||||
/// <summary>
|
||||
/// 创建房间参数
|
||||
/// </summary>
|
||||
public class CreateRoomParam
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 房间id
|
||||
/// </summary>
|
||||
public string roomId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用户ID
|
||||
/// </summary>
|
||||
public string userId { get; set; }
|
||||
/// <summary>
|
||||
/// 用户名称
|
||||
/// </summary>
|
||||
|
||||
public string userName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用户头像
|
||||
/// </summary>
|
||||
public string userAvatar { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 游戏类型 1 我方黑 2 我方红
|
||||
/// </summary>
|
||||
public int gameType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 密码,可为空字符串
|
||||
/// </summary>
|
||||
public string password { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 金币数量
|
||||
/// </summary>
|
||||
public int gold { get; set; } = 1000;
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 433879f7eac6e6344a0ac77c21d74016
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,15 +0,0 @@
|
||||
using Model.Entity;
|
||||
using Model.Entity.BaseModel;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Model.Param.Game
|
||||
{
|
||||
public class GameConfigParam
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 68ea623d07b0e6645bf687972fa1217f
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,25 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Model.Param.Game
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取广告位列表
|
||||
/// </summary>
|
||||
public class GetBannerListParam : BaseListPageParam
|
||||
{
|
||||
/// <summary>
|
||||
/// 状态 1 使用中 2 已停止 -1是全部
|
||||
/// </summary>
|
||||
public int State { get; set; } = -1;
|
||||
|
||||
/// <summary>
|
||||
/// 位置
|
||||
/// </summary>
|
||||
|
||||
public string? Position { get; set; } = "";
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 954b8a086f92b09459b03416599ad17c
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,21 +0,0 @@
|
||||
namespace Model.Param.Game
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取任务列表参数
|
||||
/// </summary>
|
||||
public class GetTaskListParam:BaseListPageParam
|
||||
{
|
||||
/// <summary>
|
||||
/// 任务状态 1 上架 2 下架 -1全部
|
||||
/// </summary>
|
||||
public int State { get; set; } = -1;
|
||||
/// <summary>
|
||||
/// 任务类型 -1 全部
|
||||
/// </summary>
|
||||
public int TaskType { get; set; } = -1;
|
||||
/// <summary>
|
||||
/// 任务事件 -1 全部
|
||||
/// </summary>
|
||||
public int TaskEvent { get; set; } = -1;
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cf85dde803c06ea42a9718ee2a8bcc90
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,13 +0,0 @@
|
||||
namespace Model.Param.Game
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取玩家任务列表参数
|
||||
/// </summary>
|
||||
public class GetUserTaskListParam
|
||||
{
|
||||
/// <summary>
|
||||
/// 任务类型 -1 全部
|
||||
/// </summary>
|
||||
public int TaskType { get; set; } = -1;
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2903ea713e3e1124cb8a720dc827d84c
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,28 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Model.Param.Other
|
||||
{
|
||||
/// <summary>
|
||||
/// 添加公告参数类
|
||||
/// </summary>
|
||||
public class AddNoticeParam
|
||||
{
|
||||
/// <summary>
|
||||
/// 标题
|
||||
/// </summary>
|
||||
public string Title { get; set; }
|
||||
/// <summary>
|
||||
/// 内容
|
||||
/// </summary>
|
||||
public string Content { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 简介
|
||||
/// </summary>
|
||||
public string Recommend { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d22d98b8ef826e84d93552628a5be101
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,16 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Model.Param.Other
|
||||
{
|
||||
/// <summary>
|
||||
/// 公告列表参数类
|
||||
/// </summary>
|
||||
public class GetNoticeListParam : BaseListPageParam
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 140676c3e89ecb149bdc400d1627f55a
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,13 +0,0 @@
|
||||
namespace Model.Param.Other
|
||||
{
|
||||
/// <summary>
|
||||
/// 更新公告参数类
|
||||
/// </summary>
|
||||
public class UpdateNoticeParam : AddNoticeParam
|
||||
{
|
||||
/// <summary>
|
||||
/// 公告id
|
||||
/// </summary>
|
||||
public string Id { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0ba53c0cd2f8bef489a5f26145316a52
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,28 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Model.Param.User
|
||||
{
|
||||
/// <summary>
|
||||
/// 添加玩家道具参数
|
||||
/// </summary>
|
||||
public class AddUserPropParam
|
||||
{
|
||||
/// <summary>
|
||||
/// 道具id
|
||||
/// </summary>
|
||||
public string PropId { get; set; }
|
||||
/// <summary>
|
||||
/// 数量
|
||||
/// </summary>
|
||||
public int Count { get; set; }
|
||||
/// <summary>
|
||||
/// 类型 3 鱼苗 4 鱼食 5鱼池 6 宝箱 7 锦鲤 8 装饰 9 清洁
|
||||
/// </summary>
|
||||
|
||||
public int Type { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9bfb0d0e9d2231b4f930dfc560662e63
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,29 +0,0 @@
|
||||
using Assets.MyGame.Scripts.Net.APIResponses.Enum;
|
||||
|
||||
namespace Model.Param.User
|
||||
{
|
||||
/// <summary>
|
||||
/// 已完成的任务参数类
|
||||
/// </summary>
|
||||
public class CompletedTaskParam
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 任务事件类型
|
||||
/// </summary>
|
||||
public TaskEvent taskEvent { get; set; }
|
||||
/// <summary>
|
||||
/// 用户ID
|
||||
/// </summary>
|
||||
public string userId { get; set; }=string.Empty;
|
||||
/// <summary>
|
||||
/// 根据传回数据判断任务是否 完成
|
||||
/// </summary>
|
||||
public int count { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// 其他ID,比如好友ID等
|
||||
/// </summary>
|
||||
public string otherId { get; set; } = "";
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: beb8f2ce8ffcec1459d1cbbc02ff97c9
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,21 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Model.Param.User
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取邮箱列表参数类
|
||||
/// </summary>
|
||||
public class GetEmailPageParam : BaseListPageParam
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 邮箱状态 0全部 1 已读 2 未读
|
||||
/// </summary>
|
||||
public int ReadStatus { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1621d46a351989842a3b03dfad91bb3d
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,29 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Model.Param.User
|
||||
{
|
||||
/// <summary>
|
||||
/// 注册用户请求参数
|
||||
/// </summary>
|
||||
public class RegisterUserParam
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 短信验证码
|
||||
/// </summary>
|
||||
public string Code { get; set; }
|
||||
/// <summary>
|
||||
/// 手机号
|
||||
/// </summary>
|
||||
public string? Mobile { get; set; }
|
||||
/// <summary>
|
||||
/// 邀请码
|
||||
/// </summary>
|
||||
public string? InviteCode { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9f7c96c87de57d54b96d84b90d3a6493
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,36 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Model.Param.User
|
||||
{
|
||||
/// <summary>
|
||||
/// 注册用户请求参数
|
||||
/// </summary>
|
||||
public class RegisterUserWeiXinParam
|
||||
{
|
||||
/// <summary>
|
||||
/// 第三方标识Id
|
||||
/// </summary>
|
||||
public string? OpenId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用户昵称
|
||||
/// </summary>
|
||||
public string? NickName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 头像地址
|
||||
/// </summary>
|
||||
public string? AvatarUrl { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 邀请码
|
||||
/// </summary>
|
||||
public string? InviteCode { get; set; }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
-11
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 813a2f9e48988354da7e4be83b1cfa5f
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,44 +0,0 @@
|
||||
using Model.Entity.BaseModel;
|
||||
using Model.Entity.User;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Model.Param.User
|
||||
{
|
||||
/// <summary>
|
||||
/// 发送邮件业务参数类
|
||||
/// </summary>
|
||||
public class SendEmailParam
|
||||
{
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 接收者 用户id
|
||||
/// </summary>
|
||||
public string? UserId { get; set; }
|
||||
/// <summary>
|
||||
/// 邮件标题
|
||||
/// </summary>
|
||||
public string? Title { get; set; }
|
||||
/// <summary>
|
||||
/// 邮件内容
|
||||
/// </summary>
|
||||
public string? Content { get; set; }
|
||||
/// <summary>
|
||||
/// 奖励钻石数量
|
||||
/// </summary>
|
||||
public int RewardDiamond { get; set; } = 0;
|
||||
/// <summary>
|
||||
/// 奖励积分数量
|
||||
/// </summary>
|
||||
public int RewardGold { get; set; } = 0;
|
||||
/// <summary>
|
||||
/// 奖励道具列表
|
||||
/// </summary>
|
||||
public List<BaseProductCount>? RewardItems { get; set; } = null;
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 809d01fcc0977554eb3abfff7ef5a69f
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,36 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Model.Param.User
|
||||
{
|
||||
/// <summary>
|
||||
/// 更新用户参数
|
||||
/// </summary>
|
||||
public class UpdateUserDataParam
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 用户ID
|
||||
/// </summary>
|
||||
public string Id { get; set; }
|
||||
/// <summary>
|
||||
/// 钻石数量
|
||||
/// </summary>
|
||||
public int Diamond { get; set; } = 0;
|
||||
/// <summary>
|
||||
/// 金币数量
|
||||
/// </summary>
|
||||
public int Gold { get; set; } = 0;
|
||||
/// <summary>
|
||||
/// 等级
|
||||
/// </summary>
|
||||
public int Level { get; set; } = 1;
|
||||
/// <summary>
|
||||
/// 经验值
|
||||
/// </summary>
|
||||
public int Exp { get; set; } = 0;
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 23c6fb7aa5e38e34a99b327531b8f5c6
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user