parent
7f38c0bf75
commit
af29eb818c
@ -0,0 +1,21 @@
|
|||||||
|
package com.mashibing.strategy.config;
|
||||||
|
|
||||||
|
import org.springframework.context.annotation.Bean;
|
||||||
|
import org.springframework.context.annotation.Configuration;
|
||||||
|
import org.springframework.web.client.RestTemplate;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author heqijun
|
||||||
|
* @ClassName: RestTemplateConfig
|
||||||
|
* @Description: TODO(这里用一句话描述这个类的作用)
|
||||||
|
* @date 2025/6/8 16:33
|
||||||
|
*/
|
||||||
|
|
||||||
|
@Configuration
|
||||||
|
public class RestTemplateConfig {
|
||||||
|
|
||||||
|
@Bean
|
||||||
|
public RestTemplate restTemplate() {
|
||||||
|
return new RestTemplate();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,31 @@
|
|||||||
|
package com.mashibing.strategy.pojo;
|
||||||
|
|
||||||
|
import com.mashibing.common.annotation.Description;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author heqijun
|
||||||
|
* @ClassName: PhasePOJO
|
||||||
|
* @Description: TODO(这里用一句话描述这个类的作用)
|
||||||
|
* @date 2025/6/8 16:39
|
||||||
|
*/
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class PhasePojo {
|
||||||
|
|
||||||
|
@Description("目标手机号的运营商id")
|
||||||
|
private Integer operatorId;
|
||||||
|
|
||||||
|
@Description("目标手机号的运营商na")
|
||||||
|
private String operatorNa;
|
||||||
|
|
||||||
|
@Description("目标手机号的归属地 哈尔滨, 绥化~")
|
||||||
|
private String area;
|
||||||
|
|
||||||
|
public PhasePojo unknown() {
|
||||||
|
this.operatorId = 0;
|
||||||
|
this.operatorNa = "未知";
|
||||||
|
this.area = "未知 未知";
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in new issue