lizhen_gitee 8 mesi fa
parent
commit
07521ee815
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      application/api/controller/Lesson.php

+ 1 - 1
application/api/controller/Lesson.php

@@ -232,7 +232,7 @@ class Lesson extends Api
                 $slot['button_status'] = 0;//报名截止了,强制改
             }else{
 //                $slot['num_remark'] = __('剩N个名额',['number'=>$slot['num_remain']]);
-                $slot['num_remark'] = $pay_number/$slot['num_max'];
+                $slot['num_remark'] = $pay_number.'/'.$slot['num_max'];
             }
         }