Silent 7 лет назад
Родитель
Сommit
c6e655abcb
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/Http/Controllers/WeChat/ApiController.php

+ 1 - 1
app/Http/Controllers/WeChat/ApiController.php

xqd
@@ -145,6 +145,6 @@ class ApiController extends Controller
             return response()->json(['status' => 'fail', 'info' => '分享文字位置错误或未设置!']);
         }
 
-        return response()->json(['status' => 'success', 'width' => $image->width(), 'height' => $image->height(), 'showImage' => $image_url, 'showText' => $text, 'showTextPos' => $share_text_pos->value]);
+        return response()->json(['status' => 'success', 'width' => $image->width(), 'height' => $image->height(), 'shareImage' => $image_url, 'shareText' => $text, 'shareTextPos' => $share_text_pos->value]);
     }
 }