|
|
@ -17,6 +17,7 @@ import com.hai.model.ResponseData; |
|
|
|
import com.hai.model.WxSharingOrderRequestModel; |
|
|
|
import com.hai.model.WxSharingOrderRequestModel; |
|
|
|
import com.hai.model.WxSharingReceiversVO; |
|
|
|
import com.hai.model.WxSharingReceiversVO; |
|
|
|
import com.hai.service.HighProfitSharingRecordService; |
|
|
|
import com.hai.service.HighProfitSharingRecordService; |
|
|
|
|
|
|
|
import com.hai.service.TelApiService; |
|
|
|
import com.hai.service.pay.NotifyService; |
|
|
|
import com.hai.service.pay.NotifyService; |
|
|
|
import com.hai.service.pay.PayRecordService; |
|
|
|
import com.hai.service.pay.PayRecordService; |
|
|
|
import com.wechat.pay.contrib.apache.httpclient.util.PemUtil; |
|
|
|
import com.wechat.pay.contrib.apache.httpclient.util.PemUtil; |
|
|
@ -68,6 +69,8 @@ public class WechatPayController { |
|
|
|
@Resource |
|
|
|
@Resource |
|
|
|
private WechatPayUtil wechatPayUtil; |
|
|
|
private WechatPayUtil wechatPayUtil; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Resource |
|
|
|
|
|
|
|
private TelApiService telApiService; |
|
|
|
@Resource |
|
|
|
@Resource |
|
|
|
private HighProfitSharingRecordService highProfitSharingRecordService; |
|
|
|
private HighProfitSharingRecordService highProfitSharingRecordService; |
|
|
|
|
|
|
|
|
|
|
@ -176,6 +179,17 @@ public class WechatPayController { |
|
|
|
+ body + "\n"; |
|
|
|
+ body + "\n"; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@RequestMapping(value = "/telApi", method = RequestMethod.GET) |
|
|
|
|
|
|
|
@ApiOperation(value = "电话查询") |
|
|
|
|
|
|
|
@ResponseBody |
|
|
|
|
|
|
|
public ResponseData addLedgerReceiver(@RequestParam(value = "tel", required = true) String tel) { |
|
|
|
|
|
|
|
try { |
|
|
|
|
|
|
|
JSONObject jsonObject = telApiService.outApiTel(tel); |
|
|
|
|
|
|
|
return ResponseMsgUtil.success(jsonObject); |
|
|
|
|
|
|
|
} catch (Exception e) { |
|
|
|
|
|
|
|
log.error("WechatPayController --> wechatNotify() error!", e); |
|
|
|
|
|
|
|
return ResponseMsgUtil.exception(e); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|