|
@@ -3,6 +3,7 @@ package com.fjhx.customer.controller.customer;
|
|
|
import com.baomidou.dynamic.datasource.annotation.DS;
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
import com.fjhx.common.constant.SourceConstant;
|
|
|
+import com.fjhx.common.utils.Assert;
|
|
|
import com.fjhx.customer.entity.customer.dto.CustomerDto;
|
|
|
import com.fjhx.customer.entity.customer.dto.CustomerSelectDto;
|
|
|
import com.fjhx.customer.entity.customer.vo.CustomerVo;
|
|
@@ -141,4 +142,13 @@ public class CustomerController {
|
|
|
return customerService.tagStatistics(customerDto);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 刷新小满信息
|
|
|
+ */
|
|
|
+ @PostMapping("/refreshXiaomanInfo")
|
|
|
+ public void refreshXiaomanInfo(@RequestBody CustomerDto customerDto) {
|
|
|
+ Assert.notEmpty(customerDto.getCompanyId(), "小满ID不能为空");
|
|
|
+ SpringUtils.getBean(XiaomanApiService.class).updateSingle(customerDto.getCompanyId());
|
|
|
+ }
|
|
|
+
|
|
|
}
|