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