瀏覽代碼

作废钱包操作的方法和入口

lizhen_gitee 1 年之前
父節點
當前提交
4c73daac81
共有 2 個文件被更改,包括 2 次插入0 次删除
  1. 1 0
      application/api/controller/Money.php
  2. 1 0
      application/common/model/UserMoneyLog.php

+ 1 - 0
application/api/controller/Money.php

@@ -828,6 +828,7 @@ class Money extends Common
      */
     public function exchange()
     {
+        $this->error('接口作废');
         exit;//作废
         // 接口防并发
         if (!$this->apiLimit(1, 1000)) {

+ 1 - 0
application/common/model/UserMoneyLog.php

@@ -20,6 +20,7 @@ class UserMoneyLog extends Model
      */
     public function addRecord($user_id, $value, $mode = "+", $before = 0, $detail = "")
     {
+        abort(500,'接口作废');return false;
         if (!$user_id || !$value) {
             return false;
         }