Explorar o código

fix:ios创建渠道逻辑修改

zack hai 1 mes
pai
achega
2a2c2426b1

+ 24 - 0
ReadMe.md

@@ -719,6 +719,30 @@ nohup java -jar -Xms1024m -Xmx1024m -XX:MaxMetaspaceSize=256M -XX:+UseCompressed
 question-service.jar > adventure.log 2>&1 &
 ```
 
+#### 青柠檬ios lemonios
+
+```shell
+# 青柠檬ios lemonios
+# 10.206.16.11  10.206.16.15
+nohup java -jar -Xms3072m -Xmx3072m -XX:MaxMetaspaceSize=256M -XX:+UseCompressedOops \
+-XX:+UseG1GC -XX:ConcGCThreads=2 -XX:InitiatingHeapOccupancyPercent=35 \
+-XX:G1ReservePercent=10 -XX:MaxGCPauseMillis=300 \
+-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/data/www/app/ytpm/service-ios-lemon/lemonios.hprof \
+lemonios-service.jar > lemonios.log 2>&1 &
+```
+
+#### 咕噜日记ios gollumios
+
+```shell
+# 咕噜日记ios gollumios
+# 10.206.16.11  10.206.16.15
+nohup java -jar -Xms2048m -Xmx2048m -XX:MaxMetaspaceSize=256M -XX:+UseCompressedOops \
+-XX:+UseG1GC -XX:ConcGCThreads=2 -XX:InitiatingHeapOccupancyPercent=35 \
+-XX:G1ReservePercent=10 -XX:MaxGCPauseMillis=300 \
+-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/data/www/app/ytpm/service-ios-gollum/gollumios.hprof \
+gollumios-service.jar > gollumios.log 2>&1 &
+```
+
 
 
 ## 数据处理

+ 0 - 4
yt-agent/agent-service/src/main/java/com/ytpm/service/impl/AgentDitchServiceImpl.java

@@ -11,7 +11,6 @@ import com.ytpm.dao.AppMapper;
 import com.ytpm.general.RepMessage;
 import com.ytpm.general.Result;
 import com.ytpm.general.ResultTable;
-import com.ytpm.lemonios.feign.LemonIosFeign;
 import com.ytpm.service.AgentDitchService;
 import org.springframework.stereotype.Service;
 import org.springframework.transaction.annotation.Transactional;
@@ -30,9 +29,6 @@ public class AgentDitchServiceImpl implements AgentDitchService {
     @Resource
     private AppMapper appMapper;
 
-    @Resource
-    private LemonIosFeign lemonIosFeign;
-
 
     @Override
     public ResultTable<AgentDitchView> ditchList(DitchListParam param) {

+ 1 - 1
yt-ios-lemon/lemon-ios-feign/src/main/java/com/ytpm/lemonios/feign/GollumIosFeign.java → yt-ios-lemon/lemon-ios-feign/src/main/java/com/ytpm/lemonios/feign/feign/GollumIosFeign.java

@@ -1,4 +1,4 @@
-package com.ytpm.lemonios.feign;
+package com.ytpm.lemonios.feign.feign;
 
 import com.ytpm.lemonios.feign.base.BaseFeign;
 import org.springframework.cloud.openfeign.FeignClient;

+ 1 - 1
yt-ios-lemon/lemon-ios-feign/src/main/java/com/ytpm/lemonios/feign/LemonIosFeign.java → yt-ios-lemon/lemon-ios-feign/src/main/java/com/ytpm/lemonios/feign/feign/LemonIosFeign.java

@@ -1,4 +1,4 @@
-package com.ytpm.lemonios.feign;
+package com.ytpm.lemonios.feign.feign;
 
 import com.ytpm.lemonios.feign.base.BaseFeign;
 import org.springframework.cloud.openfeign.FeignClient;

+ 2 - 1
yt-ios-lemon/lemon-ios-service/src/main/java/com/ytpm/lemonios/service/impl/DitchServiceImpl.java

@@ -28,7 +28,8 @@ public class DitchServiceImpl implements DitchService {
     @Override
     public Integer save(YtApp app) {
         YtDitch ytDitch = new YtDitch();
-        ytDitch.setDitchName(app.getAppName());
+        ytDitch.setDitchId(app.getDitchId());
+        ytDitch.setDitchName(app.getDitchName());
         ytDitch.setUserId(app.getUserId());
         ytDitch.setAppId(app.getAppId());
         ytDitch.setAppType(app.getAppType().toString());