//#import $owl_mall_u:services/modelService.jsx
//#import Util.js

$.log("\nmall_user_logout....updateUserState.jsx......begin");
var oldObj = ctx.get("old");
var data = ctx.get("data");

if(oldObj.state == "0" && data.state == "1") {
    var jUser = owl_mall_uService.get(data.user_id);

    jUser.isEnable = "0";
    jUser.disableRemark = "注销申请审核通过，用户注销";
    owl_mall_uService.update(jUser);
}
$.log("\nmall_user_logout....updateUserState.jsx......end");










