个人设置新增接收解绑发送验证码接口

master
duLingLing 5 years ago
parent 5a1dec2a47
commit 4fd9de60e8

@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>manage</artifactId> <artifactId>manage</artifactId>
<version>1.2.60</version> <version>1.2.61</version>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

@ -727,7 +727,7 @@ public class RetailAppController {
* @param phone contact_phone * @param phone contact_phone
* @throws Exception * @throws Exception
*/ */
@PutMapping("/account/phone/bind") @PutMapping("/account/phone_verify/bind")
public JSONObject sendBindAccountPhone(@ModelAttribute(RETAIL_DEVICE) JSONObject device, @RequestBody JSONObject phone) throws Exception { public JSONObject sendBindAccountPhone(@ModelAttribute(RETAIL_DEVICE) JSONObject device, @RequestBody JSONObject phone) throws Exception {
retailAppService.sendBindAccountPhone(device, phone); retailAppService.sendBindAccountPhone(device, phone);
return new JSONObject(); return new JSONObject();
@ -739,7 +739,7 @@ public class RetailAppController {
* @param device * @param device
* @throws Exception * @throws Exception
*/ */
@PutMapping("/account/phone/unbind") @PutMapping("/account/phone_verify/unbind")
public JSONObject unBindAccountPhone(@ModelAttribute(RETAIL_DEVICE) JSONObject device) throws Exception { public JSONObject unBindAccountPhone(@ModelAttribute(RETAIL_DEVICE) JSONObject device) throws Exception {
retailAppService.sendUnbindAccountPhone(device); retailAppService.sendUnbindAccountPhone(device);
return new JSONObject(); return new JSONObject();

Loading…
Cancel
Save