Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged tp5

0 votes
840 views
1 answer
    框架内缓存驱动redis不能满足需要,想要自己连接redis,在助手函数中新增load_redis 函数代码如下 /** * lubTicket redis 操作API * @param string $apiport 要操作的接口 * @param ... 用reids 求大神指点 看到系统缓存驱动内有提示说使用redisd 驱动,请问驱动在那下载...
asked Feb 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
857 views
1 answer
    tp5中,一般url是这样的 /article/id/5.html 或 /article/5.html 如何实现下面的格式呢 /article_id_5.html /article_5.html 如果在路由中直接写的话,提示模块不存在...
asked Feb 6, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    我邀请的会员(在会员表)有多个,邀请的会员会去做任务(任务表) 想查询一下我邀请的所有会员 完成的单数 这样的sql 怎么去写才是更优化的。~~~~ 我当前想到的就是直接先查会员 然后用foreach 再一个个的去查 谢谢...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
960 views
1 answer
    新手学习tp5 有两个表 teacher:id name username klass:id name teahcer_id 现在需要在模板页面循环输出klassd的内容,其中,希望把klass里面的teacher_id转换成 ... 的结果: {$Klass->getTeacher(1)} {$Klass->getTeacher(2)} 之类的 ...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
927 views
1 answer
    新手学习tp5 有两个表 teacher:id name username klass:id name teahcer_id 现在需要在模板页面循环输出klassd的内容,其中,希望把klass里面的teacher_id转换成 ... 的结果: {$Klass->getTeacher(1)} {$Klass->getTeacher(2)} 之类的 ...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    表 User id name 表 Order id user_id 表 Goods id order_id name 获取所有数据 1. $this->with(['User','Goods'])->limit($pages,$get['limit'])->select ... ": [ { "id": 2, "name": "产品2" } ] } ]...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    表 User id name 表 Order id user_id 表 Goods id order_id name 获取所有数据 1. $this->with(['User','Goods'])->limit($pages,$get['limit'])->select ... ": [ { "id": 2, "name": "产品2" } ] } ]...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.2k views
1 answer
    该把demo里的项目放在哪里?...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
To see more, click for the full list of questions or popular tags.
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...