31 lines
624 B
PHP
31 lines
624 B
PHP
<?php
|
|
|
|
namespace app\index\controller;
|
|
|
|
use think\Session;
|
|
use think\Config;
|
|
use app\admin\model\Renzheng;
|
|
use think\Request;
|
|
use addons\shopro\controller\Common;
|
|
|
|
class Combine extends Common
|
|
{
|
|
|
|
public function index()
|
|
{
|
|
// var_dump(__DIR__ );exit;
|
|
$renzheng = new Renzheng();
|
|
$res = $renzheng->where('id',1)->find()->toArray();
|
|
var_dump($res);exit;
|
|
return $this->view->fetch();
|
|
}
|
|
|
|
|
|
public function combine_save(){
|
|
$user = auth_user();
|
|
$request = Request::instance();
|
|
$params = $request->param();
|
|
var_dump($user);exit;
|
|
}
|
|
}
|