Ver código fonte

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

lizhen_gitee 1 ano atrás
pai
commit
4c73daac81

+ 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;
         }