|
@@ -7,6 +7,7 @@ import io.swagger.annotations.ApiOperation;
|
|
|
import org.springframework.ui.Model;
|
|
import org.springframework.ui.Model;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
+import org.springframework.web.bind.annotation.RequestParam;
|
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
|
|
|
|
|
import java.io.UnsupportedEncodingException;
|
|
import java.io.UnsupportedEncodingException;
|
|
@@ -26,11 +27,11 @@ public interface WechatScanLoginControllerAPI {
|
|
|
|
|
|
|
|
@RequestMapping(value = "/bind")
|
|
@RequestMapping(value = "/bind")
|
|
|
@ApiOperation(value = "绑定微信", httpMethod = "GET")
|
|
@ApiOperation(value = "绑定微信", httpMethod = "GET")
|
|
|
- public String bindUserMac(String cardNo) throws UnsupportedEncodingException;
|
|
|
|
|
|
|
+ public String bindUserMac(String phone,String code) throws UnsupportedEncodingException;
|
|
|
|
|
|
|
|
@RequestMapping(value = "/bindcallback")
|
|
@RequestMapping(value = "/bindcallback")
|
|
|
@ApiOperation(value = "绑定微信回调url", httpMethod = "GET")
|
|
@ApiOperation(value = "绑定微信回调url", httpMethod = "GET")
|
|
|
- public String bindcallback(String code, String state, String cardNo) throws UnsupportedEncodingException;
|
|
|
|
|
|
|
+ public String bindcallback(String code, String state, String phone,String messageCode) throws UnsupportedEncodingException;
|
|
|
|
|
|
|
|
@RequestMapping(value = "/insertMonthMeter")
|
|
@RequestMapping(value = "/insertMonthMeter")
|
|
|
@ResponseBody
|
|
@ResponseBody
|
|
@@ -79,4 +80,12 @@ public interface WechatScanLoginControllerAPI {
|
|
|
@RequestMapping(value = "/vertify")
|
|
@RequestMapping(value = "/vertify")
|
|
|
@ResponseBody
|
|
@ResponseBody
|
|
|
public CommonResult vertify(String code);
|
|
public CommonResult vertify(String code);
|
|
|
|
|
+
|
|
|
|
|
+ @RequestMapping(value = "/sendMessage")
|
|
|
|
|
+ @ResponseBody
|
|
|
|
|
+ public CommonResult sendMessage(@RequestParam String phone);
|
|
|
|
|
+
|
|
|
|
|
+ @RequestMapping(value = "/vertifyMessage")
|
|
|
|
|
+ @ResponseBody
|
|
|
|
|
+ public CommonResult vertifyMessage(String phone,String code, String wxcode);
|
|
|
}
|
|
}
|