gq 7 years ago
parent
commit
6d6b55a2ea

+ 1 - 1
server/app/Http/Controllers/Api/V1/DreamController.php

xqd
@@ -407,7 +407,7 @@ class DreamController extends Controller
         $dream = DreamInfoModel::find($dream_id);
         $user_id = $dream->user_id;
         $coin = $request->coin;
-     /*   if ($dream->get_coin >= $dream->coin) {
+     /*   if ($dream->get_coin >= $dream->coin) {$number
             return $this->error(ErrorCode::SUP_TOP);
         } elseif($coin + $dream->get_coin > $dream->coin){
             $coin = $dream->coin - $dream->get_coin;

+ 1 - 1
server/resources/views/admin/share.blade.php

xqd
@@ -53,7 +53,7 @@
     @endif
 </div>
 <div style="clear:both; height: 50px; padding: 5px 10px;">
-    <div style="float:left;">
+    <div style="text-align: left">
         <p style="text-align: right">{{$dream->coin}}</p>
         <p style="font-size: 13px; color: #919191">我要求的梦想币</p>
     </div>