房间热度卡开发-调试

This commit is contained in:
2026-01-23 15:08:20 +08:00
parent afbaafbb7c
commit d2a7b6f4d8

View File

@@ -154,7 +154,7 @@ class Decorate extends Model
*
*/
public function pay_decorate($uid, $did, $day=0,$from_type=1,$give_uid=0,$log_remark="",$num=1){
if(empty($day) && $from_type == 12){
if(empty($day) && in_array($from_type,[12,13])){
$day = 0;
}else{
$day = db::name('vs_decorate_price')->where(['did'=>$did])->order('day asc')->value('day');