Silent %!s(int64=6) %!d(string=hai) anos
pai
achega
6cb5935abd

+ 6 - 0
app/Http/Controllers/Admin/CheckCardController.php

xqd xqd
@@ -61,6 +61,7 @@ class CheckCardController extends Controller
         }
 
         $list = $this->paginate($list);
+        dd($list);
 
         foreach($list as $item) {
             $item->duration = $item->getDuration();
@@ -69,4 +70,9 @@ class CheckCardController extends Controller
         list($pre_uri, $model_name) = array($this->pre_uri, $this->model_name);
         return view($this->view_path . 'index', compact('list', 'pre_uri', 'model_name'));
     }
+
+    public function rank(Request $request)
+    {
+
+    }
 }

+ 1 - 1
wechat/pages/index/index.js

xqd
@@ -274,7 +274,7 @@ Page({
     // ctx.fillRect(0, 0, width, height)
     ctx.drawImage(image)
     ctx.fillStyle = "#fff"
-    ctx.setFontSize(24)
+    ctx.setFontSize(18)
     ctx.textAlign = 'center'
     // ctx.fillText('我已成功打卡14天', width / 2, height / 2 - 7)
     ctx.fillText(text, text_x, text_y)