Commit 075ceda3 by 张云飞

zyf

parent 1008aa4d
const TaskBase=require("../../task.base");
const settings=require("../../../../config/settings");
var excel = require('exceljs');
const system = require("../../../system");
const fs = require('fs');
class TestTask extends TaskBase{
constructor(){
super(TaskBase.getServiceName(TestTask));
}
async subBeforeTask(params){
console.log("前置操作......",this.serviceName);
}
async subDoTask(params){
console.log(params);
console.log("TestTask1.....");
}
}
module.exports=TestTask;
\ No newline at end of file
......@@ -78,6 +78,13 @@ var settings = {
return "http://icp.brg.tencentyun.coms";
}
},
icMaterialurl: function () {
if (this.env == "dev") {
return "http://192.168.1.125:8888";
} else {
return "http://192.168.1.125:8888";
}
},
redis:function(){
if(this.env=="dev"){
console.log("dev.........................................................");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment