正在显示
2 个修改的文件
包含
43 行增加
和
9 行删除
@@ -479,14 +479,7 @@ class Car extends Base | @@ -479,14 +479,7 @@ class Car extends Base | ||
479 | return $this->success("请求成功",$data); | 479 | return $this->success("请求成功",$data); |
480 | } | 480 | } |
481 | 481 | ||
482 | - /** | ||
483 | - *认证声明 | ||
484 | - * @return void | ||
485 | - */ | ||
486 | - public function authentication_statement(){ | ||
487 | - $content = config("site.content");//微信小程序AppID | ||
488 | - return $this->success($content); | ||
489 | - } | 482 | + |
490 | 483 | ||
491 | /** | 484 | /** |
492 | *紧急手机号 | 485 | *紧急手机号 |
@@ -768,4 +761,42 @@ class Car extends Base | @@ -768,4 +761,42 @@ class Car extends Base | ||
768 | ]); | 761 | ]); |
769 | return $this->success("请求成功",$res); | 762 | return $this->success("请求成功",$res); |
770 | } | 763 | } |
764 | + | ||
765 | + | ||
766 | + /** | ||
767 | + * 乘车须知 | ||
768 | + * @return void | ||
769 | + */ | ||
770 | + public function getriding_instructions(){ | ||
771 | + $content = config("site.riding_instructions");//微信小程序AppID | ||
772 | + return $this->success("请求成功",$content); | ||
773 | + } | ||
774 | + | ||
775 | + /** | ||
776 | + * 通知公告 | ||
777 | + * @return void | ||
778 | + */ | ||
779 | + public function getnotice(){ | ||
780 | + $content = config("site.notice");//微信小程序AppID | ||
781 | + return $this->success("请求成功",$content); | ||
782 | + } | ||
783 | + | ||
784 | + | ||
785 | + /** | ||
786 | + * 司机认证 | ||
787 | + * @return void | ||
788 | + */ | ||
789 | + public function getdriver_authentication(){ | ||
790 | + $content = config("site.driver_authentication");//微信小程序AppID | ||
791 | + return $this->success("请求成功",$content); | ||
792 | + } | ||
793 | + | ||
794 | + /** | ||
795 | + * 关于我们 | ||
796 | + * @return void | ||
797 | + */ | ||
798 | + public function getaboutwe(){ | ||
799 | + $content = config("site.aboutwe");//微信小程序AppID | ||
800 | + return $this->success("请求成功",$content); | ||
801 | + } | ||
771 | } | 802 | } |
@@ -46,5 +46,8 @@ return array ( | @@ -46,5 +46,8 @@ return array ( | ||
46 | 'wxxcx_AppSecret' => 'baf744d21875280a5e98611f66adaf91', | 46 | 'wxxcx_AppSecret' => 'baf744d21875280a5e98611f66adaf91', |
47 | 'content' => '111111111111111111111222222222', | 47 | 'content' => '111111111111111111111222222222', |
48 | 'alarm_phone' => '13528348347', | 48 | 'alarm_phone' => '13528348347', |
49 | - 'riding_instructions' => '', | 49 | + 'riding_instructions' => '<p>乘车须知乘车须知乘车须知乘车须知乘车须知乘车须知<br></p>', |
50 | + 'notice' => '<p><span style="background-color: rgb(249, 249, 249);">通知公告</span><span style="background-color: rgb(249, 249, 249);">通知公告</span><span style="background-color: rgb(249, 249, 249);">通知公告</span><span style="background-color: rgb(249, 249, 249);">通知公告</span><span style="background-color: rgb(249, 249, 249);">通知公告</span><span style="background-color: rgb(249, 249, 249);">通知公告</span><br></p>', | ||
51 | + 'driver_authentication' => '<p>司机认证司机认证司机认证司机认证司机认证司机认证<br></p>', | ||
52 | + 'aboutwe' => '<p><span style="background-color: rgb(249, 249, 249);">关于我们</span><span style="background-color: rgb(249, 249, 249);">关于我们</span><span style="background-color: rgb(249, 249, 249);">关于我们</span><span style="background-color: rgb(249, 249, 249);">关于我们</span><br></p>', | ||
50 | ); | 53 | ); |
-
请 注册 或 登录 后发表评论