|
@@ -30,6 +30,7 @@ import io.swagger.annotations.ApiParam;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.web.bind.annotation.DeleteMapping;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
@@ -76,6 +77,14 @@ public class KuaishouItemCollectSamplesController extends BaseController {
|
|
|
private IKuaishouItemListService itemListService;
|
|
|
@Autowired
|
|
|
private IKuaishouPromoterService promoterService;
|
|
|
+ @Value("${express.callback}")
|
|
|
+ private String expressCallback;
|
|
|
+
|
|
|
+
|
|
|
+ @GetMapping("/expressCallback")
|
|
|
+ public String expressCallback(Long id, String courierNumber, String companyCode) {
|
|
|
+ return expressCallback;
|
|
|
+ }
|
|
|
|
|
|
/**
|
|
|
* 查询【请填写功能名称】列表
|
|
@@ -514,7 +523,7 @@ public class KuaishouItemCollectSamplesController extends BaseController {
|
|
|
JSONObject returnJson = new JSONObject();
|
|
|
try {
|
|
|
SubscribeParameters subscribeParameters = new SubscribeParameters();
|
|
|
- subscribeParameters.setCallbackurl("http://ruixuan.api.tjyourong.com.cn/itemCollectSamples/callback");
|
|
|
+ subscribeParameters.setCallbackurl(expressCallback);
|
|
|
subscribeParameters.setPhone(phone);
|
|
|
SubscribeParam subscribeParam = new SubscribeParam();
|
|
|
subscribeParam.setParameters(subscribeParameters);
|