处理bug

main
yanzai 1 year ago
parent 9603d363e3
commit c5ca122b2a

@ -162,6 +162,7 @@ class ComboController extends Controller
$list = $list->where('combos.name', 'like', '%' . $searchInfo['name'] . '%'); $list = $list->where('combos.name', 'like', '%' . $searchInfo['name'] . '%');
} }
$list=$list->where(['combos.status'=>1]);
$count = $list->count(); $count = $list->count();
$list = $list $list = $list
->skip(($page - 1) * $pageSize) // 跳过前9999条记录 ->skip(($page - 1) * $pageSize) // 跳过前9999条记录

@ -53,9 +53,9 @@ class HomeController extends Controller
'icon' => '/assets/h5/tuanjianyuyue.png' 'icon' => '/assets/h5/tuanjianyuyue.png'
]], ]],
'button' => [[[ 'button' => [[[
'message' => '暂未开放', 'message' => '',
'name' => '健康问卷', 'name' => '健康问卷',
'jump' => '/pages/main/cjwt/cjwt', 'jump' => '/pages/main/question/choose/choose',
'icon' => '/assets/h5/a_jiankangwenjuan.png' 'icon' => '/assets/h5/a_jiankangwenjuan.png'
], ],
// [ // [
@ -124,9 +124,9 @@ class HomeController extends Controller
{ {
$list = [ $list = [
[ [
'message' => '暂未开放', 'message' => '',
'name' => '检前健康评估', 'name' => '检前健康评估',
'url' => '', 'url' => '/pages/main/question/question/question?id=4',
'logo' => '/assets/h5/zhuyishixiang.png' 'logo' => '/assets/h5/zhuyishixiang.png'
], ],
[ [

@ -378,7 +378,7 @@ class OrderController extends Controller
if ($insert and $up_plan and $jifen_dikou_status and $yucunkuan_dikou_status) { if ($insert and $up_plan and $jifen_dikou_status and $yucunkuan_dikou_status) {
DB::commit(); DB::commit();
$action = false; $action = false;
if ($true_price === 0) { if ($true_price == 0) {
//如果是免费的,直接去预约 //如果是免费的,直接去预约
$yuyue = self::Finish($order_num); $yuyue = self::Finish($order_num);
if ($yuyue['status'] === true) { if ($yuyue['status'] === true) {

@ -281,7 +281,7 @@
</view> </view>
</view> </view>
</view> </view>
<view class="botm_blank_wrapper" style="font-size: 18rpx;color: #ccc;">10152206</view> <view class="botm_blank_wrapper" style="font-size: 18rpx;color: #ccc;">10171926</view>
</view> </view>
</view> </view>
</template> </template>

Loading…
Cancel
Save