|
|
@@ -11,6 +11,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.ui.ModelMap;
|
|
|
import org.springframework.util.StringUtils;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
import java.util.HashMap;
|
|
|
@@ -92,7 +93,7 @@ public class ValidController extends BaseController {
|
|
|
* @return
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
- @RequestMapping(value = "/user/identity/submit")
|
|
|
+ @RequestMapping(value = "/user/identity/submit", method = RequestMethod.POST)
|
|
|
public ModelMap submitUserIdentityInfo(String realName, String idCard) throws Exception {
|
|
|
// 获取认证的企业和申请者
|
|
|
UserAccount loginUser = SystemSession.getUserAccount();
|