|
@@ -80,9 +80,9 @@ public class VisitController extends BaseController {
|
|
|
public HttpResponseResult<String> updateProbStatus(@RequestParam("id")Integer id,@RequestParam("probStatus")Integer probStatus) {
|
|
|
String s = studentVisitService.updateProbStatus(id, probStatus);
|
|
|
if(s.equals("成功")){
|
|
|
- return succeed(studentVisitService.updateProbStatus(id,probStatus));
|
|
|
+ return succeed(s);
|
|
|
}else{
|
|
|
- return failed(studentVisitService.updateProbStatus(id,probStatus));
|
|
|
+ return failed(s);
|
|
|
}
|
|
|
|
|
|
}
|