Commit 77946393 authored by tangfang's avatar tangfang

修改码模板

parent 318c2326
......@@ -5,6 +5,11 @@ SET SH=%SH% docker run --name pd-user -it -d --restart always
SET SH=%SH% -v /home/pangd/conf:/home/java/conf/ -v /home/cache/:/home/cache/ -v /home/pangd/:/home/pangd/ --net pd
SET SH=%SH% pd-user:latest --spring.profiles.active=prod --yzg.config.url=/home/java/conf/pd_all.properties
:: SET SH=%SH% docker rm -f pd-user1;
:: SET SH=%SH% docker run --name pd-user1 -it -d --restart always
:: SET SH=%SH% -v /home/pangd/conf:/home/java/conf/ -v /home/cache/:/home/cache/ -v /home/pangd/:/home/pangd/ --net pd
:: SET SH=%SH% pd-user:latest --spring.profiles.active=prod --yzg.config.url=/home/java/conf/pd_all.properties
if 1 equ 1 (
java_docker -ssh root@spd1 -sh "%SH%"
......
package com.pangding.web.authority.feign;
import com.pangding.web.vo.product.req.merchant.CompanyCompanySaveSimpleReqVo;
import com.yanzuoguang.util.vo.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
@FeignClient(value = "pd-interface-distribution")
@RestController
@RequestMapping(value = "/conversion", method = RequestMethod.POST, produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
public interface DistributionFeign {
/**
* 途比达推荐大屏数据
* 公司信息保存
*/
@PostMapping(value = "/sendCompanyInfo",produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
ResponseResult<String> sendCompanyInfo(CompanyCompanySaveSimpleReqVo req);
}
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