Mechrevo 1 year ago
parent
commit
3b2032c2b2

+ 1 - 3
sp-service/transport-server/src/main/java/com/pj/project/tb_driver/TbDriverController.java

@@ -16,7 +16,7 @@ import org.springframework.web.multipart.MultipartFile;
 
 
 /**
- *  -- 司机
+ * Controller: tb_driver -- 司机
  * @author qzy 
  */
 @RestController
@@ -33,7 +33,6 @@ public class TbDriverController {
 	public AjaxJson add(TbDriver t){
 		tbDriverService.add(t);
 		t = tbDriverService.getById(SP.publicMapper.getPrimarykey());
-		StpUserUtil.getLoginIdAsString()
 		return AjaxJson.getSuccessData(t);
 	}
 
@@ -112,7 +111,6 @@ public class TbDriverController {
 		try {
 			String importData = tbDriverService.outportExcel(keyword,filepath);
 			AjaxJson.getSuccess(importData);
-
 		} catch (IOException e) {
 			throw new RuntimeException(e);
 		}