...
|
...
|
@@ -126,7 +126,7 @@ class Sun extends Backend |
|
|
Db::name('yuyue')->insert($data);
|
|
|
}
|
|
|
if ($params['status'] == 1) {
|
|
|
Db::name('yuyue')->where(['user_id' => $params['user_id'],
|
|
|
Db::name('yuyue')->where(['user_id' => Db::name('sun')->where('id', $ids)->value('user_id'),
|
|
|
'sun_id' => $ids,
|
|
|
'createtime' => Db::name('sun')->where('id', $ids)->value('createtime'),
|
|
|
'type' => 0])->delete();
|
...
|
...
|
|