소스 검색

删除重复的方法

周箭河 6 년 전
부모
커밋
8d26d21de2
1개의 변경된 파일0개의 추가작업 그리고 46개의 파일을 삭제
  1. 0 46
      src/main/java/com/ym/mec/collectfee/controller/OrchestraController.java

+ 0 - 46
src/main/java/com/ym/mec/collectfee/controller/OrchestraController.java

@@ -1,46 +0,0 @@
-package com.ym.mec.collectfee.controller;
-
-import com.ym.mec.collectfee.common.web.BaseController;
-import com.ym.mec.collectfee.entity.ApplyInfo;
-import com.ym.mec.collectfee.service.ApplyInfoService;
-
-import org.apache.ibatis.annotations.Param;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.validation.annotation.Validated;
-import org.springframework.web.bind.annotation.*;
-
-/**
- * 乐团
- */
-@RestController
-@RequestMapping("orchestra")
-public class OrchestraController extends BaseController {
-
-    @Autowired
-    private ApplyInfoService applyInfoService;
-
-    /**
-     * 乐团报名
-     */
-    @PostMapping("/apply")
-    public Object apply(@ModelAttribute @Validated ApplyInfo applyInfo) throws Exception {
-        System.out.println(applyInfo);
-        return applyInfoService.insert(applyInfo);
-    }
-
-
-    /**
-     * 根据手机获取报名信息
-     * @param mobile
-     * @return
-     */
-    @RequestMapping("/applyinfo")
-    public ApplyInfo applyInfo(@Param("patriarchPhone") String mobile) {
-        System.out.println(mobile);
-        ApplyInfo applyInfoByMobile = applyInfoService.getApplyInfoByMobile(mobile);
-        System.out.println(applyInfoByMobile);
-        return applyInfoByMobile;
-    }
-
-
-}