Skip to content

Commit

Permalink
fix issue binarywang#1571
Browse files Browse the repository at this point in the history
  • Loading branch information
ariesbaba committed May 20, 2020
1 parent 4929e4e commit 22a69b4
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ public WxMpTemplateIndustry deserialize(JsonElement jsonElement, Type type, Json

private WxMpTemplateIndustryEnum convertFromJson(JsonObject json) {
String secondClass = GsonHelper.getString(json, "second_class");
if (secondClass.contains("|")) {
secondClass = secondClass.split("\\|")[1];
}
// if (secondClass.contains("|")) {
// secondClass = secondClass.split("\\|")[1];
// }

return WxMpTemplateIndustryEnum.findBySecondary(secondClass);
}
Expand Down

0 comments on commit 22a69b4

Please sign in to comment.