38 lines
914 B
PHP
38 lines
914 B
PHP
<?php
|
|
|
|
namespace app\admin\controller;
|
|
|
|
use app\admin\model\UserIntegral;
|
|
use app\common\controller\Backend;
|
|
use app\common\library\DatabaseRoute;
|
|
use think\facade\Db;
|
|
|
|
class Sdk extends Backend
|
|
{
|
|
protected array $noNeedPermission = ['getSdkList'];
|
|
|
|
|
|
public function getSdkList()
|
|
{
|
|
$get = $this->request->get();
|
|
if(empty($get['userId'])) {
|
|
$this->error('userId 不能为空');
|
|
}
|
|
$sdkINfo = [
|
|
'sdkRemarks' => $get['sdkRemarks'] ?? null,
|
|
'status' => $get['status'] ?? null,
|
|
'typeId' => $get['typeId'] ?? null,
|
|
'nickName' => $get['nickName'] ?? null,
|
|
'sdkContent' => $get['sdkContent'] ?? null,
|
|
];
|
|
$this->n_success(['data' => [
|
|
'list' => [],
|
|
'totalCount' => 0,
|
|
'totalPage' => 0,
|
|
'currPage' => 1,
|
|
'pageSize' => 0,
|
|
]]);
|
|
}
|
|
|
|
|
|
} |