Skip to content

Instantly share code, notes, and snippets.

@ronfe
Last active April 20, 2016 10:34
Show Gist options
  • Save ronfe/4469536645ffe05e107601e3780364f1 to your computer and use it in GitHub Desktop.
Save ronfe/4469536645ffe05e107601e3780364f1 to your computer and use it in GitHub Desktop.
//退款原因、拒绝续费、拒绝退费(逍遥Part)
{
userId: {type: ObjectId, required: true},
tag: {type: String, enum: ["refund", "noPay", "noRenew"]}, //refund = 退款问卷, noPay = 拒绝付费问卷, noRenew = 拒绝续费问卷
publisher: {type: String},
semester: {type: String},
body: {
"anotherString": {
"qq": String
}
"options": [String], //用户选择的选项, 包括“其他”
"message": String, //如果用户选择“其他”,该字段为用户的输入,否则为""
"q": String, //用户的渠道号(channel)
"os": {type: String, enum: ["ios", "android", "pc"]} //用户填问卷所处的系统
}, // 问卷内容
createTime: {type: Date, default: Date.now},
}
//退出A类视频、退出非A类视频(欢哥Part)
{
userId: {type: ObjectId, required: true},
tag: {type: String, enum: ["quitA", "quitP"]}, //quitA = 退出A类视频问卷,quitP = 退出非A类视频问卷
publisher: {type: String},
semester: {type: String},
body: {
"options": [String], //用户选择的选项, 包括“其他”
"message": String, //如果用户选择“其他”,该字段为用户的输入,否则为""
"videoId": ObjectId, //视频的hypervideo ID
"duration": Number, //退出时视频时间/观看该视频的总时长
"q": String, //用户的渠道号(channel)
"os": {type: String, enum: ["ios", "android", "pc"]} //用户填问卷所处的系统
}, // 问卷内容
createTime: {type: Date, default: Date.now},
}
//VIP用户满意度问卷
{
userId: {type: ObjectId, required: true},
tag: "satisfactory",
publisher: {type: String},
semester: {type: String},
body: {
"options": [String], //用户选择的选项, 包括“其他”
"message": String, //如果用户有填写其他原因,该字段为用户的输入,否则为""
"q": String, //用户的渠道号(channel)
"os": {type: String, enum: ["ios", "android", "pc"]} //用户填问卷所处的系统
}, // 问卷内容
createTime: {type: Date, default: Date.now},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment