摘要: 1 public function getSearchDealer($type='',$name='',$mobile='') 2 { 3 //分销商 4 $dealer = new UserModel; 5 $name = input('get.real_name'); 6 if(!empty($ 阅读全文
posted @ 2023-09-16 18:44 糖粿 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 1 //获取合伙人下级树 2 public function getPartnerTree() 3 { 4 5 //合伙人 6 $partner = new PartnerUserModel; 7 8 $user_id = input('post.user_id'); 9 10 $partner_i 阅读全文
posted @ 2023-09-11 16:44 糖粿 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 前端参数 后端逻辑 //多个邮箱配置 public function system() { $email_type = input('email_type','1'); $field = 'id,smtp,smtp_port,sender_email_adress,smtp_name,smtp_co 阅读全文
posted @ 2023-05-29 15:21 糖粿 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 1. 两个适用于文件里有php版本文件 1 @echo off 2 title Skylar development tool 3 set ip=0.0.0.0 4 set local_ip=127.0.0.1 5 set port=10000 6 :start 7 set /a port+=1 8 阅读全文
posted @ 2022-04-13 11:01 糖粿 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 1 <?php 2 3 namespace app; 4 5 use app\admin\AuthErrorException; 6 use app\admin\ErrorException; 7 use app\home\NotFoundException; 8 use app\model\Sys 阅读全文
posted @ 2022-04-13 10:37 糖粿 阅读(36) 评论(0) 推荐(0) 编辑
摘要: 1 <?php 2 // + 3 // | 应用设置 4 // + 5 6 return [ 7 // 应用地址 8 'app_host' => env('app.host', ''), 9 // 应用的命名空间 10 'app_namespace' => '', 11 // 是否启用路由 12 ' 阅读全文
posted @ 2022-04-13 10:36 糖粿 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 1 <?php 2 3 return [ 4 // 默认磁盘 5 'default' => env('filesystem.driver', 'local'), 6 // 磁盘列表 7 'disks' => [ 8 'local' => [ 9 'type' => 'local', 10 'root 阅读全文
posted @ 2022-04-13 10:34 糖粿 阅读(62) 评论(0) 推荐(0) 编辑
摘要: 1 <?php 2 // + 3 // | 多语言设置 4 // + 5 6 return [ 7 // 默认语言 8 'default_lang' => env('lang.default_lang', 'zh-cn'), 9 // 允许的语言列表 10 'allow_lang_list' => 阅读全文
posted @ 2022-04-13 10:34 糖粿 阅读(112) 评论(0) 推荐(0) 编辑
摘要: <?php return [ 'app_key' => '0e8ee451d557e99e3x', 'app_secret' => 'f45df6919f31d564d52bdf2657ac8e20x', 'host' => env('DOMAIN.UCENTER', 'http://xxx.sky 阅读全文
posted @ 2022-04-13 10:32 糖粿 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 1 APP_DEBUG = true 2 APP_ENV = dev 3 ALLOW_CROSS_DOMAIN = 127.0.0.1,localhost 4 5 [APP] 6 DEFAULT_TIMEZONE = Asia/Shanghai 7 NAME = xxxx监管平台 8 9 [DATA 阅读全文
posted @ 2022-04-13 10:30 糖粿 阅读(171) 评论(0) 推荐(0) 编辑