1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <?php
- namespace app\api\controller\wechatback;
- use app\api\controller\ZskkDefaultApiController;
- use app\api\servies\wechat\WechatService;
- use app\api\validate\report\ReportValidate;
- use app\api\validate\xz\XzValidate;
- use app\api\servies\xz\XzService;
- use think\Exception;
- use think\facade\Request;
- class WechatbackController extends ZskkDefaultApiController
- {
- protected $needToken = false;
- protected $logName = "WechatbackController";
- public function wechatRefund(WechatService $wechatService)
- {
- $params = file_get_contents("php://input");;
- $data = $wechatService->wechatRefund($params);
- return $data;
- }
- public function wechatCallback(WechatService $wechatService)
- {
- $params = file_get_contents("php://input");;
- $data = $wechatService->wechatCallback($params);
- return $data;
- }
- public function wechatStudyPayCallback(WechatService $wechatService)
- {
- $params = file_get_contents("php://input");;
- $data = $wechatService->wechatStudyPayCallback($params);
- return $data;
- }
- }
|