afa 4 månader sedan
förälder
incheckning
c2fb179fe8
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      application/api/controller/Ledger.php

+ 2 - 2
application/api/controller/Ledger.php

@@ -120,7 +120,7 @@ class Ledger extends Api
     {
         $amount = $this->request->post('amount'); // 茶宝
         $type    = $this->request->post('type/d', 0);    // type: 0地址 1uid
-        $account= $this->request->post('account/s', ''); // 账号
+        $account= $this->request->post('account', ''); // 账号
         if(empty($amount) || empty($account)){
             $this->error(__('Parameter error'));
         }
@@ -171,7 +171,7 @@ class Ledger extends Api
     {
         $amount = $this->request->post('amount'); // 茶宝
         $type    = $this->request->post('type/d', 0);    // type: 0地址 1uid
-        $account= $this->request->post('account/s', ''); // 账号
+        $account= $this->request->post('account', ''); // 账号
         if(empty($amount) || empty($account)){
             $this->error(__('Parameter error'));
         }