Explorar o código

修改头条定时任务

syh %!s(int64=4) %!d(string=hai) anos
pai
achega
e293001a9a

+ 1 - 7
jeecg-boot-base-common/src/main/java/org/jeecg/common/system/controller/CommonController.java

@@ -5,12 +5,10 @@ import com.alibaba.fastjson.JSONObject;
 import lombok.extern.slf4j.Slf4j;
 import org.jeecg.common.api.vo.Result;
 import org.jeecg.common.constant.CommonConstant;
-import org.jeecg.common.system.api.ISysBaseApi;
 import org.jeecg.common.util.CommonUtils;
 import org.jeecg.common.util.RestUtil;
 import org.jeecg.common.util.TokenUtils;
 import org.jeecg.common.util.oConvertUtils;
-import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.beans.factory.annotation.Value;
 import org.springframework.http.HttpHeaders;
 import org.springframework.http.HttpMethod;
@@ -41,10 +39,6 @@ import java.net.URLDecoder;
 @RestController
 @RequestMapping("/sys/common")
 public class CommonController {
-
-	@Autowired
-	private ISysBaseApi sysBaseAPI;
-
 	@Value(value = "${jeecg.path.upload}")
 	private String uploadpath;
 
@@ -98,7 +92,7 @@ public class CommonController {
 				savePath = this.uploadLocal(file,bizPath);
 			}
 		}else{
-			savePath = sysBaseAPI.upload(file,bizPath,uploadType);
+//			savePath = sysBaseApi.upload(file,bizPath,uploadType);
 		}
 		if(oConvertUtils.isNotEmpty(savePath)){
 			result.setMessage(savePath);

+ 1 - 1
module-job-bytedance/pom.xml

@@ -8,7 +8,7 @@
         <version>2.0.2</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
-
+    <version>2.0.2</version>
     <artifactId>module-job-bytedance</artifactId>
     <name>module-job-bytedance</name>
     <properties>

+ 1 - 7
module-job-kuaishou/pom.xml

@@ -8,7 +8,7 @@
         <version>2.0.2</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
-
+    <version>2.0.2</version>
     <artifactId>module-job-kuaishou</artifactId>
 
     <properties>
@@ -79,12 +79,6 @@
             <scope>compile</scope>
         </dependency>
         <dependency>
-            <groupId>cn.com.ctop</groupId>
-            <artifactId>performance-appraisal</artifactId>
-            <version>2.0.2</version>
-            <scope>compile</scope>
-        </dependency>
-        <dependency>
             <groupId>com.aliyun.oss</groupId>
             <artifactId>aliyun-sdk-oss</artifactId>
             <version>3.5.0</version>

+ 2 - 1
module-job-kuaishou/src/main/resources/application.yml

@@ -2,7 +2,8 @@ server:
   port: 8092
 spring:
   profiles:
-    active: @activatedProperties@
+#    active: @activatedProperties@
+    active: prod
   application:
     name: system-web
 swagger: