目录结构调整
This commit is contained in:
16
codes/games/sales_service/server/loadjs/mod.js
Normal file
16
codes/games/sales_service/server/loadjs/mod.js
Normal file
@@ -0,0 +1,16 @@
|
||||
///////////////////////////////////////////////////
|
||||
//////////////////加载或更新js文件/////////////////
|
||||
///////////////////////////////////////////////////
|
||||
var mod_loadjs = mod_loadjs || cls_mod.new("mod_loadjs", "loadjs", app_server);
|
||||
|
||||
mod_loadjs.doloadjs = function(obj_msg)
|
||||
{
|
||||
if (!obj_msg.data.flag) {
|
||||
min_loadJsFile(obj_msg.data.jsfile);
|
||||
} else {
|
||||
min_loadJsFile(obj_msg.data.jsfile, function(){}, 1);
|
||||
}
|
||||
|
||||
obj_msg.result = "success";
|
||||
return obj_msg;
|
||||
}
|
||||
Reference in New Issue
Block a user