| 123456789101112131415161718 |
- <?php
- namespace addons\Sicpay\api\controllers;
- use yii\web\Controller;
- class NotifyController extends Controller
- {
- public $enableCsrfValidation = false;
- public function actionTopay(){
- $order_no = $this->request->get("order_no");
- $form = \Yii::$app->redis->get($order_no);
- if(!empty($form)){
- echo $form;exit;
- }else{
- echo "<h1 style='text-align: center'>订单不存在</h1>";exit;
- }
- }
- }
|