|
@@ -14,6 +14,7 @@ import com.seewo.open.sdk.SeewoClient;
|
|
|
import com.seewo.open.sdk.auth.Account;
|
|
import com.seewo.open.sdk.auth.Account;
|
|
|
import com.sun.org.apache.bcel.internal.generic.NEW;
|
|
import com.sun.org.apache.bcel.internal.generic.NEW;
|
|
|
import com.template.annotation.DESRespondSecret;
|
|
import com.template.annotation.DESRespondSecret;
|
|
|
|
|
+import com.template.annotation.PassToken;
|
|
|
import com.template.api.SmartVisitorControllerAPI;
|
|
import com.template.api.SmartVisitorControllerAPI;
|
|
|
import com.template.common.utils.*;
|
|
import com.template.common.utils.*;
|
|
|
import com.template.config.ControlConfig;
|
|
import com.template.config.ControlConfig;
|
|
@@ -839,6 +840,7 @@ public class SmartVisitorController implements SmartVisitorControllerAPI {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
|
|
|
+ @PassToken
|
|
|
public CommonResult parentsScreen(ParentsScreenDto par, BindingResult bindingResult) {
|
|
public CommonResult parentsScreen(ParentsScreenDto par, BindingResult bindingResult) {
|
|
|
if (bindingResult.hasErrors()) {
|
|
if (bindingResult.hasErrors()) {
|
|
|
String st = paramUtils.getParamError(bindingResult);
|
|
String st = paramUtils.getParamError(bindingResult);
|
|
@@ -953,6 +955,7 @@ public class SmartVisitorController implements SmartVisitorControllerAPI {
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
|
@DESRespondSecret(validated = true)
|
|
@DESRespondSecret(validated = true)
|
|
|
|
|
+ @PassToken
|
|
|
public CommonResult getScreenPage(int currentPage, int pageCount, String phone,String status) {
|
|
public CommonResult getScreenPage(int currentPage, int pageCount, String phone,String status) {
|
|
|
PageUtils<SmartVisitorScreenListVo> page = smartVisitorService.getScreenPage(currentPage, pageCount,phone,status);
|
|
PageUtils<SmartVisitorScreenListVo> page = smartVisitorService.getScreenPage(currentPage, pageCount,phone,status);
|
|
|
|
|
|
|
@@ -960,6 +963,7 @@ public class SmartVisitorController implements SmartVisitorControllerAPI {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
|
|
|
+ @PassToken
|
|
|
public CommonResult cancel(int id) {
|
|
public CommonResult cancel(int id) {
|
|
|
boolean b = smartVisitorService.removeById(id);
|
|
boolean b = smartVisitorService.removeById(id);
|
|
|
if (b) {
|
|
if (b) {
|
|
@@ -969,6 +973,7 @@ public class SmartVisitorController implements SmartVisitorControllerAPI {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
|
|
|
+ @PassToken
|
|
|
public CommonResult verification(int id) {
|
|
public CommonResult verification(int id) {
|
|
|
SmartVisitor sv = smartVisitorService.getSmartById(id);
|
|
SmartVisitor sv = smartVisitorService.getSmartById(id);
|
|
|
if (sv == null) {
|
|
if (sv == null) {
|
|
@@ -1003,6 +1008,7 @@ public class SmartVisitorController implements SmartVisitorControllerAPI {
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
|
@DESRespondSecret(validated = true)
|
|
@DESRespondSecret(validated = true)
|
|
|
|
|
+ @PassToken
|
|
|
public CommonResult parentsScreenPage(int currentPage, int pageCount, int userId, String status) {
|
|
public CommonResult parentsScreenPage(int currentPage, int pageCount, int userId, String status) {
|
|
|
PageUtils<SmartVisitorScreenListVo> result = smartVisitorService.parentsScreenPage(currentPage, pageCount, userId, status);
|
|
PageUtils<SmartVisitorScreenListVo> result = smartVisitorService.parentsScreenPage(currentPage, pageCount, userId, status);
|
|
|
return CommonResult.ok(result);
|
|
return CommonResult.ok(result);
|