fix bug
This commit is contained in:
@@ -152,6 +152,7 @@ class Wechat
|
||||
//为用户增加助力值
|
||||
$zhuLi = env("ZHULI_VALUE")??150;
|
||||
Db::name("student")->inc("hot",$zhuLi)->where("id",$order_detail->id)->update();
|
||||
Db::name("student")->inc("hot_count",1)->where("id",$order_detail->id)->update();
|
||||
|
||||
} else {
|
||||
$fail('Order not exists.');
|
||||
|
||||
Reference in New Issue
Block a user