Parcourir la source

Merge branch 'master' of http://47.118.43.255:3000/jjhc/jucai

sandm il y a 3 ans
Parent
commit
d70eb062cd

+ 8 - 0
app/Http/Controllers/Web/Talent/JjhcController.php

@@ -3,6 +3,7 @@
 namespace App\Http\Controllers\Web\Talent;
 
 use App\Http\Controllers\Web\WebBaseController;
+use App\Services\Common\SmsService;
 use PhpOffice\PhpSpreadsheet\Spreadsheet;
 use PhpOffice\PhpSpreadsheet\IOFactory;
 use Illuminate\Support\Facades\DB;
@@ -10,9 +11,16 @@ use App\Exceptions\ResponseException;
 
 class JjhcController extends WebBaseController
 {
+    private $smsService;
+    public function __construct(SmsService $smsService)
+    {
+        $this->smsService = $smsService;
+    }
 
     public function test()
     {
+        $a = $this->smsService->sendSms('13313826760', 'sms_buyhouse_supply', ['username'=>'林武','phone'=>'06','content'=>'25']);
+        dd($a);
         throw new ResponseException("who are you?", [], 404);
 //        $list = DB::table('lt_apppointment')->distinct()->pluck('card')->toArray();
 //        $all = DB::table('lt_apppointment')->pluck('card')->toArray();

BIN
public/themes/default/assets/mobile/images/index/danjian.jpg


+ 2 - 2
public/themes/default/views/app/index.blade.php

@@ -246,7 +246,7 @@
         </div>
     </div>
 
-    <div id="photos" style="display:flex;width:1200px;margin:0 auto;justify-content:space-between;margin-top:30px;">
+    {{--<div id="photos" style="display:flex;width:1200px;margin:0 auto;justify-content:space-between;margin-top:30px;">
         <img style="width:200px;" data-index="0" src="{{theme_asset('app/images/welfare/1.jpg')}}" alt="">
         <img style="width:200px;" data-index="1" src="{{theme_asset('app/images/welfare/2.jpg')}}" alt="">
         <img style="width:200px;" data-index="2" src="{{theme_asset('app/images/welfare/3.jpg')}}" alt="">
@@ -300,7 +300,7 @@
                 });
             });
         </script>
-    </div>
+    </div>--}}
 
     <div class="wide">
         <div class="web_intro_box">

+ 5 - 0
public/themes/default/views/mobile/app/index.blade.php

@@ -162,6 +162,11 @@
 
     <div class="swiper-container">
         <div class="swiper-wrapper">
+            <div class="swiper-slide">
+                <a href="javascript:void(0)">
+                    <img src="{{ theme_asset('mobile/images/index/danjian.jpg') }}" width="100%" />
+                </a>
+            </div>
             <div class="swiper-slide">
                 <a href="{{route('mobile.recuperate')}}">
                     <img src="{{ theme_asset('mobile/images/recuperate/index_recuperate.jpg') }}" width="100%" />