Browse Source

首页三个列表,重写

lizhen_gitee 2 months ago
parent
commit
65b56ac9ff
1 changed files with 1 additions and 0 deletions
  1. 1 0
      application/api/controller/Index.php

+ 1 - 0
application/api/controller/Index.php

@@ -102,6 +102,7 @@ class Index extends Api
             $age = birthtime_to_age($v['birthday']);
             $age = $age > 0 ? $age : 18;
             $v['age'] = $age;
+            $v['birthday'] = $age;
 
 
             //拼接年龄与身高