Browse Source

异常处理

彭俊 6 năm trước cách đây
mục cha
commit
f7e4bc0798
2 tập tin đã thay đổi với 10 bổ sung0 xóa
  1. 2 0
      app/Models/SportsNoteList.php
  2. 8 0
      sql.sql

+ 2 - 0
app/Models/SportsNoteList.php

@@ -235,6 +235,7 @@ class SportsNoteList extends BaseModel
             } 
             */
 
+            //操作栏 按钮
             if($v->status==1){
                 $v->game_status = '
                 <button style="margin-left: 0;" onclick="'.$function.'(\'' . $v->order_id . '\',\''.$v->match_id.'\',\''.$type.'\')"  class="layui-btn layui-btn-sm settlement">结算</button>
@@ -288,6 +289,7 @@ class SportsNoteList extends BaseModel
      */
     public function getOrderC($content,$order){
         $content_str = commonFunction::filter_by_value($content,'order_id',$order->order_id);
+
          //===投注详情===
          if (!empty($order->match_time)) {
             $content1 = '[' . $order->match_time . ']';

+ 8 - 0
sql.sql

@@ -30,3 +30,11 @@ COMMENT ON COLUMN "st_lq_result"."s_home_score" IS '下半场-主队进球数';
 
 ALTER TABLE st_lq_result ADD COLUMN s_guest_score int2 NOT NULL DEFAULT 0;
 COMMENT ON COLUMN "st_lq_result"."s_guest_score" IS '下半场-客队进球数';
+
+/**
+Tank.peng
+2019/11/5
+新增玩法代码
+*/
+INSERT INTO "public"."st_odds_code" VALUES (498, 'wq', 'ch_3', '第三盘冠军主队', 183, 0,3001007);
+INSERT INTO "public"."st_odds_code" VALUES (499, 'wq', 'cg_3', '第三盘冠军客队', 183, 0,3001008);