修改util链接为相对路径;删掉注释
This commit is contained in:
@@ -1 +1 @@
|
||||
/Users/bantu/zyz_server/shared/pubUtils
|
||||
../../shared/pubUtils
|
||||
@@ -1,17 +1,6 @@
|
||||
import BaseModel from './BaseModel';
|
||||
import { index, getModelForClass, prop } from '@typegoose/typegoose';
|
||||
|
||||
// class TowerTask {
|
||||
// @prop({ required: true })
|
||||
// id: number; // 任务唯一 Id,来自任务表
|
||||
// @prop({ required: true})
|
||||
// taskCode: string; // 服务器生成的任务唯一编号
|
||||
// @prop({ required: true, type: Number, default: []})
|
||||
// heroes: Array<number>; // 派遣武将 hid
|
||||
// @prop({ required: true })
|
||||
// status: boolean; // 派遣任务当前状态,0-可派遣,1-已派遣,2-已完成,3-已领取
|
||||
// }
|
||||
|
||||
function genCodeTmp(len) {
|
||||
const chars = '123456789ABCDEFGHJKLMNPQRSTWXYZabcdefghijklmnopqrstuvwxyz';
|
||||
const charArr = chars.split('');
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
|
||||
import { getGamedata } from './gamedata';
|
||||
// import { CounterModel } from '../db/Counter';
|
||||
// import { EquipModel } from '../db/Equip';
|
||||
import { HeroModel } from '../db/Hero';
|
||||
// import { GOOD_TYPE } from '../consts/consts';
|
||||
const moment = require('moment');
|
||||
|
||||
export function genCode(len) {
|
||||
|
||||
@@ -1 +1 @@
|
||||
/Users/bantu/zyz_server/shared/pubUtils
|
||||
../../shared/pubUtils
|
||||
Reference in New Issue
Block a user