Просмотр исходного кода

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

lizhen_gitee 1 год назад
Родитель
Сommit
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;
         }