|
|
@ -5,9 +5,11 @@ import com.epmet.commons.tools.utils.Result; |
|
|
import com.epmet.dto.CustomerAppDTO; |
|
|
import com.epmet.dto.CustomerAppDTO; |
|
|
import com.epmet.dto.CustomerDTO; |
|
|
import com.epmet.dto.CustomerDTO; |
|
|
import com.epmet.dto.form.CustomerAppSecretFormDTO; |
|
|
import com.epmet.dto.form.CustomerAppSecretFormDTO; |
|
|
|
|
|
import com.epmet.dto.form.CustomerManagerFormDTO; |
|
|
import com.epmet.feign.fallback.OperCrmOpenFeignClientFallback; |
|
|
import com.epmet.feign.fallback.OperCrmOpenFeignClientFallback; |
|
|
import org.springframework.cloud.openfeign.FeignClient; |
|
|
import org.springframework.cloud.openfeign.FeignClient; |
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestBody; |
|
|
|
|
|
|
|
|
import java.util.List; |
|
|
import java.util.List; |
|
|
|
|
|
|
|
|
@ -41,4 +43,14 @@ public interface OperCrmOpenFeignClient { |
|
|
*/ |
|
|
*/ |
|
|
@PostMapping("/oper/crm/customerapp/getconfigallapp") |
|
|
@PostMapping("/oper/crm/customerapp/getconfigallapp") |
|
|
Result<List<CustomerAppDTO>> getConfigAllApp(); |
|
|
Result<List<CustomerAppDTO>> getConfigAllApp(); |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* 添加根管理员 |
|
|
|
|
|
* @author zhaoqifeng |
|
|
|
|
|
* @date 2020/8/3 15:24 |
|
|
|
|
|
* @param form |
|
|
|
|
|
* @return com.epmet.commons.tools.utils.Result |
|
|
|
|
|
*/ |
|
|
|
|
|
@PostMapping("/oper/crm/customer/addmanager") |
|
|
|
|
|
Result addManager(@RequestBody CustomerManagerFormDTO form); |
|
|
} |
|
|
} |
|
|
|