...
|
...
|
@@ -392,7 +392,7 @@ class AdminIndexController extends AdminBaseController |
|
|
// }
|
|
|
$list=Db::name('user')->where(['user_type'=>2])->select()
|
|
|
->each(function ($item) {
|
|
|
$item['cook'] = $this->getCookBook($item['before_weight'],$item['height'],$item['weight_level'],$item['pregnant_week']);
|
|
|
$item['cook'] = $this->getCookBook($item['before_weight'],$item['height'],$item['weight_level'],$item['pregnant_week'],$item['register_time']);
|
|
|
return $item;
|
|
|
})->toArray();
|
|
|
$path = ROOT_PATH . '/public/upload/'; //找到当前脚本所在路径
|
...
|
...
|
|