|
@@ -93,7 +93,7 @@ class User extends Backend
|
|
|
public function updatemoney(){
|
|
|
$id = input('id');
|
|
|
$info = Db::name('user_wallet')
|
|
|
- ->where('id',$id)
|
|
|
+ ->where('user_id',$id)
|
|
|
->find();
|
|
|
|
|
|
if ($this->request->isPost()) {
|
|
@@ -122,7 +122,7 @@ class User extends Backend
|
|
|
public function updatejewel(){
|
|
|
$id = input('id');
|
|
|
$info = Db::name('user_wallet')
|
|
|
- ->where('id',$id)
|
|
|
+ ->where('user_id',$id)
|
|
|
->find();
|
|
|
|
|
|
if ($this->request->isPost()) {
|