Explorar o código

积分申报++

sugangqiang hai 1 ano
pai
achega
fe77be5d8b
Modificáronse 1 ficheiros con 2 adicións e 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];