feat: 移除了用户签到状态更新的代码
This commit is contained in:
parent
c93c7806c5
commit
84ad33d3fc
@ -38,8 +38,6 @@ class UserSignLogic extends BaseLogic
|
||||
{
|
||||
$find = UserSign::where('uid', $order['uid'])->where('order_id', $order['order_id'])->find();
|
||||
if ($find) {
|
||||
$find->status = -1;
|
||||
$find->save();
|
||||
$number = UserSignLog::where('sid', $find->id)->where('financial_pm', 0)->sum('number');
|
||||
self::write($find, $number, 0, 1, 3, 0);
|
||||
User::where('id', $order['uid'])->dec('integral', $number)->update();
|
||||
@ -76,8 +74,6 @@ class UserSignLogic extends BaseLogic
|
||||
{
|
||||
$find = UserSign::where('uid', $order['uid'])->where('order_id', $order['order_id'])->find();
|
||||
if ($find) {
|
||||
$find->status = -1;
|
||||
$find->save();
|
||||
$number = UserSignLog::where('sid', $find->id)->where('financial_pm', 0)->sum('number');
|
||||
self::write($find, $number, 0, 1, 3, 0);
|
||||
User::where('id', $order['uid'])->dec('integral', $number)->update();
|
||||
|
Loading…
x
Reference in New Issue
Block a user