Explorar el Código

积分申报++

sugangqiang hace 1 año
padre
commit
fe77be5d8b
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      app/common/controller/Api.php

+ 2 - 2
app/common/controller/Api.php

@@ -850,8 +850,8 @@ class Api extends BaseController {
     }
 
     function getIntegralRecordByIdCard() {
-        $card_type = $this->request->param["cardType"];
-        $card_number = $this->request->param["cardNumber"];
+        $card_type = $this->request->param("cardType");
+        $card_number = $this->request->param("cardNumber");
         $where = [];
         $where[] = ["card_type", "=", $card_type];
         $where[] = ["card_number", "=", $card_number];