diff --git a/Laravel/app/Http/Controllers/API/H5/OrderNewController.php b/Laravel/app/Http/Controllers/API/H5/OrderNewController.php index 953f73c..2ffb39e 100644 --- a/Laravel/app/Http/Controllers/API/H5/OrderNewController.php +++ b/Laravel/app/Http/Controllers/API/H5/OrderNewController.php @@ -99,9 +99,9 @@ class OrderNewController extends Controller $combo_info = DB::table('combos')->where(['combo_id' => $combo_id, 'status' => 1])->first(); if (!$combo_info) return \Yz::echoError1("套餐不存在"); if (!isset($combo_info->checkup_type_id)) return \Yz::echoError1("套餐未关联体检类型"); - if($combo_info->sex<>0 and $combo_info->sex<>$person->sex) { - return \Yz::echoError1("套餐性别与体检人性别不匹配"); - } +// if($combo_info->sex<>0 and $combo_info->sex<>$person->sex) { //医院要求购买套餐时,不限制性别,预约和转赠时再限制,所以这段注释掉了 +// return \Yz::echoError1("套餐性别与体检人性别不匹配"); +// } $checkup_type_id = $combo_info->checkup_type_id; //构建多选一数据 diff --git a/h5/config.js b/h5/config.js index ac2205a..8d29e36 100644 --- a/h5/config.js +++ b/h5/config.js @@ -1,7 +1,7 @@ const app_type = 'gzh' //const base_url = "https://api.hainan2024.sa0.online" //开发环境 -//const base_url="https://tj-h5.hnxdfe.com" //正式环境 -const base_url="http://124.225.137.54:39081" //测试环境 +const base_url="https://tj-h5.hnxdfe.com" //正式环境 +//const base_url="http://124.225.137.54:39081" //测试环境 const config = { api_map_url: base_url + '/api/ApiMap/h5', base_assets_url: base_url, diff --git a/h5/pages/main/tj/tjzx.vue b/h5/pages/main/tj/tjzx.vue index a7abf0f..55fb9ae 100644 --- a/h5/pages/main/tj/tjzx.vue +++ b/h5/pages/main/tj/tjzx.vue @@ -124,6 +124,7 @@ group_id: groupId.value, combo_id: comboId.value, wj: wj.value, + duo_xuan_yi: $store.getDuoXuanYi(), }; if (comboId.value) { obj.combo_id = comboId.value;