lizhen_gitee hace 1 año
padre
commit
ec2590a993
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      application/admin/model/User.php
  2. 1 1
      public/assets/js/backend/user/user.js

+ 1 - 1
application/admin/model/User.php

@@ -251,6 +251,6 @@ class User extends Model
 
     public function userwallet()
     {
-        return $this->belongsTo('UserWallet', 'id', 'user_id', [], 'LEFT')->setEagerlyType(0);
+        return $this->belongsTo('Userwallet', 'id', 'user_id', [], 'LEFT')->setEagerlyType(0);
     }
 }

+ 1 - 1
public/assets/js/backend/user/user.js

@@ -7,7 +7,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
                 extend: {
                     index_url: 'user/user/index' + location.search,
                     add_url: 'user/user/add',
-                    edit_url: 'user/user/edit',
+//                    edit_url: 'user/user/edit',
                     del_url: 'user/user/del',
                     multi_url: 'user/user/multi',
                     import_url: 'user/user/import',