data.js
331 Bytes
'use strict';
var $ = require('jquery'),
common = require('../../../../common/common');
var ENUM = null;
var param = location.href.match(/(edit|info)\/(\d+)/)[2];
common.util.__ajax({
url: '/goods/netsale/getdata',
async: false,
data: {
param: param
}
}, function(res) {
ENUM = res.data;
}, true);
module.exports = ENUM;