fix:竞技场第一名头像特殊处理,可以用道具直接解锁
This commit is contained in:
parent
138ee2675c
commit
0a94965e30
@ -17,6 +17,7 @@ export default async function (call: ApiCall<ReqOpen, ResOpen>) {
|
|||||||
// 如果初始没有数据,就判断玩家是否有活动对应的影响,生成一下初始化数据
|
// 如果初始没有数据,就判断玩家是否有活动对应的影响,生成一下初始化数据
|
||||||
if (!db) {
|
if (!db) {
|
||||||
|
|
||||||
|
|
||||||
let _dbType: `chuanshuozhilu${number}` = `chuanshuozhilu${call.req.hdid}`
|
let _dbType: `chuanshuozhilu${number}` = `chuanshuozhilu${call.req.hdid}`
|
||||||
const hid = _hdinfo.data.hid
|
const hid = _hdinfo.data.hid
|
||||||
let heros = await G.mongodb.collection("hero").find({uid: call.uid, heroId: hid})
|
let heros = await G.mongodb.collection("hero").find({uid: call.uid, heroId: hid})
|
||||||
|
@ -17,7 +17,7 @@ export default {
|
|||||||
/**redis url */
|
/**redis url */
|
||||||
redisUrl: 'redis://:lyMaple525458@10.0.1.20:6379/0',
|
redisUrl: 'redis://:lyMaple525458@10.0.1.20:6379/0',
|
||||||
/**mongodb url */
|
/**mongodb url */
|
||||||
mongodbUrl: 'mongodb://root:lyMaple525458@10.0.1.20:27017/heijiao?authSource=admin',
|
mongodbUrl: 'mongodb://root:lyMaple525458@10.0.1.20:27017/heijiao_ysr?authSource=admin',
|
||||||
/**cross redis url */
|
/**cross redis url */
|
||||||
crossRedisUrl: 'redis://:lyMaple525458@10.0.1.20:6379/1',
|
crossRedisUrl: 'redis://:lyMaple525458@10.0.1.20:6379/1',
|
||||||
/**cross mongodb url */
|
/**cross mongodb url */
|
||||||
@ -27,7 +27,7 @@ export default {
|
|||||||
/**服务器时间 */
|
/**服务器时间 */
|
||||||
time: '',
|
time: '',
|
||||||
/**开服时间 */
|
/**开服时间 */
|
||||||
openTime: '2023-12-11 1:0:0',
|
openTime: '2024-01-05 1:0:0',
|
||||||
/**项目名称 */
|
/**项目名称 */
|
||||||
projectName: 'heijiao',
|
projectName: 'heijiao',
|
||||||
/**加密key */
|
/**加密key */
|
||||||
|
Loading…
Reference in New Issue
Block a user