|
@ -42,8 +42,6 @@ public class AccountAppealEndpoint extends EnvelopRestEndpoint {
|
|
|
public ObjEnvelop<AccountAppealVO> create(
|
|
|
@ApiParam(name = "type", value = "申诉类型", required = true)
|
|
|
@RequestParam AccountAppealDO.Type type,
|
|
|
@ApiParam(name = "images", value = "申诉证件照", required = false)
|
|
|
@RequestParam(required = false) List<MultipartFile> images,
|
|
|
@ApiParam(name = "mobile", value = "申诉手机号", required = true)
|
|
|
@RequestParam String mobile,
|
|
|
@ApiParam(name = "name", value = "申诉人姓名", required = true)
|
|
@ -51,8 +49,12 @@ public class AccountAppealEndpoint extends EnvelopRestEndpoint {
|
|
|
@ApiParam(name = "idcard", value = "申诉人身份证号", required = true)
|
|
|
@RequestParam String idcard,
|
|
|
@ApiParam(name = "content", value = "申诉内容", required = true)
|
|
|
@RequestParam String content ) throws Exception {
|
|
|
return success(accountAppealService.create(type,name,idcard,content,mobile,images), AccountAppealVO.class);
|
|
|
@RequestParam String content,
|
|
|
@ApiParam(name = "wxMediaIds", value = "微信媒体流id", required = true)
|
|
|
@RequestParam String wxMediaIds ,
|
|
|
@ApiParam(name = "accessToken", value = "微信accessToken", required = true)
|
|
|
@RequestParam String accessToken ) throws Exception {
|
|
|
return success(accountAppealService.create(type,name,idcard,content,mobile,wxMediaIds,accessToken), AccountAppealVO.class);
|
|
|
}
|
|
|
|
|
|
|
|
@ -87,4 +89,7 @@ public class AccountAppealEndpoint extends EnvelopRestEndpoint {
|
|
|
return success(accountAppeals, AccountAppealVO.class);
|
|
|
}
|
|
|
|
|
|
public static void main(String[] args) {
|
|
|
System.out.println("12345678901234567".substring(11, 17));
|
|
|
}
|
|
|
}
|