摘要:
$param = $this->request->param(); $data = [ ['id' => 1, 'name' => '11'], ['id' => 2, 'name' => '22'], ['id' => 3, 'name' => '33'], ['id' => 1, 'name' 阅读全文
摘要:
$fileName = "1.xls"; $import_array = array(); //获取文件读取操作 $objReader = \PHPExcel_IOFactory::load($fileName); //对象 $sheets = $objReader->getAllSheets(); 阅读全文
摘要:
public function Goods_Upload(Request $request){ $save_path = 'uploads/' . date("Ymd"); if (!file_exists($save_path)) { mkdir($save_path, 0777, true); 阅读全文
摘要:
先修改bat文件 xcopy .\dist ..\tmk\public\ /s /e /y 1 : yarn 2:yarn build 3 git pull && yarn build && cp 阅读全文
摘要:
public function car_source_location($lng,$lat,$log){ $sql = "select a.*, ROUND(6378.138*2*ASIN(SQRT( POW(SIN(({$lat}*PI()/180-lat*PI()/180)/2),2) +COS 阅读全文
摘要:
public function tipsRefund() { $model = D('Common/Order'); $order_sn = $model->makeOrderSn(); $transaction_id=I("transaction_id",0); $money=I("money", 阅读全文
摘要:
/** * 根据身份证照片获取信息 */public function idpositiveGetInfo(){ $url = input('url')?:exit('00'); $openid = input('openid')?:exit('00'); $host = "https://1234 阅读全文
摘要:
<?php/** * @Author 焦 * @DateTime 2020-08-19 */namespace Home\Controller;use Think\Controller;class QrcodeController extends Controller { //生成二维码 publi 阅读全文
摘要:
$sens=M("sensitive")->select(); foreach ($sens as $k=>$v){ $sensi[]=$v['sensitive']; } $list=$sensi; $string=$title; $count = 0; //违规词的个数 $sensitiveWo 阅读全文
摘要:
public function getopenid() { $APPID = 'wx1a8b582067ebb8a5';//自己配置 $AppSecret = '08fb395003441b482583b218d306280b';//自己配置 $file =file_get_contents("ph 阅读全文