|
|
@@ -57,13 +57,9 @@ public class AdminAchievementApiController extends CertifyApiController {
|
|
|
* 成熟度文本文件上传
|
|
|
*/
|
|
|
@RequestMapping(value = "/uploadTextFile", method = RequestMethod.POST)
|
|
|
- public Result uploadTextFile(HttpServletRequest req, String sign, String uid) {
|
|
|
+ public Result uploadTextFile(HttpServletRequest req, String sign) {
|
|
|
Result res = new Result();
|
|
|
|
|
|
- if (StringUtils.isBlank(uid)) {
|
|
|
- res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR, "找不到用户ID", "用户ID"));
|
|
|
- return res;
|
|
|
- }
|
|
|
|
|
|
AttachmentType attachmentType = AttachmentType.getField(sign);
|
|
|
|