Browse Source

Merge branch 'test' into pre-production

dev-warehouse
zhenghaoyu 2 years ago
parent
commit
ce1facd6c2
  1. 5
      blade-service-api/logpm-basicdata-api/src/main/java/com/logpm/basicdata/feign/IBasicdataStoreBusinessClient.java
  2. 3
      blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/BasicDataApplication.java

5
blade-service-api/logpm-basicdata-api/src/main/java/com/logpm/basicdata/feign/IBasicdataStoreBusinessClient.java

@ -16,8 +16,9 @@
*/ */
package com.logpm.basicdata.feign; package com.logpm.basicdata.feign;
import org.springblade.core.mp.support.BladePage;
import com.logpm.basicdata.entity.BasicdataStoreBusinessEntity; import com.logpm.basicdata.entity.BasicdataStoreBusinessEntity;
import org.springblade.common.constant.ModuleNameConstant;
import org.springblade.core.mp.support.BladePage;
import org.springframework.cloud.openfeign.FeignClient; import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
@ -29,7 +30,7 @@ import org.springframework.web.bind.annotation.RequestParam;
* @since 2023-06-19 * @since 2023-06-19
*/ */
@FeignClient( @FeignClient(
value = "blade-basicdataStoreBusiness" value = ModuleNameConstant.APPLICATION_BASICDATA_NAME
) )
public interface IBasicdataStoreBusinessClient { public interface IBasicdataStoreBusinessClient {

3
blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/BasicDataApplication.java

@ -1,7 +1,6 @@
package com.logpm.basicdata; package com.logpm.basicdata;
import org.springblade.common.constant.LauncherConstant;
import org.springblade.common.constant.ModuleNameConstant; import org.springblade.common.constant.ModuleNameConstant;
import org.springblade.core.cloud.client.BladeCloudApplication; import org.springblade.core.cloud.client.BladeCloudApplication;
import org.springblade.core.launch.BladeApplication; import org.springblade.core.launch.BladeApplication;
@ -15,7 +14,7 @@ import org.springblade.core.launch.BladeApplication;
public class BasicDataApplication { public class BasicDataApplication {
public static void main(String[] args) { public static void main(String[] args) {
BladeApplication.run(ModuleNameConstant.APPLICATION_BASICDATA_NAME.concat("-lmy"), BasicDataApplication.class, args); BladeApplication.run(ModuleNameConstant.APPLICATION_BASICDATA_NAME, BasicDataApplication.class, args);
} }

Loading…
Cancel
Save