From b152df4183460f982ab65c347eb3804de13721fb Mon Sep 17 00:00:00 2001 From: tsf <460834639@qq.com> Date: Mon, 30 Sep 2024 17:14:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/testapp/controller/Index.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/application/testapp/controller/Index.php b/application/testapp/controller/Index.php index cc31d22..39dfcb6 100644 --- a/application/testapp/controller/Index.php +++ b/application/testapp/controller/Index.php @@ -25,7 +25,7 @@ class Index extends Base{ '2'=>['身体数据','body',['height'=>['身高','cm','-'],'weight'=>['体重','公斤','-'],'bmi'=>['BMI','无','-']]], // '6'=>['跳绳数据','skip',['jump_time'=>['用时','无','--:--:--'],'jump_num'=>['本次次数','次','-'],'average_num'=>['平均成绩','个','-'],'jump_kcal'=>['卡路里','kcal','-']]], '6'=>['跳绳数据','skip',['jump_time'=>['用时','无','--:--:--'],'jump_num'=>['本次次数','次','-'],'jump_kcal'=>['卡路里','kcal','-']]], - '8'=>['肺活量','vitalcapacity',['average'=>['本次数据','ml','-']]], + '8'=>['肺活量','vitalcapacity',['average'=>['平均成绩','ml','-']]], ]; protected $data_name_unit = [ @@ -275,7 +275,7 @@ class Index extends Base{ } // 获取指定用户详细信息 - public function get_user_data_information($data = ['aud_id'=>3]){ + public function get_user_data_information($data = ['aud_id'=>1]){ try { // 你的业务逻辑 if(count(input('post.')) > 0){ @@ -605,8 +605,6 @@ class Index extends Base{ }else{ $tem_arr_2 = [$db_arr[$value][$k],'','']; } - - // dump($tem_arr_2); array_push($temporary_arr['inside_data'],[ 'key'=>$k, 'name'=>$v[0],