afa 4 月之前
父節點
當前提交
c2fb179fe8
共有 1 個文件被更改,包括 2 次插入2 次删除
  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'));
         }