提交 a0a8e773 authored 作者: chengye's avatar chengye

test

上级 f6077c09
...@@ -62,13 +62,12 @@ class Em extends Base ...@@ -62,13 +62,12 @@ class Em extends Base
$ue = new Useage(); $ue = new Useage();
$ue->last_date = $em->init_date; $ue->last_date = $em->init_date;
$ue->last_sum_numb = $em->init_numb ?: 0; $ue->last_sum_numb = $em->init_numb ?: 0;
$ue->amount = '';
} else { } else {
if($curr == false){ if($curr == false){
$ue->last_sum_numb = $ue->current_sum_numb; $ue->last_sum_numb = $ue->current_sum_numb;
$ue->last_date = $ue->current_date; $ue->last_date = $ue->current_date;
} else {
$ue->amount = ''; $ue->amount = '';
} }
} }
$ue->price = $em->rule->pricing_type==1 ? $em->rule->pay_price : ''; $ue->price = $em->rule->pricing_type==1 ? $em->rule->pay_price : '';
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论