Authored by hongweigao

修改楼层id埋点

... ... @@ -66,7 +66,7 @@ exports.studentsNum = (data) => {
* @return object
*/
exports.studentResource = (data) => {
let dest = {couponObj:{}};
let dest = {couponObj: {}};
_.forEach(data, (value) => {
switch (value.template_name) {
... ... @@ -80,7 +80,7 @@ exports.studentResource = (data) => {
Object.assign(dest, {rightsObj: {rightsItem: value.data.list || {}, floorId: value.template_id}});
break;
case 'image_list':
Object.assign(dest, {activityObj:{activityItem: value.data.list || {}, floorId: value.template_id} });
Object.assign(dest, {activityObj: {activityItem: value.data.list || {}, floorId: value.template_id} });
break;
case 'link':
Object.assign(dest, {moreProducts: value.data[0].url || ''});
... ...
... ... @@ -184,6 +184,7 @@ function submitIdentity(json) {
}).then(function(data) {
if (data.code === 200) {
identityFlag = false;
// xls-4身份认证成功埋点
// givePoint('YB_STUDENT_ATTCT_RESULT', {
// SRC_ID: 5,
... ...