Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taobao-mini-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qinhaitao
taobao-mini-template
Commits
2d736987
Commit
2d736987
authored
Mar 29, 2021
by
qinhaitao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:
🎸
删除compileServer
parent
c0f4daf6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
830 deletions
+0
-830
config.json
v2.0/compileServer/config.json
+0
-830
No files found.
v2.0/compileServer/config.json
deleted
100644 → 0
View file @
c0f4daf6
{
"controllers"
:
{
"common"
:
{
"user"
:
{
"getVipInfo"
:
{
"desc"
:
"获取会员信息"
,
"decorators"
:
[
{
"type"
:
"common"
,
"name"
:
"checkParams"
,
"params"
:
[
"activityId"
]
}
],
"main"
:
[
{
"type"
:
"common"
,
"service"
:
"user"
,
"function"
:
"getShopVip"
,
"params"
:
[
{
"type"
:
"var"
,
"value"
:
"context"
},
{
"type"
:
"var"
,
"value"
:
"activityInfo"
}
],
"return"
:
true
}
]
},
"getRankList"
:
{
"desc"
:
"获取排行榜"
,
"decorators"
:
[
{
"type"
:
"common"
,
"name"
:
"checkParams"
,
"params"
:
[
"activityId"
,
"key"
,
"timeKey"
,
"limit"
]
}
],
"main"
:
[
{
"type"
:
"common"
,
"service"
:
"user"
,
"function"
:
"getMyRankInfo"
,
"params"
:
[
{
"type"
:
"var"
,
"value"
:
"context.data.key"
},
{
"type"
:
"var"
,
"value"
:
"context.data.timeKey"
},
{
"type"
:
"var"
,
"value"
:
"userInfo"
}
],
"return"
:
true
},
{
"type"
:
"common"
,
"service"
:
"user"
,
"function"
:
"getRank"
,
"params"
:
[
{
"type"
:
"var"
,
"value"
:
"context.data.key"
},
{
"type"
:
"var"
,
"value"
:
"context.data.timeKey"
},
{
"type"
:
"var"
,
"value"
:
"context.data.limit"
}
],
"return"
:
true
}
]
}
},
"task"
:
{
"getTaskList"
:
{
"desc"
:
"任务列表"
,
"decorators"
:
[
{
"type"
:
"common"
,
"name"
:
"checkParams"
,
"params"
:
[
"activityId"
]
},
{
"type"
:
"common"
,
"name"
:
"registeInfos"
,
"params"
:
[
"vipInfo"
,
"task"
]
},
{
"type"
:
"common"
,
"name"
:
"preCheck"
,
"params"
:
[
{
"type"
:
"common"
,
"behave"
:
"check"
,
"name"
:
"checkActivityTime"
}
]
},
{
"type"
:
"common"
,
"name"
:
"preUpdate"
,
"params"
:
[
{
"type"
:
"common"
,
"behave"
:
"update"
,
"name"
:
"updateVip"
},
{
"type"
:
"common"
,
"behave"
:
"update"
,
"name"
:
"updateSignGrowTask"
},
{
"type"
:
"common"
,
"behave"
:
"update"
,
"name"
:
"updateGrowOrderGoods"
}
]
}
],
"main"
:
[
{
"type"
:
"common"
,
"service"
:
"Growtask"
,
"function"
:
"initTaskList"
,
"params"
:
[
{
"type"
:
"var"
,
"value"
:
"userInfo"
},
{
"type"
:
"var"
,
"value"
:
"activityInfo"
},
{
"type"
:
"var"
,
"value"
:
"task"
}
],
"return"
:
true
}
]
},
"doCompleteTask"
:
{
"desc"
:
"完成任务"
,
"decorators"
:
[
{
"type"
:
"common"
,
"name"
:
"checkParams"
,
"params"
:
[
"activityId"
,
"taskType"
]
},
{
"type"
:
"common"
,
"name"
:
"registeInfos"
,
"params"
:
[
"session"
,
"task"
]
},
{
"type"
:
"common"
,
"name"
:
"preCheck"
,
"params"
:
[
{
"type"
:
"common"
,
"behave"
:
"check"
,
"name"
:
"checkActivityTime"
},
{
"type"
:
"common"
,
"behave"
:
"check"
,
"name"
:
"checkGrowTaskLimit"
},
{
"type"
:
"common"
,
"behave"
:
"check"
,
"name"
:
"checkExchangeCreditsTask"
}
]
}
],
"main"
:
[
{
"type"
:
"common"
,
"service"
:
"Growtask"
,
"function"
:
"completeTask"
,
"params"
:
[
{
"type"
:
"var"
,
"value"
:
"context.data.taskType"
},
{
"type"
:
"var"
,
"value"
:
"activityInfo"
},
{
"type"
:
"var"
,
"value"
:
"userInfo"
},
{
"type"
:
"var"
,
"value"
:
"task"
}
],
"return"
:
true
}
]
},
"receiveTaskRewards"
:
{
"desc"
:
"领取任务奖励"
,
"decorators"
:
[
{
"type"
:
"common"
,
"name"
:
"checkParams"
,
"params"
:
[
"activityId"
,
"taskType"
,
"rewardsKey"
]
},
{
"type"
:
"common"
,
"name"
:
"preCheck"
,
"params"
:
[
{
"type"
:
"common"
,
"behave"
:
"check"
,
"name"
:
"checkActivityTime"
},
{
"type"
:
"common"
,
"behave"
:
"check"
,
"name"
:
"checkRemainTimes"
}
]
}
],
"main"
:
[
{
"type"
:
"common"
,
"service"
:
"Growtask"
,
"function"
:
"receiveTaskRewards"
,
"params"
:
[
{
"type"
:
"var"
,
"value"
:
"context.data.taskType"
},
{
"type"
:
"var"
,
"value"
:
"context.data.rewardsKey"
},
{
"type"
:
"var"
,
"value"
:
"userInfo"
}
],
"return"
:
true
}
]
},
"getCollectGoodsList"
:
{
"desc"
:
"获取收藏商品列表"
,
"decorators"
:
[
{
"type"
:
"common"
,
"name"
:
"checkParams"
,
"params"
:
[
"activityId"
,
"itemIds"
]
},
{
"type"
:
"common"
,
"name"
:
"registeInfos"
,
"params"
:
[
"session"
]
}
],
"main"
:
[
{
"type"
:
"common"
,
"service"
:
"base"
,
"function"
:
"getItemListByIds"
,
"params"
:
[
{
"type"
:
"var"
,
"value"
:
"context.data.itemIds"
},
{
"type"
:
"var"
,
"value"
:
"session"
}
]
},
{
"type"
:
"common"
,
"service"
:
"Growtask"
,
"function"
:
"getItemListWithCollectStatus"
,
"params"
:
[
{
"type"
:
"var"
,
"value"
:
"commonBaseGetItemListByIdsResult1"
},
{
"type"
:
"var"
,
"value"
:
"userInfo"
}
],
"return"
:
true
}
]
}
},
"login"
:
{
"login"
:{
"desc"
:
"登录接口, 初始化/更新用户信息"
,
"decorators"
:[
{
"type"
:
"common"
,
"name"
:
"checkParams"
,
"params"
:
[
"activityId"
,
"userNick"
,
"avatar"
,
"isFollow"
]
},
{
"type"
:
"common"
,
"name"
:
"noCheckUser"
,
"params"
:
[
"activityId"
]
},
{
"type"
:
"common"
,
"name"
:
"registeInfos"
,
"params"
:
[
"vipInfo"
]
}
],
"main"
:
[
{
"type"
:
"common"
,
"service"
:
"user"
,
"function"
:
"doLogin"
,
"params"
:
[
{
"type"
:
"var"
,
"value"
:
"userInfo"
},
{
"type"
:
"var"
,
"value"
:
"vipInfo"
},
{
"type"
:
"var"
,
"value"
:
"activityInfo"
}
],
"return"
:
true
},
{
"type"
:
"common"
,
"service"
:
"access"
,
"function"
:
"addAccess"
,
"params"
:
[
{
"type"
:
"var"
,
"value"
:
"commonUserDoLoginResult1"
},
{
"type"
:
"var"
,
"value"
:
"vipInfo"
}
],
"return"
:
true
}
]
}
},
"base"
:
{
"getActivityBaseInfoById"
:{
"desc"
:
"活动基本信息"
,
"decorators"
:[
{
"type"
:
"common"
,
"name"
:
"checkParams"
,
"params"
:
[
"activityId"
]
},
{
"type"
:
"common"
,
"name"
:
"noCheckUser"
,
"params"
:
[
"activityId"
]
}
],
"main"
:
[
{
"type"
:
"common"
,
"service"
:
"base"
,
"function"
:
"getBaseInfo"
,
"params"
:
[
{
"type"
:
"var"
,
"value"
:
"context.data.activityId"
}
],
"return"
:
true
}
]
}
},
"stat"
:
{
"addStat"
:
{
"desc"
:
"增加埋点记录"
,
"decorators"
:
[
{
"type"
:
"common"
,
"name"
:
"checkParams"
,
"params"
:
[
"activityId"
,
"type"
]
}
],
"main"
:
[
{
"type"
:
"common"
,
"service"
:
"stat"
,
"function"
:
"addStat"
,
"params"
:
[
{
"type"
:
"var"
,
"value"
:
"context.data.type"
},
{
"type"
:
"var"
,
"value"
:
"userInfo"
}
],
"return"
:
true
}
]
},
"getStats"
:
{
"desc"
:
"统计数据"
,
"decorators"
:
[
{
"type"
:
"common"
,
"name"
:
"checkParams"
,
"params"
:
[
"activityId"
,
"startDay"
,
"endDay"
]
}
],
"main"
:
[
{
"type"
:
"common"
,
"service"
:
"stat"
,
"function"
:
"getStats"
,
"params"
:
[
{
"type"
:
"var"
,
"value"
:
"context.data.activityId"
},
{
"type"
:
"var"
,
"value"
:
"context.data.startDay"
},
{
"type"
:
"var"
,
"value"
:
"context.data.endDay"
}
]
},
{
"type"
:
"common"
,
"service"
:
"stat"
,
"function"
:
"buildExcel"
,
"params"
:
[
{
"type"
:
"var"
,
"value"
:
"context.data.startDay"
},
{
"type"
:
"var"
,
"value"
:
"context.data.endDay"
},
{
"type"
:
"var"
,
"value"
:
"commonStatGetStatsResult1"
}
],
"return"
:
true
}
]
}
},
"awards"
:
{
"getMyPrizeList"
:
{
"desc"
:
"我的奖品列表"
,
"decorators"
:
[
{
"type"
:
"common"
,
"name"
:
"checkParams"
,
"params"
:
[
"activityId"
]
}
],
"main"
:
[
{
"type"
:
"common"
,
"service"
:
"awards"
,
"function"
:
"getMyPrizeList"
,
"params"
:
[
{
"type"
:
"var"
,
"value"
:
"activityInfo"
}
],
"return"
:
true
}
]
},
"receiveObjectPrize"
:
{
"desc"
:
"领取实物"
,
"decorators"
:
[
{
"type"
:
"common"
,
"name"
:
"checkParams"
,
"params"
:
[
"activityId"
,
"id"
,
"name"
,
"phone"
,
"province"
,
"city"
,
"area"
,
"addressDetail"
,
"streetName"
]
},
{
"type"
:
"common"
,
"name"
:
"preCheck"
,
"params"
:
[
{
"type"
:
"common"
,
"behave"
:
"check"
,
"name"
:
"checkPrizeExpired"
},
{
"type"
:
"common"
,
"behave"
:
"check"
,
"name"
:
"checkValidObjectPrize"
}
]
}
],
"main"
:
[
{
"type"
:
"common"
,
"service"
:
"awards"
,
"function"
:
"recieveObjectPrize"
,
"params"
:
[
{
"type"
:
"var"
,
"value"
:
"context"
}
],
"return"
:
true
}
]
},
"receiveEnamePrize"
:
{
"desc"
:
"领取权益"
,
"decorators"
:
[
{
"type"
:
"common"
,
"name"
:
"checkParams"
,
"params"
:
[
"activityId"
,
"id"
]
},
{
"type"
:
"common"
,
"name"
:
"registeInfos"
,
"params"
:
[
"session"
]
},
{
"type"
:
"common"
,
"name"
:
"preCheck"
,
"params"
:
[
{
"type"
:
"common"
,
"behave"
:
"check"
,
"name"
:
"checkPrizeExpired"
},
{
"type"
:
"common"
,
"behave"
:
"check"
,
"name"
:
"checkValidEnamePrize"
}
]
}
],
"main"
:
[
{
"type"
:
"common"
,
"service"
:
"awards"
,
"function"
:
"recieveEnamePrize"
,
"params"
:
[
{
"type"
:
"var"
,
"value"
:
"context.data.id"
},
{
"type"
:
"var"
,
"value"
:
"awardInfo"
},
{
"type"
:
"var"
,
"value"
:
"session"
}
],
"return"
:
true
}
]
},
"drawLotteryPrize"
:
{
"desc"
:
"概率抽奖"
,
"decorators"
:
[
{
"type"
:
"common"
,
"name"
:
"checkParams"
,
"params"
:
[
"activityId"
,
"prizeDataType"
]
},
{
"type"
:
"common"
,
"name"
:
"registeInfos"
,
"params"
:
[
"session"
]
},
{
"type"
:
"common"
,
"name"
:
"preCheck"
,
"params"
:
[
{
"type"
:
"common"
,
"behave"
:
"check"
,
"name"
:
"checkActivityTime"
}
]
}
],
"main"
:
[
{
"type"
:
"common"
,
"service"
:
"awards"
,
"function"
:
"drawLottery"
,
"params"
:
[
{
"type"
:
"var"
,
"value"
:
"context.data.activityId"
},
{
"type"
:
"var"
,
"value"
:
"context.data.prizeDataType"
},
{
"type"
:
"var"
,
"value"
:
"userInfo"
}
],
"return"
:
true
}
]
}
},
"share"
:
{
"getShareInfo"
:
{
"desc"
:
"获取邀请信息"
,
"decorators"
:
[
{
"type"
:
"common"
,
"name"
:
"checkParams"
,
"params"
:
[
"activityId"
]
}
],
"main"
:
[
{
"type"
:
"common"
,
"service"
:
"user"
,
"function"
:
"queryDataByKey"
,
"params"
:
[
{
"value"
:
"remainTimes.invites"
},
{
"type"
:
"var"
,
"value"
:
"userInfo"
},
{
"value"
:
"rewards"
}
],
"return"
:
true
}
]
},
"doHelp"
:
{
"desc"
:
"完成分享"
,
"decorators"
:
[
{
"type"
:
"common"
,
"name"
:
"checkParams"
,
"params"
:
[
"activityId"
,
"inviteId"
]
},
{
"type"
:
"common"
,
"name"
:
"registeInfos"
,
"params"
:
[
"vipInfo"
]
},
{
"type"
:
"common"
,
"name"
:
"preCheck"
,
"params"
:
[
{
"type"
:
"common"
,
"behave"
:
"check"
,
"name"
:
"checkActivityTime"
},
{
"type"
:
"common"
,
"behave"
:
"check"
,
"name"
:
"checkInviteId"
},
{
"type"
:
"common"
,
"behave"
:
"check"
,
"name"
:
"checkNewVip"
},
{
"type"
:
"common"
,
"behave"
:
"check"
,
"name"
:
"checkHelpRecord"
}
]
}
],
"main"
:
[
{
"type"
:
"common"
,
"service"
:
"task"
,
"function"
:
"completeTask"
,
"params"
:
[
{
"value"
:
"invites"
},
{
"type"
:
"var"
,
"value"
:
"activityInfo"
},
{
"type"
:
"var"
,
"value"
:
"inviteUserInfo"
}
]
},
{
"type"
:
"common"
,
"service"
:
"stat"
,
"function"
:
"addStat"
,
"params"
:
[
{
"type"
:
"var"
,
"value"
:
"0"
},
{
"type"
:
"var"
,
"value"
:
"userInfo"
}
],
"return"
:
true
}
]
}
}
},
"custom"
:
{
"test1"
:
{
"testAddStat"
:
{
"desc"
:
"增加埋点记录"
,
"decorators"
:
[
{
"type"
:
"common"
,
"name"
:
"checkParams"
,
"params"
:
[
"activityId"
,
"type"
]
},
{
"type"
:
"custom"
,
"name"
:
"test1"
,
"params"
:
[
"tt"
]
}
],
"main"
:
[
{
"type"
:
"common"
,
"service"
:
"stat"
,
"function"
:
"addStat"
,
"params"
:
[
{
"type"
:
"var"
,
"value"
:
"context.data.type"
},
{
"type"
:
"var"
,
"value"
:
"userInfo"
}
],
"return"
:
true
},
{
"type"
:
"custom"
,
"service"
:
"test"
,
"function"
:
"test1"
,
"params"
:
[
],
"return"
:
true
}
]
},
"testGetStats"
:
{
"desc"
:
"统计数据"
,
"decorators"
:
[
{
"type"
:
"common"
,
"name"
:
"checkParams"
,
"params"
:
[
"activityId"
,
"startDay"
,
"endDay"
]
}
],
"main"
:
[
{
"type"
:
"common"
,
"service"
:
"stat"
,
"function"
:
"getStats"
,
"params"
:
[
{
"type"
:
"var"
,
"value"
:
"context.data.activityId"
},
{
"type"
:
"var"
,
"value"
:
"context.data.startDay"
},
{
"type"
:
"var"
,
"value"
:
"context.data.endDay"
}
]
},
{
"type"
:
"common"
,
"service"
:
"stat"
,
"function"
:
"buildExcel"
,
"params"
:
[
{
"type"
:
"var"
,
"value"
:
"context.data.startDay"
},
{
"type"
:
"var"
,
"value"
:
"context.data.endDay"
},
{
"type"
:
"var"
,
"value"
:
"commonStatGetStatsResult1"
}
],
"return"
:
true
}
]
}
},
"test2"
:
{
"test2addStat"
:
{
"desc"
:
"增加埋点记录"
,
"decorators"
:
[
{
"type"
:
"common"
,
"name"
:
"checkParams"
,
"params"
:
[
"activityId"
,
"type"
]
}
],
"main"
:
[
{
"type"
:
"common"
,
"service"
:
"stat"
,
"function"
:
"addStat"
,
"params"
:
[
{
"type"
:
"var"
,
"value"
:
"context.data.type"
},
{
"type"
:
"var"
,
"value"
:
"userInfo"
}
],
"return"
:
true
}
]
},
"test2getStats"
:
{
"desc"
:
"统计数据"
,
"decorators"
:
[
{
"type"
:
"common"
,
"name"
:
"checkParams"
,
"params"
:
[
"activityId"
,
"startDay"
,
"endDay"
]
},
{
"type"
:
"common"
,
"name"
:
"preUpdate"
,
"params"
:
[
{
"type"
:
"common"
,
"behave"
:
"update"
,
"name"
:
"updateVip"
},
{
"type"
:
"common"
,
"behave"
:
"update"
,
"name"
:
"updateSignTask"
},
{
"type"
:
"common"
,
"behave"
:
"update"
,
"name"
:
"updateOrderGoods"
}
]
}
],
"main"
:
[
{
"type"
:
"common"
,
"service"
:
"stat"
,
"function"
:
"getStats"
,
"params"
:
[
{
"type"
:
"var"
,
"value"
:
"context.data.activityId"
},
{
"type"
:
"var"
,
"value"
:
"context.data.startDay"
},
{
"type"
:
"var"
,
"value"
:
"context.data.endDay"
}
]
},
{
"type"
:
"common"
,
"service"
:
"stat"
,
"function"
:
"buildExcel"
,
"params"
:
[
{
"type"
:
"var"
,
"value"
:
"context.data.startDay"
},
{
"type"
:
"var"
,
"value"
:
"context.data.endDay"
},
{
"type"
:
"var"
,
"value"
:
"commonStatGetStatsResult1"
}
],
"return"
:
true
}
]
}
}
}
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment