瀏覽代碼

修改代码

syh 5 年之前
父節點
當前提交
072d13930d

+ 0 - 1
jeecg-boot-module-system/src/main/java/org/jeecg/modules/ctop/job/BytedanceMaterialsLoadJob.java

@@ -31,7 +31,6 @@ public class BytedanceMaterialsLoadJob implements Job {
         String dateString = dateFormat.format(getDate);
         String dateString = dateFormat.format(getDate);
         //1:查询当日数据
         //1:查询当日数据
         List<CtopOauthToken> tokens = tokenService.getTokenListByType(CtopAdConstant.PLATFORM_TYPE_BYTEDANCE);
         List<CtopOauthToken> tokens = tokenService.getTokenListByType(CtopAdConstant.PLATFORM_TYPE_BYTEDANCE);
-
         executorService = Executors.newFixedThreadPool(10);
         executorService = Executors.newFixedThreadPool(10);
         tokens.forEach(token -> {
         tokens.forEach(token -> {
             executorService.submit(new Runnable() {
             executorService.submit(new Runnable() {

+ 19 - 0
module-common/src/main/java/cn/com/ctop/common/module/service/IBindAccountAuthService.java

@@ -13,9 +13,28 @@ import java.io.UnsupportedEncodingException;
  */
  */
 public interface IBindAccountAuthService extends IService<BindAccountAuth> {
 public interface IBindAccountAuthService extends IService<BindAccountAuth> {
 
 
+    /**
+     * 获取快手url
+     *
+     * @param state
+     * @return
+     * @throws UnsupportedEncodingException
+     */
     String getKuaishouCodeUrl(String state) throws UnsupportedEncodingException;
     String getKuaishouCodeUrl(String state) throws UnsupportedEncodingException;
 
 
+    /**
+     * 获取头条url
+     * @param state
+     * @return
+     * @throws UnsupportedEncodingException
+     */
     String getByteDanceCodeUrl(String state) throws UnsupportedEncodingException;
     String getByteDanceCodeUrl(String state) throws UnsupportedEncodingException;
 
 
+    /**
+     * 绑定账号
+     * @param accountId
+     * @param type
+     * @param state
+     */
     void addBindAccount(Long accountId, String type, String state);
     void addBindAccount(Long accountId, String type, String state);
 }
 }

+ 6 - 0
module-common/src/main/java/cn/com/ctop/common/module/service/IBindAccountLoginService.java

@@ -10,5 +10,11 @@ import com.baomidou.mybatisplus.extension.service.IService;
  * @Version: V1.0
  * @Version: V1.0
  */
  */
 public interface IBindAccountLoginService extends IService<BindAccountLogin> {
 public interface IBindAccountLoginService extends IService<BindAccountLogin> {
+    /**
+     * 查询
+     *
+     * @param accountId
+     * @return
+     */
     BindAccountLogin selectByAccountId(String accountId);
     BindAccountLogin selectByAccountId(String accountId);
 }
 }

+ 0 - 4
module-common/src/main/java/cn/com/ctop/common/module/utils/FileUploadTool.java

@@ -60,10 +60,6 @@ public class FileUploadTool {
             bflag = false;
             bflag = false;
         }
         }
         if (bflag) {
         if (bflag) {
-            //  String logoPathDir = "/video/";
-            //    String logoRealPathDir = request.getSession().getServletContext().getRealPath(logoPathDir);
-            // 上传到本地磁盘
-            // String logoRealPathDir = "E:/upload";
             File logoSaveFile = new File(savaPath);
             File logoSaveFile = new File(savaPath);
             if (!logoSaveFile.exists()) {
             if (!logoSaveFile.exists()) {
                 logoSaveFile.mkdirs();
                 logoSaveFile.mkdirs();