房间热度卡开发-调试
This commit is contained in:
@@ -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){
|
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;
|
$day = 0;
|
||||||
}else{
|
}else{
|
||||||
$day = db::name('vs_decorate_price')->where(['did'=>$did])->order('day asc')->value('day');
|
$day = db::name('vs_decorate_price')->where(['did'=>$did])->order('day asc')->value('day');
|
||||||
|
|||||||
Reference in New Issue
Block a user