摘要:
<?php namespace app\admin\controller; use think\Controller; use think\Request; class Base extends Controller { // public function __construct(Request 阅读全文
摘要:
//自定义函数 function getOne($arr){ $str = ''; //定义空的字符串,用来接收值 foreach ($arr as $key=>$value){ //循环遍历数组 将值转化为字符串 $str .= implode(',',$value).','; } //将字符串转 阅读全文