|
@@ -15,13 +15,13 @@ import cn.com.qmth.examcloud.service.examwork.service.rpc.client.StudentClient;
|
|
@Service
|
|
@Service
|
|
public class StudentService {
|
|
public class StudentService {
|
|
|
|
|
|
- @Autowired
|
|
|
|
- StudentClient studentClient;
|
|
|
|
-
|
|
|
|
- public Student updatePhoto(String identityNumber) {
|
|
|
|
- String json = studentClient.updatePhoto(identityNumber);
|
|
|
|
- Student domain = GsonUtil.getInstanceByJson(json, Student.class);
|
|
|
|
- return domain;
|
|
|
|
- }
|
|
|
|
|
|
+// @Autowired
|
|
|
|
+// StudentClient studentClient;
|
|
|
|
+//
|
|
|
|
+// public Student updatePhoto(String identityNumber) {
|
|
|
|
+// String json = studentClient.updatePhoto(identityNumber);
|
|
|
|
+// Student domain = GsonUtil.getInstanceByJson(json, Student.class);
|
|
|
|
+// return domain;
|
|
|
|
+// }
|
|
|
|
|
|
}
|
|
}
|