generated from msb_55675/Demo
Compare commits
No commits in common. 'f195c94d9004036a21905743d9778f91790d1896' and 'fac441d3e299729addfccfc3229e1640adc9becf' have entirely different histories.
f195c94d90
...
fac441d3e2
@ -1,13 +0,0 @@
|
|||||||
package com.mashibing.apipassenger.remote;
|
|
||||||
|
|
||||||
import com.mashibing.common.dto.ResponseResult;
|
|
||||||
import com.mashibing.common.response.NumberCodeResponse;
|
|
||||||
import org.springframework.cloud.openfeign.FeignClient;
|
|
||||||
import org.springframework.web.bind.annotation.GetMapping;
|
|
||||||
import org.springframework.web.bind.annotation.PathVariable;
|
|
||||||
|
|
||||||
@FeignClient("service-verificationcode")
|
|
||||||
public interface ServiceVefificationcodeClient {
|
|
||||||
@GetMapping("/numberCode/{size}")
|
|
||||||
ResponseResult<NumberCodeResponse> getNumberCode(@PathVariable("size") int size);
|
|
||||||
}
|
|
||||||
@ -1,10 +1,16 @@
|
|||||||
package com.mashibing.apipassenger.request;
|
package com.mashibing.apipassenger.request;
|
||||||
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
@Data
|
|
||||||
public class VerificationCodeDTO {
|
public class VerificationCodeDTO {
|
||||||
private String passengerPhone;
|
private String passengerPhone;
|
||||||
private String verificationCode;
|
|
||||||
|
public String getPassengerPhone() {
|
||||||
|
return passengerPhone;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPassengerPhone(String passengerPhone) {
|
||||||
|
this.passengerPhone = passengerPhone;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,8 +0,0 @@
|
|||||||
package com.mashibing.common.response;
|
|
||||||
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
@Data
|
|
||||||
public class TokenResponse {
|
|
||||||
private String token;
|
|
||||||
}
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue