Browse Source

购买同一个装扮,时间要能延续上,不要重复两个

lizhen_gitee 1 year ago
parent
commit
42caa4e694
1 changed files with 2 additions and 0 deletions
  1. 2 0
      application/api/controller/Userdecorate.php

+ 2 - 0
application/api/controller/Userdecorate.php

@@ -91,6 +91,8 @@ class Userdecorate extends Api
                 Db::rollback();
                 $this->error('购买失败');
             }
+
+            $log_id = $check['id'];
         }
 
         //扣钱