//#import Util.js
//#import login.js
//#import session.js
//#import user.js
//#import $@projectCode:services/modelService.jsx
//#import @handlers/include/checklogin.jsx
;(function(){

    var env = checklogin();
    if(!env){
        return;
    }
    var shopId = env.shopId;
    var warehouseId = env.warehouseId;
    var m = shopId;

    var taskInfoId = @projectCodeService.addZipExportTask(env);

    var ret = {
        state:'ok',
        taskInfoId : taskInfoId
    }

    out.print(JSON.stringify(ret));
})();

