dev-discount
袁野 3 years ago
parent 1f74d6efbb
commit bda39de830
  1. 2
      hai-bweb/src/main/java/com/bweb/controller/HighUserController.java
  2. 2
      hai-service/src/main/java/com/hai/config/HuiLianTongUnionCardConfig.java
  3. 2
      hai-service/src/main/java/com/hai/service/impl/HltUnionCardVipServiceImpl.java

@ -156,7 +156,7 @@ public class HighUserController {
@ApiOperation(value = "请求会员体系")
public ResponseData TCheckEMsgUnionCardVipRights(@RequestParam(name = "phone", required = true) String phone) {
try {
JSONObject consumptionRecord = HuiLianTongUnionCardConfig.TCheckEMsgUnionCardVipRights(phone);
JSONObject consumptionRecord = HuiLianTongUnionCardConfig.checkEMsgUnionCardVipRights(phone);
JSONObject cardInfoObject = HuiLianTongUnionCardConfig.resolveResponseMembership(consumptionRecord.getString("data"));
return ResponseMsgUtil.success(cardInfoObject);
} catch (Exception e) {

@ -119,7 +119,7 @@ public class HuiLianTongUnionCardConfig {
* @Param [java.lang.String]
* @return com.alibaba.fastjson.JSONObject
*/
public static JSONObject TCheckEMsgUnionCardVipRights(String phone) {
public static JSONObject checkEMsgUnionCardVipRights(String phone) {
try {
Map<String , String> map = new HashMap<>();
map.put("phone" , phone);

@ -68,7 +68,7 @@ public class HltUnionCardVipServiceImpl implements HltUnionCardVipService {
BsCompany bsCompany = bsCompanyService.selectCompanyByRegion(region.getRegionId().toString());
JSONObject consumptionRecord = HuiLianTongUnionCardConfig.TCheckEMsgUnionCardVipRights(phone);
JSONObject consumptionRecord = HuiLianTongUnionCardConfig.checkEMsgUnionCardVipRights(phone);
JSONObject cardInfoObject = HuiLianTongUnionCardConfig.resolveResponseMembership(consumptionRecord.getString("data"));

Loading…
Cancel
Save