Authored by ping

update

@@ -77,6 +77,11 @@ public class UnionServiceImpl implements IUnionService { @@ -77,6 +77,11 @@ public class UnionServiceImpl implements IUnionService {
77 log.warn("clickUnion error because union_type is empty with param is {}", request); 77 log.warn("clickUnion error because union_type is empty with param is {}", request);
78 return new UnionResponse(201, "union_type is empty"); 78 return new UnionResponse(201, "union_type is empty");
79 } 79 }
  80 + UnionTypeModel m = UnionConstant.unionTypeMap.get(Integer.parseInt(request.getUnion_type()));
  81 + if (m == null) {
  82 + log.warn("clickUnion error because union_type is error with param is {}", request);
  83 + return new UnionResponse(201, "union_type is error");
  84 + }
80 if (StringUtils.isEmpty(request.getCallbackurl())) { 85 if (StringUtils.isEmpty(request.getCallbackurl())) {
81 log.warn("clickUnion error because callbackurl is empty with param is {}", request); 86 log.warn("clickUnion error because callbackurl is empty with param is {}", request);
82 return new UnionResponse(201, "callbackurl is empty"); 87 return new UnionResponse(201, "callbackurl is empty");
1 1
2 2
3 <!DOCTYPE html> 3 <!DOCTYPE html>
  4 +<html>
4 <head> 5 <head>
5 <meta charset="utf-8"> 6 <meta charset="utf-8">
6 <title>潮流商品 | YOHO!有货</title> 7 <title>潮流商品 | YOHO!有货</title>