260325测试

This commit is contained in:
tsf 2026-03-25 17:46:32 +08:00
parent 543be63799
commit 6ee76420eb
9 changed files with 2191 additions and 673 deletions

View File

@ -0,0 +1,36 @@
<?php
namespace app\NewReedaw\controller\app;
use think\Db;
use Exception;
class Business extends Base{
public function business_cooperation(){
return $this->fetch();
}
public function business_cooperation_action(){
$data = input();
$result = Db::table('admin_business_cooperation_log')->insert([
'name'=>$data['name'],
'tel'=>$data['phone'],
'company'=>$data['company'],
'intention_data'=>implode(',',$data['selectedValues']),
'notes_data'=>$data['remark'],
'create_time'=>date('Y-m-d H:i:s'),
]);
if($result){
$this->send_email_api_error(["19759414@qq.com"],['title'=>'商户合作','from_user_name'=>'reedaw商务','content'=>'有一封商户合作']);
// $this->send_email_api_error(["tsf3920322@126.com"],['title'=>'商户合作','from_user_name'=>'reedaw商务','content'=>'有一封商户合作']);
return json(['code'=>0,'msg'=>'提交成功']);
}else{
return json(['code'=>10001,'msg'=>'网络错误']);
// return json(['code'=>10001,'msg'=>'网络错误,请直接联系商务合作电话/微信13590959084']);
}
}
}

View File

@ -1312,6 +1312,7 @@ class Card extends Base{
'v2_name'=>'时长', 'v2_name'=>'时长',
'v3_name'=>'卡路里', 'v3_name'=>'卡路里',
'record_time'=>$value['b_time'], 'record_time'=>$value['b_time'],
'is_have_details'=>'no'
]); ]);
} }
} }
@ -1378,7 +1379,8 @@ class Card extends Base{
'v3_name'=>'第三次', 'v3_name'=>'第三次',
'v4_name'=>'平均', 'v4_name'=>'平均',
'v5_name'=>'成绩', 'v5_name'=>'成绩',
'record_time'=>$value['b_time'] 'record_time'=>$value['b_time'],
'is_have_details'=>'yes'
]); ]);
} }
} }

View File

@ -391,10 +391,9 @@ class Kitchenscale extends Base{
// 添加每日摄入记录 // 添加每日摄入记录
public function add_intake_food(){ public function add_intake_food(){
// 尝试捕获异常 // 尝试捕获异常
$data = input('post.');
try { try {
if(count(input('post.')) > 0){
$data = input('post.');
}
if(!array_key_exists('token', $data)){ if(!array_key_exists('token', $data)){
return $this->msg(10001,'token is miss'); return $this->msg(10001,'token is miss');
} }
@ -2058,6 +2057,9 @@ class Kitchenscale extends Base{
if(!array_key_exists('id', $value)){ if(!array_key_exists('id', $value)){
return $this->msg(10001,'id is miss'); return $this->msg(10001,'id is miss');
} }
if(!array_key_exists('unit', $value)){
return $this->msg(10001,'unit is miss');
}
if(!array_key_exists('weight', $value)){ if(!array_key_exists('weight', $value)){
return $this->msg(10001,'weight is miss'); return $this->msg(10001,'weight is miss');
} }

View File

@ -52,9 +52,9 @@ class Role extends Base{
]; ];
// 阶段性称谓 // 阶段性称谓
protected $stage_appellation = [ protected $stage_appellation = [
['min'=>'0','max'=>'3','value'=>'婴儿'], ['min'=>'0','max'=>'3','value'=>'婴儿','identification'=>3],
['min'=>'3','max'=>'16','value'=>'儿童'], ['min'=>'3','max'=>'16','value'=>'儿童','identification'=>2],
['min'=>'16','max'=>'500','value'=>'成人'] ['min'=>'16','max'=>'500','value'=>'成人','identification'=>1]
]; ];
// 加 bcadd(,,20) // 加 bcadd(,,20)
// 减 bcsub(,,20) // 减 bcsub(,,20)
@ -74,7 +74,7 @@ class Role extends Base{
return $this->msg(10001); return $this->msg(10001);
} }
if($data['token'] == ''){ if($data['token'] == ''){
return $this->msg(-2,'特殊状态',[]); return $this->msg(-2,'请先登录',[]);
} }
if(!$this->verify_data_is_ok($data['token'],'str')){ if(!$this->verify_data_is_ok($data['token'],'str')){
return $this->msg(10005); return $this->msg(10005);
@ -692,7 +692,9 @@ class Role extends Base{
// 添加阶段称谓、婴儿、儿童、成人 // 添加阶段称谓、婴儿、儿童、成人
foreach ($this->stage_appellation as $key => $value) { foreach ($this->stage_appellation as $key => $value) {
if($result[$i]['age'] >= $value['min'] && $result[$i]['age'] < $value['max']){ if($result[$i]['age'] >= $value['min'] && $result[$i]['age'] < $value['max']){
$result[$i]['stage'] = $value['value']; // $result[$i]['stage'] = $value['value'];
$result[$i]['stage'] = $value['identification'];
} }
} }
} }
@ -784,7 +786,9 @@ class Role extends Base{
foreach ($this->stage_appellation as $key => $value) { foreach ($this->stage_appellation as $key => $value) {
if($user_all_data['age'] >= $value['min'] && $user_all_data['age'] < $value['max']){ if($user_all_data['age'] >= $value['min'] && $user_all_data['age'] < $value['max']){
$user_all_data['stage'] = $value['value']; // $user_all_data['stage'] = $value['value'];
$user_all_data['stage'] = $value['identification'];
} }
} }
// if($user_all_data['gender'] == 2){ // if($user_all_data['gender'] == 2){

View File

@ -11,6 +11,7 @@ class Skip extends Base{
'zhanghao'=>'app_account_number', 'zhanghao'=>'app_account_number',
'juese'=>'app_user_data', 'juese'=>'app_user_data',
'body'=>'app_card_body_data', 'body'=>'app_card_body_data',
'body_new'=>'app_card_body_data_new',
'skip'=>'app_card_skip_data', 'skip'=>'app_card_skip_data',
]; ];
@ -36,8 +37,12 @@ class Skip extends Base{
public function device_record(){ public function device_record(){
$data = input('post.'); $data = input('post.');
try { try {
// 你的业务逻辑
if(count(input('post.')) > 0){
$data = input('post.');
}
if(!array_key_exists('aud_id', $data) || !array_key_exists('kcal', $data) || !array_key_exists('num', $data) || !array_key_exists('time_m', $data) || !array_key_exists('time_s', $data) || !array_key_exists('type', $data) || !array_key_exists('token', $data)){ if(!array_key_exists('aud_id', $data) || !array_key_exists('kcal', $data) || !array_key_exists('num', $data) || !array_key_exists('time_m', $data) || !array_key_exists('time_s', $data) || !array_key_exists('type', $data) || !array_key_exists('token', $data)){
return $this->msg(10001); $return_data = $this->msg(10001);
} }
if(!$this->verify_data_is_ok($data['aud_id'],'intnum')){ if(!$this->verify_data_is_ok($data['aud_id'],'intnum')){
return $this->msg(10005); return $this->msg(10005);
@ -49,19 +54,17 @@ class Skip extends Base{
return $this->msg(10005); return $this->msg(10005);
} }
if(!$this->isValidInteger($data['num']+0) || !$this->isValidInteger($data['time_m']+0) || !$this->isValidInteger($data['time_s']+0)){ if(!$this->isValidInteger($data['num']+0) || !$this->isValidInteger($data['time_m']+0) || !$this->isValidInteger($data['time_s']+0)){
return $this->msg(10005,'跳绳数量或者分钟、秒钟值必须为整数'); $return_data = $this->msg(10005,'跳绳数量或者分钟、秒钟值必须为整数');
} }
if($data['num'] <= 0){ if($data['num'] <= 0){
return $this->msg(10005,'跳绳数不能小于等于0'); $return_data = $this->msg(10005,'跳绳数不能小于等于0');
} }
if(abs($data['time_s']) >= 60){ if(abs($data['time_s']) >= 60){
return $this->msg(10005,'秒钟值不能大于60'); $return_data = $this->msg(10005,'秒钟值不能大于60');
} }
unset($data['token']); unset($data['token']);
if($this->validate_user_identity($data['aud_id']) === false){
return $this->msg(10003); return $this->device_record_action($data);
}
return $this->manual_record_action($data);
} catch (\Exception $e) { } catch (\Exception $e) {
// 捕获异常 // 捕获异常
$logContent["flie"] = $e->getFile(); $logContent["flie"] = $e->getFile();
@ -108,6 +111,73 @@ class Skip extends Base{
################################################################action################################################################ ################################################################action################################################################
################################################################action################################################################ ################################################################action################################################################
public function device_record_action($data){
// 分秒转换为秒
$data['time'] = abs($data['time_m'])*60+abs($data['time_s']);
$user_msg_content = Db::table($this->skip_db_name['juese'])->where(['id'=>$data['aud_id']])->count();
if($user_msg_content<=0){
return $this->msg(10004);
}
if(!array_key_exists('kcal', $data)){
$last_data_body = Db::table($this->skip_db_name['body_new'])->where(['aud_id'=>$data['aud_id'],'is_del'=>0])->order('record_time desc,id desc')->field('id,weight_val,record_time')->find();
if(!$last_data_body){
$last_data_body = Db::table($this->skip_db_name['juese'])->where(['id'=>$data['aud_id']])->field('id,weight as weight_val')->find();
if(!$last_data_body){
return $this->msg(10004);
}
}
$kcal_data = $this->skip_kcal_calculate($data['num'],$data['time'],$last_data_body['weight_val']);
}else{
// 将时间从秒转换为分钟
$minutes = bcdiv($data['time'],60,20);
// 计算每分钟的跳绳次数
$jumpsPerMinute = bcdiv($data['num'],$minutes,2);
$kcal_data['totalCalories'] = $data['kcal'];
$kcal_data['averageAchievement'] = $jumpsPerMinute;
$kcal_data['caloriesPerMinute'] = bcdiv($kcal_data['totalCalories'],$minutes,2);
}
$data_set = [
'create_time'=>date('Y-m-d H:i:s'),
'last_update_time'=>date('Y-m-d H:i:s'),
'jump_num'=>$data['num'],
'jump_time'=>$data['time'],
'jump_kcal'=>$kcal_data['totalCalories'],
'average_num'=>$kcal_data['averageAchievement'],
'average_kcal'=>$kcal_data['caloriesPerMinute'],
'aud_id'=>$data['aud_id'],
'record_time'=>array_key_exists('r_time', $data)?$data['r_time']:date('Y-m-d H:i:s'),
'jump_type'=>$data['type']
];
if(strlen($data_set['record_time']) <= 12){
$data_set['record_time'] = $this->addCurrentTimeToDateString($data_set['record_time']);
}
$last_data_body = Db::table($this->skip_db_name['skip'])->insert($data_set);
$result = [
'today_jump_num'=>0,
'today_jump_time'=>0,
'today_jump_kcal'=>0,
];
$all_data = Db::table($this->skip_db_name['skip'])->where(['aud_id'=>$data['aud_id']])->whereTime('record_time','today')->field('jump_num,jump_time,jump_kcal')->select();
foreach ($all_data as $key => $value) {
$result['today_jump_num'] = $result['today_jump_num']+$value['jump_num'];
$result['today_jump_time'] = $result['today_jump_time']+$value['jump_time'];
$result['today_jump_kcal'] = bcadd($result['today_jump_kcal'],$value['jump_kcal'],2);
}
$result['last_jump_num'] = $data['num'];
$result['last_jump_time'] = $data['time'];
$result['last_jump_kcal'] = $data_set['jump_kcal'];
// $result['last_record_time'] = str_replace('-', '/', $data_set['record_time']);
$result['last_record_time'] = $data_set['record_time'];
$time_conversion = $this->handle_hour_branch_second($result['today_jump_time']);
$result['today_jump_time'] = $time_conversion['h'].':'.$time_conversion['m'].':'.$time_conversion['s'];
$time_conversion = $this->handle_hour_branch_second($result['last_jump_time']);
$result['last_jump_time'] = $time_conversion['h'].':'.$time_conversion['m'].':'.$time_conversion['s'];
return $this->msg($result);
}
public function data_report_action($data){ public function data_report_action($data){
$all_data = Db::table($this->skip_db_name['skip'])->where(['aud_id'=>$data['aud_id']])->whereTime('record_time','today')->field('jump_num,jump_time,jump_kcal')->select(); $all_data = Db::table($this->skip_db_name['skip'])->where(['aud_id'=>$data['aud_id']])->whereTime('record_time','today')->field('jump_num,jump_time,jump_kcal')->select();
@ -139,25 +209,25 @@ class Skip extends Base{
$result['last_jump_time'] = $time_conversion['h'].':'.$time_conversion['m'].':'.$time_conversion['s']; $result['last_jump_time'] = $time_conversion['h'].':'.$time_conversion['m'].':'.$time_conversion['s'];
return $this->msg($result); return $this->msg($result);
} }
public function get_all_detaile_data_action($data){ // public function get_all_detaile_data_action($data){
$result = $result = Db::table($this->skip_db_name['skip'])->where(['id'=>$data['id'],'is_del'=>0])->find(); // $result = $result = Db::table($this->skip_db_name['skip'])->where(['id'=>$data['id'],'is_del'=>0])->find();
$for_data_arr = ['jump_num'=>['个数',''],'jump_time'=>['时长',''],'jump_kcal'=>['卡路里','kcal']]; // $for_data_arr = ['jump_num'=>['个数',''],'jump_time'=>['时长',''],'jump_kcal'=>['卡路里','kcal']];
if($result){ // if($result){
$result_data = []; // $result_data = [];
foreach ($for_data_arr as $key => $value) { // foreach ($for_data_arr as $key => $value) {
$temporary_arr['key_name'] = $key; // $temporary_arr['key_name'] = $key;
$temporary_arr['name'] = $value[0]; // $temporary_arr['name'] = $value[0];
$temporary_arr['value'] = explode(',',$result[$key])[0]; // $temporary_arr['value'] = explode(',',$result[$key])[0];
$temporary_arr['unit'] = $value[1]; // $temporary_arr['unit'] = $value[1];
array_push($result_data,$temporary_arr); // array_push($result_data,$temporary_arr);
} // }
return $this->msg($result_data); // return $this->msg($result_data);
}else{ // }else{
return $this->msg(10002); // return $this->msg(10002);
} // }
} // }
################################################################内部调用################################################################ ################################################################内部调用################################################################

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,398 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, initial-scale=1,minimum-scale=1, maximum-scale=1,user-scalable=no">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta http-equiv="Access-Control-Allow-Origin" content="*">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no, email=no">
<meta name="full-screen" content="true">
<meta name="screen-orientation" content="portrait">
<meta name="x5-fullscreen" content="true">
<meta name="360-fullscreen" content="true">
<title>商务合作</title>
<script src="/x_admin/js/jq.js"></script>
<script type="text/javascript" src="/x_admin/lib/layui/layui.js" charset="utf-8"></script>
<script type="text/javascript" src="/x_admin/js/xadmin.js"></script>
<style>
*{
padding: 0 0;
margin: 0 0;
}
.big_box{
width: 100vw;
min-height: 100vh;
position: absolute;
top: 0;
left: 0;
background: url(/tsf/business_bg.jpg) no-repeat;
background-size: 100% 100%;
display: flex;
flex-direction: column;
flex-wrap: nowrap;
align-items: center;
}
.content{
width: 85vw;
max-width: 880px;
display: flex;
flex-direction: column;
flex-wrap: nowrap;
border-radius: 1vw;
background-color: white;
margin: 24px 0;
overflow: hidden;
align-items: center;
}
.content img{
width: 100%;
height: auto;
}
.content_c{
width: 100%;
padding: 2% 12%;
box-sizing: border-box;
}
.title_t{
border: none;
text-align: center;
color: rgba(8, 14, 23, 0.9);
font-weight: 600;
font-size: 28px;
line-height: 40px;
word-break: break-all;
white-space: pre-wrap;
overflow: visible;
margin: 4% 0;
}
.title_c2{
font-size: 12px;
margin-bottom: 10%;
}
.title_c2 span{
color: rgb(17, 106, 240);
}
.write_box{
width: 100%;
font-size: 16px;
margin: 10% 0;
}
.write_box_t{
font-weight: 600;
}
.write_box_r{
color: red;
}
.write_k{
padding: 8px 12px;
position: relative;
border-radius: 6px;
border: 1px solid rgba(8, 14, 23, 0.24);
display: flex;
outline: 0 !important;
word-break: break-all;
margin: 2% 0;
}
.write_k textarea{
width: 100%;
resize: none;
text-overflow: ellipsis;
line-height: 22px;
border: none !important;
border-radius: 0;
background: transparent !important;
box-shadow: none !important;
outline: 0 !important;
cursor: auto;
padding: 0;
min-height: 22px;
margin: 0 1%;
}
.ksapc-select-write {
width: 100%;
}
.ksapc-select-write-tip {
margin-bottom: 10px;
font-size: 14px;
color: #8E9095;
}
.ksapc-select-write-tile {
width: 100%;
}
.ksapc-checkboxgroup {
width: 100%;
}
.ksapc-row {
display: flex;
flex-wrap: wrap;
gap: 14px;
}
.ksapc-col {
flex: 1 1 48%; /* 两列布局 */
}
.ksapc-checkbox {
display: flex;
align-items: center;
}
.ksapc-checkbox input {
margin-right: 8px;
}
.ksapc-checkbox span{
font-size: 14px;
cursor: pointer;
}
#onload{
width: 20vw;
height: 5vw;
min-width: 200px;
min-height: 45px;
background-color: #0A6CFF;
color: white;
border-radius: 10px;
line-height: 5vw;
text-align: center;
font-size: 15px;
font-weight: bold;
margin-bottom: 35px;
cursor: pointer; /* 添加小手图标 */
}
</style>
</head>
<body id="box_k">
<div class="big_box">
<div class="content">
<img src="/tsf/business_title.jpg" alt="">
<div class="content_c">
<div class="title_t">商务合作意向登记表</div>
<div class="title_c2">
智能设备产品包<span>含身高测量仪、体重体脂秤、宠物秤, 母婴秤,厨房秤,商业秤,身高体重/体脂秤,八电极体脂秤,运动训练设备</span>等;软件包含就智能健康管理系统,智能硬件管理系统等,支持智能设备选购/定制、健康系统对接/定制,行业解决方案等,期待与您合作!
</div>
<div class="write_box">
<div class="write_box_t">
<span class="write_box_r">*</span>&nbsp; 1.客户姓名
</div>
<div class="write_k">
<textarea placeholder="请输入" rows="1" oninput="autoResize(this)" class="name-input"></textarea>
</div>
</div>
<div class="write_box">
<div class="write_box_t">
<span class="write_box_r">*</span>&nbsp; 2.联系电话
</div>
<div class="write_k">
<textarea placeholder="请输入手机号" rows="1" oninput="autoResize(this)" class="phone-input"></textarea>
</div>
</div>
<div class="write_box">
<div class="write_box_t">
<span class="write_box_r">*</span>&nbsp; 3.公司名称
</div>
<div class="write_k">
<textarea placeholder="请输入" rows="1" oninput="autoResize(this)" class="company-input"></textarea>
</div>
</div>
<div class="write_box">
<div class="write_box_t">
<span class="write_box_r">*</span>&nbsp; 4.合作意向
</div>
<div class="write_k" style="border: none;">
<div class="ksapc-select-write">
<div class="ksapc-select-write-tip" id="selectedCount">此题已选择 0/6 项</div>
<div class="ksapc-select-write-tile">
<div class="ksapc-checkboxgroup">
<div class="ksapc-row">
<div class="ksapc-col">
<label class="ksapc-checkbox">
<input type="checkbox" class="option-checkbox" value="智能设备">
<span>智能设备</span>
</label>
</div>
<div class="ksapc-col">
<label class="ksapc-checkbox">
<input type="checkbox" class="option-checkbox" value="健康软件">
<span>健康软件</span>
</label>
</div>
<div class="ksapc-col">
<label class="ksapc-checkbox">
<input type="checkbox" class="option-checkbox" value="解决方案">
<span>解决方案</span>
</label>
</div>
<div class="ksapc-col">
<label class="ksapc-checkbox">
<input type="checkbox" class="option-checkbox" value="系统定制">
<span>系统定制</span>
</label>
</div>
<div class="ksapc-col">
<label class="ksapc-checkbox">
<input type="checkbox" class="option-checkbox" value="设备定制">
<span>设备定制</span>
</label>
</div>
<div class="ksapc-col">
<label class="ksapc-checkbox">
<input type="checkbox" class="option-checkbox" value="其它">
<span>其它</span>
</label>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="write_box">
<div class="write_box_t">
<span class="write_box_r">*</span>&nbsp; 5.备注
</div>
<div class="write_k">
<textarea placeholder="请输入" rows="1" oninput="autoResize(this)" class="remark-input"></textarea>
</div>
</div>
<!-- <div class="write_box" style="color: #8E9095;">
商务合作电话/微信13590959084
</div> -->
</div>
<div id="onload">提交</div>
</div>
</div>
</body>
</html>
<script>
var selectedValues = [];
function autoResize(textarea) {
textarea.style.height = 'auto'; // 重置高度
textarea.style.height = textarea.scrollHeight + 'px'; // 设置为内容高度
}
document.addEventListener('DOMContentLoaded', function() {
// 获取 #onload 元素
const onloadElement = document.getElementById('onload');
// 计算 #onload 元素的高度
const height = onloadElement.offsetHeight;
// 设置 #onload 元素的行高与高度一致
onloadElement.style.lineHeight = height + 'px';
const checkboxes = document.querySelectorAll('.option-checkbox');
const selectedCountElement = document.getElementById('selectedCount');
let selectedCount = 0;
function updateSelectedCount() {
selectedCount = 0;
selectedValues = [];
checkboxes.forEach(checkbox => {
if (checkbox.checked) {
selectedCount++;
selectedValues.push(checkbox.value);
}
});
selectedCountElement.textContent = `此题已选择 ${selectedCount}/6 项`;
console.log('Selected Values:', selectedValues);
}
checkboxes.forEach(checkbox => {
checkbox.addEventListener('change', updateSelectedCount);
});
$('#onload').on('click', function() {
// 获取所有需要检查的输入字段
const nameInput = document.querySelector('.name-input');
const phoneInput = document.querySelector('.phone-input');
const companyInput = document.querySelector('.company-input');
const remarkInput = document.querySelector('.remark-input');
// 检查每个字段是否为空
let hasError = false;
let errorMessage = '';
if (!nameInput || nameInput.value.trim() === '') {
hasError = true;
errorMessage += '1. 客户姓名\n';
}
if (!phoneInput || phoneInput.value.trim() === '') {
hasError = true;
errorMessage += '2. 联系电话\n';
}
if (!companyInput || companyInput.value.trim() === '') {
hasError = true;
errorMessage += '3. 公司名称\n';
}
if (selectedCount === 0) {
hasError = true;
errorMessage += '4. 合作意向\n';
}
if (!remarkInput || remarkInput.value.trim() === '') {
hasError = true;
errorMessage += '5. 备注\n';
}
if (hasError) {
layer.msg('以下项目未填写或未选择:\n' + errorMessage, {icon: 2});
// alert('以下项目未填写或未选择:\n' + errorMessage);
return;
}
var index = layer.load(1, {
shade: [0.1, '#fff'] //0.1透明度的白色背景
});
// 如果所有字段都填写了,执行提交操作
$.ajax({
url: "business_cooperation_action", // 请求的url地址
dataType: "json", // 返回格式为json
async: true, // 请求是否异步默认为异步这也是ajax重要特性
data: {
"name": nameInput.value,
"phone": phoneInput.value,
"company": companyInput.value,
"selectedValues": selectedValues,
"remark": remarkInput.value
},
type: "POST", // 请求方式
success: function(req) {
layer.close(layer.index)
// 请求成功时处理
if(req.code == 0){
layer.msg(req.msg, {icon: 1});
setTimeout(() => {
window.location.reload();
}, 2000);
}else{
layer.msg(req.msg, {icon: 2});
}
},
error: function() {
layer.close(layer.index)
// 请求出错处理
layer.msg('网络错误了,请直接联系商务合作电话/微信13590959084', {icon: 2});
}
});
});
});
</script>

View File

@ -975,7 +975,11 @@ Route::any('/reedaw/skip/data_report', 'app/NewReedaw/app.skip/data_report');
Route::any('/reedaw/vitalcapacity/device_record', 'app/NewReedaw/app.vitalcapacity/device_record'); Route::any('/reedaw/vitalcapacity/device_record', 'app/NewReedaw/app.vitalcapacity/device_record');
// 上一次数据 // 上一次数据
Route::any('/reedaw/vitalcapacity/data_report', 'app/NewReedaw/app.vitalcapacity/data_report'); Route::any('/reedaw/vitalcapacity/data_report', 'app/NewReedaw/app.vitalcapacity/data_report');
// ###############################体侧部分
// 获取地区标准
Route::any('/reedaw/sportstesting/sportstesting_get_region_list', 'app/NewReedaw/app.sportstesting/sportstesting_get_region_list');
// 计算获取结果
Route::any('/reedaw/sportstesting/sportstesting_set_once_data', 'app/NewReedaw/app.sportstesting/sportstesting_set_once_data');
@ -1000,6 +1004,11 @@ Route::any('/reedaw/update_my_account_msg', 'app/NewReedaw/app.role/update_my_ac
Route::any('/reedaw/update_my_password', 'app/NewReedaw/app.role/update_my_password'); Route::any('/reedaw/update_my_password', 'app/NewReedaw/app.role/update_my_password');
// 修改账号信息 // 修改账号信息
Route::any('/reedaw/set_my_account_msg', 'app/NewReedaw/app.role/set_my_account_msg'); Route::any('/reedaw/set_my_account_msg', 'app/NewReedaw/app.role/set_my_account_msg');
// 商务合作页面
Route::any('/reedaw/business_cooperation', 'app/NewReedaw/app.business/business_cooperation');
// 商务合作提交
Route::any('/reedaw/business_cooperation_action', 'app/NewReedaw/app.business/business_cooperation_action');
// https://tc.pcxbc.comreedaw/pdate_my_nickname // https://tc.pcxbc.comreedaw/pdate_my_nickname