作者 郭宇鹏
1 个管道 的构建 通过 耗费 10 秒

'1-4'

@@ -190,7 +190,7 @@ class Index extends BaseApi @@ -190,7 +190,7 @@ class Index extends BaseApi
190 if ($attention == 2){ 190 if ($attention == 2){
191 $art_list[$key]['is_friend'] = 1; 191 $art_list[$key]['is_friend'] = 1;
192 }else{ 192 }else{
193 - $art_list[$key]['is_friend'] = 1; 193 + $art_list[$key]['is_friend'] = 0;
194 } 194 }
195 } 195 }
196 } 196 }
@@ -258,7 +258,7 @@ class Index extends BaseApi @@ -258,7 +258,7 @@ class Index extends BaseApi
258 if ($attention == 2){ 258 if ($attention == 2){
259 $art_list[$key]['is_friend'] = 1; 259 $art_list[$key]['is_friend'] = 1;
260 }else{ 260 }else{
261 - $art_list[$key]['is_friend'] = 1; 261 + $art_list[$key]['is_friend'] = 0;
262 } 262 }
263 } 263 }
264 } 264 }
@@ -139,9 +139,6 @@ class Treasured extends BaseApi @@ -139,9 +139,6 @@ class Treasured extends BaseApi
139 ->logo($this->auth->avatar)//生成logo二维码 139 ->logo($this->auth->avatar)//生成logo二维码
140 ->background(550,950,cdnurl($qr_code_bg['value'])) //给二维码加上背景 140 ->background(550,950,cdnurl($qr_code_bg['value'])) //给二维码加上背景
141 ->getPath();//获取二维码生成的地址 141 ->getPath();//获取二维码生成的地址
142 -// $qr_code = $this->createQrCode($url.$treasured['id'],4,1.97);  
143 -// $qr_code = $this->createQrCode($url.$treasured['id'],4,1.97,cdnurl($qr_code_bg['value']));  
144 -  
145 //8.更新数据 142 //8.更新数据
146 $treasured->qr_code = this_url().$qr_code; 143 $treasured->qr_code = this_url().$qr_code;
147 $treasured->qr_code_d = this_url().$qr_code_d; 144 $treasured->qr_code_d = this_url().$qr_code_d;
@@ -151,21 +148,103 @@ class Treasured extends BaseApi @@ -151,21 +148,103 @@ class Treasured extends BaseApi
151 $this->success('增加墨宝档案成功',$treasured); 148 $this->success('增加墨宝档案成功',$treasured);
152 } 149 }
153 150
154 - public function createQrCode($name,$size = 5,$bili = 2,$qr_code_bg = null){  
155 - $code = new QRcode();  
156 - if ($qr_code_bg){  
157 - $qr_code = $code->png($name) //生成二维码  
158 - ->logo(ROOT_PATH.'public/assets/img/bg.png',$size,$bili) //生成logo二维码  
159 - ->logo($this->auth->avatar)//生成logo二维码  
160 - ->background(600,1020,$qr_code_bg) //给二维码加上背景  
161 - ->getPath();//获取二维码生成的地址  
162 - }else{  
163 - $qr_code = $code->png($name) //生成二维码  
164 - ->logo(ROOT_PATH.'public/assets/img/bg.png',$size,$bili) //生成logo二维码  
165 - ->logo($this->auth->avatar)//生成logo二维码  
166 - ->getPath();//获取二维码生成的地址 151 + /**
  152 + * 墨宝档案基本信息
  153 + * @ApiTitle (墨宝档案基本信息)
  154 + * @ApiMethod (POST)
  155 + * @ApiRoute (/api/treasured/getJiXin)
  156 + * @ApiReturnParams (name="code", type="integer", required=true, sample="0")
  157 + * @ApiReturnParams (name="msg", type="string", required=true, sample="返回成功")
  158 + * @ApiReturnParams (name="data", type="object", description="扩展数据返回")
  159 + * @ApiReturn ({
  160 + "code": 1,
  161 + "msg": "查询数据成功",
  162 + "time": "1609651935",
  163 + "data": {
  164 + "treasured_num": "墨宝档案数量",
  165 + "number": "墨宝档案浏览数量"
  166 + }
  167 + })
  168 + */
  169 + public function getJiXin(){
  170 + //1.查询墨宝档案数量
  171 + $treasured_num = model('treasured')->where('deletetime','<>',null)->count();
  172 + //2.查询墨宝档案浏览数量
  173 + $number = model('config')->where('name','mobao_num')->find();
  174 + //3.返回数据
  175 + $this->success('查询数据成功',['treasured_num'=>$treasured_num,'number'=>$number['value']*1]);
  176 + }
  177 +
  178 + /**
  179 + * 墨宝档案列表
  180 + * @ApiTitle (墨宝档案列表)
  181 + * @ApiMethod (POST)
  182 + * @ApiRoute (/api/treasured/addListTreasured)
  183 + * @ApiParams (name="page", type="integer", required=true, description="分页次数")
  184 + * @ApiParams (name="num", type="integer", required=true, description="分页数量")
  185 + * @ApiReturnParams (name="code", type="integer", required=true, sample="0")
  186 + * @ApiReturnParams (name="msg", type="string", required=true, sample="返回成功")
  187 + * @ApiReturnParams (name="data", type="object", description="扩展数据返回")
  188 + * @ApiReturn ()
  189 + */
  190 + public function addListTreasured(){
  191 + //1.获取动态id
  192 + $data = $this->get_data_array([
  193 + ['page','分页次数不能为空'],
  194 + ['num','分页数量不能为空']
  195 + ]);
  196 + //2.查询数据
  197 + $treasured = model('treasured')
  198 + ->where('deletetime',null)
  199 + ->order('createtime','desc')
  200 + ->page($data['page'],$data['num'])
  201 + ->select();
  202 + //3.记录浏览记录
  203 + if ($treasured && $data['page'] == 1){
  204 + model('config')->where('name','mobao_num')->setInc('value');
  205 + }
  206 + //4.返回数据
  207 + $this->success('查询数据成功',$treasured);
  208 + }
  209 +
  210 + /**
  211 + * 墨宝档案列表
  212 + * @ApiTitle (墨宝档案列表)
  213 + * @ApiMethod (POST)
  214 + * @ApiRoute (/api/treasured/getTreasuredShai)
  215 + * @ApiParams (name="page", type="integer", required=true, description="分页次数")
  216 + * @ApiParams (name="num", type="integer", required=true, description="分页数量")
  217 + * @ApiParams (name="author", type="string", required=false, description="作者名称")
  218 + * @ApiParams (name="start_time", type="integer", required=false, description="开始时间")
  219 + * @ApiParams (name="end_time", type="integer", required=false, description="结束时间")
  220 + * @ApiParams (name="author", type="string", required=true, description="作者名称")
  221 + * @ApiParams (name="author", type="string", required=true, description="作者名称")
  222 + * @ApiReturnParams (name="code", type="integer", required=true, sample="0")
  223 + * @ApiReturnParams (name="msg", type="string", required=true, sample="返回成功")
  224 + * @ApiReturnParams (name="data", type="object", description="扩展数据返回")
  225 + * @ApiReturn ()
  226 + */
  227 + public function getTreasuredShai(){
  228 + //1.获取动态id
  229 + $data = $this->get_data_array([
  230 + ['page','分页次数不能为空'],
  231 + ['num','分页数量不能为空']
  232 + ]);
  233 + //2.查询数据
  234 + $treasured = model('treasured')
  235 + ->where('deletetime',null)
  236 + ->order('createtime','desc')
  237 + ->page($data['page'],$data['num'])
  238 + ->select();
  239 + //3.记录浏览记录
  240 + if ($treasured && $data['page'] == 1){
  241 + model('config')->where('name','mobao_num')->setInc('value');
167 } 242 }
168 - return $qr_code; 243 + //4.返回数据
  244 + $this->success('查询数据成功',$treasured);
169 } 245 }
170 246
  247 +
  248 +
  249 +
171 } 250 }
@@ -207,26 +207,28 @@ @@ -207,26 +207,28 @@
207 <div class="child collapse" id="墨宝档案"> 207 <div class="child collapse" id="墨宝档案">
208 <a href="javascript:;" data-id="44" class="list-group-item">获取墨宝档案尺寸</a> 208 <a href="javascript:;" data-id="44" class="list-group-item">获取墨宝档案尺寸</a>
209 <a href="javascript:;" data-id="45" class="list-group-item">增加墨宝档案</a> 209 <a href="javascript:;" data-id="45" class="list-group-item">增加墨宝档案</a>
  210 + <a href="javascript:;" data-id="46" class="list-group-item">墨宝档案基本信息</a>
  211 + <a href="javascript:;" data-id="47" class="list-group-item">墨宝档案列表</a>
210 </div> 212 </div>
211 <a href="#会员接口" class="list-group-item" data-toggle="collapse" data-parent="#sidebar">会员接口 <i class="fa fa-caret-down"></i></a> 213 <a href="#会员接口" class="list-group-item" data-toggle="collapse" data-parent="#sidebar">会员接口 <i class="fa fa-caret-down"></i></a>
212 <div class="child collapse" id="会员接口"> 214 <div class="child collapse" id="会员接口">
213 - <a href="javascript:;" data-id="46" class="list-group-item">会员中心</a>  
214 - <a href="javascript:;" data-id="47" class="list-group-item">会员登录</a>  
215 - <a href="javascript:;" data-id="48" class="list-group-item">判断是不是已经关注</a>  
216 - <a href="javascript:;" data-id="49" class="list-group-item">关注和取消关注</a> 215 + <a href="javascript:;" data-id="48" class="list-group-item">会员中心</a>
  216 + <a href="javascript:;" data-id="49" class="list-group-item">会员登录</a>
  217 + <a href="javascript:;" data-id="50" class="list-group-item">判断是不是已经关注</a>
  218 + <a href="javascript:;" data-id="51" class="list-group-item">关注和取消关注</a>
217 </div> 219 </div>
218 <a href="#微信审核" class="list-group-item" data-toggle="collapse" data-parent="#sidebar">微信审核 <i class="fa fa-caret-down"></i></a> 220 <a href="#微信审核" class="list-group-item" data-toggle="collapse" data-parent="#sidebar">微信审核 <i class="fa fa-caret-down"></i></a>
219 <div class="child collapse" id="微信审核"> 221 <div class="child collapse" id="微信审核">
220 - <a href="javascript:;" data-id="50" class="list-group-item">判断用户是否什么身份都没有</a>  
221 - <a href="javascript:;" data-id="51" class="list-group-item">判断用户权限</a>  
222 - <a href="javascript:;" data-id="52" class="list-group-item">用户实名认证/书家申请</a>  
223 - <a href="javascript:;" data-id="53" class="list-group-item">获取 用户实名认证/书家申请</a>  
224 - <a href="javascript:;" data-id="54" class="list-group-item">书协认证/企业认证接口</a>  
225 - <a href="javascript:;" data-id="55" class="list-group-item">获取 书协认证/企业认证</a> 222 + <a href="javascript:;" data-id="52" class="list-group-item">判断用户是否什么身份都没有</a>
  223 + <a href="javascript:;" data-id="53" class="list-group-item">判断用户权限</a>
  224 + <a href="javascript:;" data-id="54" class="list-group-item">用户实名认证/书家申请</a>
  225 + <a href="javascript:;" data-id="55" class="list-group-item">获取 用户实名认证/书家申请</a>
  226 + <a href="javascript:;" data-id="56" class="list-group-item">书协认证/企业认证接口</a>
  227 + <a href="javascript:;" data-id="57" class="list-group-item">获取 书协认证/企业认证</a>
226 </div> 228 </div>
227 <a href="#微信相关" class="list-group-item" data-toggle="collapse" data-parent="#sidebar">微信相关 <i class="fa fa-caret-down"></i></a> 229 <a href="#微信相关" class="list-group-item" data-toggle="collapse" data-parent="#sidebar">微信相关 <i class="fa fa-caret-down"></i></a>
228 <div class="child collapse" id="微信相关"> 230 <div class="child collapse" id="微信相关">
229 - <a href="javascript:;" data-id="56" class="list-group-item">jssdk配置信息</a> 231 + <a href="javascript:;" data-id="58" class="list-group-item">jssdk配置信息</a>
230 </div> 232 </div>
231 </div> 233 </div>
232 </div> 234 </div>
@@ -7020,13 +7022,11 @@ @@ -7020,13 +7022,11 @@
7020 </div> 7022 </div>
7021 </div> 7023 </div>
7022 </div> 7024 </div>
7023 - <h2>会员接口</h2>  
7024 - <hr>  
7025 <div class="panel panel-default"> 7025 <div class="panel panel-default">
7026 <div class="panel-heading" id="heading-46"> 7026 <div class="panel-heading" id="heading-46">
7027 <h4 class="panel-title"> 7027 <h4 class="panel-title">
7028 <span class="label label-primary">POST</span> 7028 <span class="label label-primary">POST</span>
7029 - <a data-toggle="collapse" data-parent="#accordion46" href="#collapseOne46"> 会员中心 <span class="text-muted">/api/user/index</span></a> 7029 + <a data-toggle="collapse" data-parent="#accordion46" href="#collapseOne46"> 墨宝档案基本信息 <span class="text-muted">/api/treasured/getJiXin</span></a>
7030 </h4> 7030 </h4>
7031 </div> 7031 </div>
7032 <div id="collapseOne46" class="panel-collapse collapse"> 7032 <div id="collapseOne46" class="panel-collapse collapse">
@@ -7044,7 +7044,7 @@ @@ -7044,7 +7044,7 @@
7044 7044
7045 <div class="tab-pane active" id="info46"> 7045 <div class="tab-pane active" id="info46">
7046 <div class="well"> 7046 <div class="well">
7047 - 会员中心 </div> 7047 + 墨宝档案基本信息 </div>
7048 <div class="panel panel-default"> 7048 <div class="panel panel-default">
7049 <div class="panel-heading"><strong>Headers</strong></div> 7049 <div class="panel-heading"><strong>Headers</strong></div>
7050 <div class="panel-body"> 7050 <div class="panel-body">
@@ -7070,7 +7070,7 @@ @@ -7070,7 +7070,7 @@
7070 <div class="panel panel-default"> 7070 <div class="panel panel-default">
7071 <div class="panel-heading"><strong>参数</strong></div> 7071 <div class="panel-heading"><strong>参数</strong></div>
7072 <div class="panel-body"> 7072 <div class="panel-body">
7073 - <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/index" method="POST" name="form46" id="form46"> 7073 + <form enctype="application/x-www-form-urlencoded" role="form" action="/api/treasured/getJiXin" method="POST" name="form46" id="form46">
7074 <div class="form-group"> 7074 <div class="form-group">
7075 7075
7076 </div> 7076 </div>
@@ -7127,10 +7127,282 @@ @@ -7127,10 +7127,282 @@
7127 </div> 7127 </div>
7128 </div><!-- #sandbox --> 7128 </div><!-- #sandbox -->
7129 7129
7130 - <div class="tab-pane" id="sample46"> 7130 + <div class="tab-pane" id="sample46">
  7131 + <div class="row">
  7132 + <div class="col-md-12">
  7133 + <pre id="sample_response46">{
  7134 + "code": 1,
  7135 + "msg": "查询数据成功",
  7136 + "time": "1609651935",
  7137 + "data": {
  7138 + "treasured_num": "墨宝档案数量",
  7139 + "number": "墨宝档案浏览数量"
  7140 + }
  7141 + }</pre>
  7142 + </div>
  7143 + </div>
  7144 + </div><!-- #sample -->
  7145 +
  7146 + </div><!-- .tab-content -->
  7147 + </div>
  7148 + </div>
  7149 + </div>
  7150 + <div class="panel panel-default">
  7151 + <div class="panel-heading" id="heading-47">
  7152 + <h4 class="panel-title">
  7153 + <span class="label label-primary">POST</span>
  7154 + <a data-toggle="collapse" data-parent="#accordion47" href="#collapseOne47"> 墨宝档案列表 <span class="text-muted">/api/treasured/addListTreasured</span></a>
  7155 + </h4>
  7156 + </div>
  7157 + <div id="collapseOne47" class="panel-collapse collapse">
  7158 + <div class="panel-body">
  7159 +
  7160 + <!-- Nav tabs -->
  7161 + <ul class="nav nav-tabs" id="doctab47">
  7162 + <li class="active"><a href="#info47" data-toggle="tab">基础信息</a></li>
  7163 + <li><a href="#sandbox47" data-toggle="tab">在线测试</a></li>
  7164 + <li><a href="#sample47" data-toggle="tab">返回示例</a></li>
  7165 + </ul>
  7166 +
  7167 + <!-- Tab panes -->
  7168 + <div class="tab-content">
  7169 +
  7170 + <div class="tab-pane active" id="info47">
  7171 + <div class="well">
  7172 + 墨宝档案列表 </div>
  7173 + <div class="panel panel-default">
  7174 + <div class="panel-heading"><strong>Headers</strong></div>
  7175 + <div class="panel-body">
  7176 +
  7177 + </div>
  7178 + </div>
  7179 + <div class="panel panel-default">
  7180 + <div class="panel-heading"><strong>参数</strong></div>
  7181 + <div class="panel-body">
  7182 + <table class="table table-hover">
  7183 + <thead>
  7184 + <tr>
  7185 + <th>名称</th>
  7186 + <th>类型</th>
  7187 + <th>必选</th>
  7188 + <th>描述</th>
  7189 + </tr>
  7190 + </thead>
  7191 + <tbody>
  7192 + <tr>
  7193 + <td>page</td>
  7194 + <td>integer</td>
  7195 + <td></td>
  7196 + <td>分页次数</td>
  7197 + </tr>
  7198 + <tr>
  7199 + <td>num</td>
  7200 + <td>integer</td>
  7201 + <td></td>
  7202 + <td>分页数量</td>
  7203 + </tr>
  7204 + </tbody>
  7205 + </table>
  7206 + </div>
  7207 + </div>
  7208 + <div class="panel panel-default">
  7209 + <div class="panel-heading"><strong>正文</strong></div>
  7210 + <div class="panel-body">
  7211 +</div>
  7212 + </div>
  7213 + </div><!-- #info -->
  7214 +
  7215 + <div class="tab-pane" id="sandbox47">
  7216 + <div class="row">
  7217 + <div class="col-md-12">
  7218 + <div class="panel panel-default">
  7219 + <div class="panel-heading"><strong>参数</strong></div>
  7220 + <div class="panel-body">
  7221 + <form enctype="application/x-www-form-urlencoded" role="form" action="/api/treasured/addListTreasured" method="POST" name="form47" id="form47">
  7222 + <div class="form-group">
  7223 + <label class="control-label" for="page">page</label>
  7224 + <input type="integer" class="form-control input-sm" id="page" required placeholder="分页次数" name="page">
  7225 + </div>
  7226 + <div class="form-group">
  7227 + <label class="control-label" for="num">num</label>
  7228 + <input type="integer" class="form-control input-sm" id="num" required placeholder="分页数量" name="num">
  7229 + </div>
  7230 + <div class="form-group">
  7231 + <button type="submit" class="btn btn-success send" rel="47">提交</button>
  7232 + <button type="reset" class="btn btn-info" rel="47">重置</button>
  7233 + </div>
  7234 + </form>
  7235 + </div>
  7236 + </div>
  7237 + <div class="panel panel-default">
  7238 + <div class="panel-heading"><strong>响应输出</strong></div>
  7239 + <div class="panel-body">
  7240 + <div class="row">
  7241 + <div class="col-md-12" style="overflow-x:auto">
  7242 + <pre id="response_headers47"></pre>
  7243 + <pre id="response47"></pre>
  7244 + </div>
  7245 + </div>
  7246 + </div>
  7247 + </div>
  7248 + <div class="panel panel-default">
  7249 + <div class="panel-heading"><strong>返回参数</strong></div>
  7250 + <div class="panel-body">
  7251 + <table class="table table-hover">
  7252 + <thead>
  7253 + <tr>
  7254 + <th>名称</th>
  7255 + <th>类型</th>
  7256 + <th>描述</th>
  7257 + </tr>
  7258 + </thead>
  7259 + <tbody>
  7260 + <tr>
  7261 + <td>code</td>
  7262 + <td>integer</td>
  7263 + <td></td>
  7264 + </tr>
  7265 + <tr>
  7266 + <td>msg</td>
  7267 + <td>string</td>
  7268 + <td></td>
  7269 + </tr>
  7270 + <tr>
  7271 + <td>data</td>
  7272 + <td>object</td>
  7273 + <td>扩展数据返回</td>
  7274 + </tr>
  7275 + </tbody>
  7276 + </table>
  7277 + </div>
  7278 + </div>
  7279 + </div>
  7280 + </div>
  7281 + </div><!-- #sandbox -->
  7282 +
  7283 + <div class="tab-pane" id="sample47">
  7284 + <div class="row">
  7285 + <div class="col-md-12">
  7286 + <pre id="sample_response47"></pre>
  7287 + </div>
  7288 + </div>
  7289 + </div><!-- #sample -->
  7290 +
  7291 + </div><!-- .tab-content -->
  7292 + </div>
  7293 + </div>
  7294 + </div>
  7295 + <h2>会员接口</h2>
  7296 + <hr>
  7297 + <div class="panel panel-default">
  7298 + <div class="panel-heading" id="heading-48">
  7299 + <h4 class="panel-title">
  7300 + <span class="label label-primary">POST</span>
  7301 + <a data-toggle="collapse" data-parent="#accordion48" href="#collapseOne48"> 会员中心 <span class="text-muted">/api/user/index</span></a>
  7302 + </h4>
  7303 + </div>
  7304 + <div id="collapseOne48" class="panel-collapse collapse">
  7305 + <div class="panel-body">
  7306 +
  7307 + <!-- Nav tabs -->
  7308 + <ul class="nav nav-tabs" id="doctab48">
  7309 + <li class="active"><a href="#info48" data-toggle="tab">基础信息</a></li>
  7310 + <li><a href="#sandbox48" data-toggle="tab">在线测试</a></li>
  7311 + <li><a href="#sample48" data-toggle="tab">返回示例</a></li>
  7312 + </ul>
  7313 +
  7314 + <!-- Tab panes -->
  7315 + <div class="tab-content">
  7316 +
  7317 + <div class="tab-pane active" id="info48">
  7318 + <div class="well">
  7319 + 会员中心 </div>
  7320 + <div class="panel panel-default">
  7321 + <div class="panel-heading"><strong>Headers</strong></div>
  7322 + <div class="panel-body">
  7323 +
  7324 + </div>
  7325 + </div>
  7326 + <div class="panel panel-default">
  7327 + <div class="panel-heading"><strong>参数</strong></div>
  7328 + <div class="panel-body">
  7329 +
  7330 + </div>
  7331 + </div>
  7332 + <div class="panel panel-default">
  7333 + <div class="panel-heading"><strong>正文</strong></div>
  7334 + <div class="panel-body">
  7335 +</div>
  7336 + </div>
  7337 + </div><!-- #info -->
  7338 +
  7339 + <div class="tab-pane" id="sandbox48">
  7340 + <div class="row">
  7341 + <div class="col-md-12">
  7342 + <div class="panel panel-default">
  7343 + <div class="panel-heading"><strong>参数</strong></div>
  7344 + <div class="panel-body">
  7345 + <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/index" method="POST" name="form48" id="form48">
  7346 + <div class="form-group">
  7347 +
  7348 + </div>
  7349 + <div class="form-group">
  7350 + <button type="submit" class="btn btn-success send" rel="48">提交</button>
  7351 + <button type="reset" class="btn btn-info" rel="48">重置</button>
  7352 + </div>
  7353 + </form>
  7354 + </div>
  7355 + </div>
  7356 + <div class="panel panel-default">
  7357 + <div class="panel-heading"><strong>响应输出</strong></div>
  7358 + <div class="panel-body">
  7359 + <div class="row">
  7360 + <div class="col-md-12" style="overflow-x:auto">
  7361 + <pre id="response_headers48"></pre>
  7362 + <pre id="response48"></pre>
  7363 + </div>
  7364 + </div>
  7365 + </div>
  7366 + </div>
  7367 + <div class="panel panel-default">
  7368 + <div class="panel-heading"><strong>返回参数</strong></div>
  7369 + <div class="panel-body">
  7370 + <table class="table table-hover">
  7371 + <thead>
  7372 + <tr>
  7373 + <th>名称</th>
  7374 + <th>类型</th>
  7375 + <th>描述</th>
  7376 + </tr>
  7377 + </thead>
  7378 + <tbody>
  7379 + <tr>
  7380 + <td>code</td>
  7381 + <td>integer</td>
  7382 + <td></td>
  7383 + </tr>
  7384 + <tr>
  7385 + <td>msg</td>
  7386 + <td>string</td>
  7387 + <td></td>
  7388 + </tr>
  7389 + <tr>
  7390 + <td>data</td>
  7391 + <td>object</td>
  7392 + <td>扩展数据返回</td>
  7393 + </tr>
  7394 + </tbody>
  7395 + </table>
  7396 + </div>
  7397 + </div>
  7398 + </div>
  7399 + </div>
  7400 + </div><!-- #sandbox -->
  7401 +
  7402 + <div class="tab-pane" id="sample48">
7131 <div class="row"> 7403 <div class="row">
7132 <div class="col-md-12"> 7404 <div class="col-md-12">
7133 - <pre id="sample_response46">{ 7405 + <pre id="sample_response48">{
7134 "code": 1, 7406 "code": 1,
7135 "msg": "查询用户信息成功", 7407 "msg": "查询用户信息成功",
7136 "time": "1608088086", 7408 "time": "1608088086",
@@ -7166,26 +7438,26 @@ @@ -7166,26 +7438,26 @@
7166 </div> 7438 </div>
7167 </div> 7439 </div>
7168 <div class="panel panel-default"> 7440 <div class="panel panel-default">
7169 - <div class="panel-heading" id="heading-47"> 7441 + <div class="panel-heading" id="heading-49">
7170 <h4 class="panel-title"> 7442 <h4 class="panel-title">
7171 <span class="label label-success">GET</span> 7443 <span class="label label-success">GET</span>
7172 - <a data-toggle="collapse" data-parent="#accordion47" href="#collapseOne47"> 会员登录 <span class="text-muted">/api/user/login</span></a> 7444 + <a data-toggle="collapse" data-parent="#accordion49" href="#collapseOne49"> 会员登录 <span class="text-muted">/api/user/login</span></a>
7173 </h4> 7445 </h4>
7174 </div> 7446 </div>
7175 - <div id="collapseOne47" class="panel-collapse collapse"> 7447 + <div id="collapseOne49" class="panel-collapse collapse">
7176 <div class="panel-body"> 7448 <div class="panel-body">
7177 7449
7178 <!-- Nav tabs --> 7450 <!-- Nav tabs -->
7179 - <ul class="nav nav-tabs" id="doctab47">  
7180 - <li class="active"><a href="#info47" data-toggle="tab">基础信息</a></li>  
7181 - <li><a href="#sandbox47" data-toggle="tab">在线测试</a></li>  
7182 - <li><a href="#sample47" data-toggle="tab">返回示例</a></li> 7451 + <ul class="nav nav-tabs" id="doctab49">
  7452 + <li class="active"><a href="#info49" data-toggle="tab">基础信息</a></li>
  7453 + <li><a href="#sandbox49" data-toggle="tab">在线测试</a></li>
  7454 + <li><a href="#sample49" data-toggle="tab">返回示例</a></li>
7183 </ul> 7455 </ul>
7184 7456
7185 <!-- Tab panes --> 7457 <!-- Tab panes -->
7186 <div class="tab-content"> 7458 <div class="tab-content">
7187 7459
7188 - <div class="tab-pane active" id="info47"> 7460 + <div class="tab-pane active" id="info49">
7189 <div class="well"> 7461 <div class="well">
7190 会员登录 </div> 7462 会员登录 </div>
7191 <div class="panel panel-default"> 7463 <div class="panel panel-default">
@@ -7230,13 +7502,13 @@ @@ -7230,13 +7502,13 @@
7230 </div> 7502 </div>
7231 </div><!-- #info --> 7503 </div><!-- #info -->
7232 7504
7233 - <div class="tab-pane" id="sandbox47"> 7505 + <div class="tab-pane" id="sandbox49">
7234 <div class="row"> 7506 <div class="row">
7235 <div class="col-md-12"> 7507 <div class="col-md-12">
7236 <div class="panel panel-default"> 7508 <div class="panel panel-default">
7237 <div class="panel-heading"><strong>参数</strong></div> 7509 <div class="panel-heading"><strong>参数</strong></div>
7238 <div class="panel-body"> 7510 <div class="panel-body">
7239 - <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/login" method="get" name="form47" id="form47"> 7511 + <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/login" method="get" name="form49" id="form49">
7240 <div class="form-group"> 7512 <div class="form-group">
7241 <label class="control-label" for="account">account</label> 7513 <label class="control-label" for="account">account</label>
7242 <input type="string" class="form-control input-sm" id="account" required placeholder="账号" name="account"> 7514 <input type="string" class="form-control input-sm" id="account" required placeholder="账号" name="account">
@@ -7246,8 +7518,8 @@ @@ -7246,8 +7518,8 @@
7246 <input type="string" class="form-control input-sm" id="password" required placeholder="密码" name="password"> 7518 <input type="string" class="form-control input-sm" id="password" required placeholder="密码" name="password">
7247 </div> 7519 </div>
7248 <div class="form-group"> 7520 <div class="form-group">
7249 - <button type="submit" class="btn btn-success send" rel="47">提交</button>  
7250 - <button type="reset" class="btn btn-info" rel="47">重置</button> 7521 + <button type="submit" class="btn btn-success send" rel="49">提交</button>
  7522 + <button type="reset" class="btn btn-info" rel="49">重置</button>
7251 </div> 7523 </div>
7252 </form> 7524 </form>
7253 </div> 7525 </div>
@@ -7257,8 +7529,8 @@ @@ -7257,8 +7529,8 @@
7257 <div class="panel-body"> 7529 <div class="panel-body">
7258 <div class="row"> 7530 <div class="row">
7259 <div class="col-md-12" style="overflow-x:auto"> 7531 <div class="col-md-12" style="overflow-x:auto">
7260 - <pre id="response_headers47"></pre>  
7261 - <pre id="response47"></pre> 7532 + <pre id="response_headers49"></pre>
  7533 + <pre id="response49"></pre>
7262 </div> 7534 </div>
7263 </div> 7535 </div>
7264 </div> 7536 </div>
@@ -7273,10 +7545,10 @@ @@ -7273,10 +7545,10 @@
7273 </div> 7545 </div>
7274 </div><!-- #sandbox --> 7546 </div><!-- #sandbox -->
7275 7547
7276 - <div class="tab-pane" id="sample47"> 7548 + <div class="tab-pane" id="sample49">
7277 <div class="row"> 7549 <div class="row">
7278 <div class="col-md-12"> 7550 <div class="col-md-12">
7279 - <pre id="sample_response47"></pre> 7551 + <pre id="sample_response49"></pre>
7280 </div> 7552 </div>
7281 </div> 7553 </div>
7282 </div><!-- #sample --> 7554 </div><!-- #sample -->
@@ -7286,26 +7558,26 @@ @@ -7286,26 +7558,26 @@
7286 </div> 7558 </div>
7287 </div> 7559 </div>
7288 <div class="panel panel-default"> 7560 <div class="panel panel-default">
7289 - <div class="panel-heading" id="heading-48"> 7561 + <div class="panel-heading" id="heading-50">
7290 <h4 class="panel-title"> 7562 <h4 class="panel-title">
7291 <span class="label label-primary">POST</span> 7563 <span class="label label-primary">POST</span>
7292 - <a data-toggle="collapse" data-parent="#accordion48" href="#collapseOne48"> 判断是不是已经关注 <span class="text-muted">/api/user/is_attention</span></a> 7564 + <a data-toggle="collapse" data-parent="#accordion50" href="#collapseOne50"> 判断是不是已经关注 <span class="text-muted">/api/user/is_attention</span></a>
7293 </h4> 7565 </h4>
7294 </div> 7566 </div>
7295 - <div id="collapseOne48" class="panel-collapse collapse"> 7567 + <div id="collapseOne50" class="panel-collapse collapse">
7296 <div class="panel-body"> 7568 <div class="panel-body">
7297 7569
7298 <!-- Nav tabs --> 7570 <!-- Nav tabs -->
7299 - <ul class="nav nav-tabs" id="doctab48">  
7300 - <li class="active"><a href="#info48" data-toggle="tab">基础信息</a></li>  
7301 - <li><a href="#sandbox48" data-toggle="tab">在线测试</a></li>  
7302 - <li><a href="#sample48" data-toggle="tab">返回示例</a></li> 7571 + <ul class="nav nav-tabs" id="doctab50">
  7572 + <li class="active"><a href="#info50" data-toggle="tab">基础信息</a></li>
  7573 + <li><a href="#sandbox50" data-toggle="tab">在线测试</a></li>
  7574 + <li><a href="#sample50" data-toggle="tab">返回示例</a></li>
7303 </ul> 7575 </ul>
7304 7576
7305 <!-- Tab panes --> 7577 <!-- Tab panes -->
7306 <div class="tab-content"> 7578 <div class="tab-content">
7307 7579
7308 - <div class="tab-pane active" id="info48"> 7580 + <div class="tab-pane active" id="info50">
7309 <div class="well"> 7581 <div class="well">
7310 判断是不是已经关注 </div> 7582 判断是不是已经关注 </div>
7311 <div class="panel panel-default"> 7583 <div class="panel panel-default">
@@ -7344,20 +7616,20 @@ @@ -7344,20 +7616,20 @@
7344 </div> 7616 </div>
7345 </div><!-- #info --> 7617 </div><!-- #info -->
7346 7618
7347 - <div class="tab-pane" id="sandbox48"> 7619 + <div class="tab-pane" id="sandbox50">
7348 <div class="row"> 7620 <div class="row">
7349 <div class="col-md-12"> 7621 <div class="col-md-12">
7350 <div class="panel panel-default"> 7622 <div class="panel panel-default">
7351 <div class="panel-heading"><strong>参数</strong></div> 7623 <div class="panel-heading"><strong>参数</strong></div>
7352 <div class="panel-body"> 7624 <div class="panel-body">
7353 - <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/is_attention" method="POST" name="form48" id="form48"> 7625 + <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/is_attention" method="POST" name="form50" id="form50">
7354 <div class="form-group"> 7626 <div class="form-group">
7355 <label class="control-label" for="user_id">user_id</label> 7627 <label class="control-label" for="user_id">user_id</label>
7356 <input type="integer" class="form-control input-sm" id="user_id" required placeholder="墨宝作者" name="user_id"> 7628 <input type="integer" class="form-control input-sm" id="user_id" required placeholder="墨宝作者" name="user_id">
7357 </div> 7629 </div>
7358 <div class="form-group"> 7630 <div class="form-group">
7359 - <button type="submit" class="btn btn-success send" rel="48">提交</button>  
7360 - <button type="reset" class="btn btn-info" rel="48">重置</button> 7631 + <button type="submit" class="btn btn-success send" rel="50">提交</button>
  7632 + <button type="reset" class="btn btn-info" rel="50">重置</button>
7361 </div> 7633 </div>
7362 </form> 7634 </form>
7363 </div> 7635 </div>
@@ -7367,8 +7639,8 @@ @@ -7367,8 +7639,8 @@
7367 <div class="panel-body"> 7639 <div class="panel-body">
7368 <div class="row"> 7640 <div class="row">
7369 <div class="col-md-12" style="overflow-x:auto"> 7641 <div class="col-md-12" style="overflow-x:auto">
7370 - <pre id="response_headers48"></pre>  
7371 - <pre id="response48"></pre> 7642 + <pre id="response_headers50"></pre>
  7643 + <pre id="response50"></pre>
7372 </div> 7644 </div>
7373 </div> 7645 </div>
7374 </div> 7646 </div>
@@ -7408,10 +7680,10 @@ @@ -7408,10 +7680,10 @@
7408 </div> 7680 </div>
7409 </div><!-- #sandbox --> 7681 </div><!-- #sandbox -->
7410 7682
7411 - <div class="tab-pane" id="sample48"> 7683 + <div class="tab-pane" id="sample50">
7412 <div class="row"> 7684 <div class="row">
7413 <div class="col-md-12"> 7685 <div class="col-md-12">
7414 - <pre id="sample_response48">{ 7686 + <pre id="sample_response50">{
7415 "code": 1, 7687 "code": 1,
7416 "msg": "查询成功", 7688 "msg": "查询成功",
7417 "time": "1609308298", 7689 "time": "1609308298",
@@ -7429,26 +7701,26 @@ @@ -7429,26 +7701,26 @@
7429 </div> 7701 </div>
7430 </div> 7702 </div>
7431 <div class="panel panel-default"> 7703 <div class="panel panel-default">
7432 - <div class="panel-heading" id="heading-49"> 7704 + <div class="panel-heading" id="heading-51">
7433 <h4 class="panel-title"> 7705 <h4 class="panel-title">
7434 <span class="label label-primary">POST</span> 7706 <span class="label label-primary">POST</span>
7435 - <a data-toggle="collapse" data-parent="#accordion49" href="#collapseOne49"> 关注和取消关注 <span class="text-muted">/api/user/in_attention</span></a> 7707 + <a data-toggle="collapse" data-parent="#accordion51" href="#collapseOne51"> 关注和取消关注 <span class="text-muted">/api/user/in_attention</span></a>
7436 </h4> 7708 </h4>
7437 </div> 7709 </div>
7438 - <div id="collapseOne49" class="panel-collapse collapse"> 7710 + <div id="collapseOne51" class="panel-collapse collapse">
7439 <div class="panel-body"> 7711 <div class="panel-body">
7440 7712
7441 <!-- Nav tabs --> 7713 <!-- Nav tabs -->
7442 - <ul class="nav nav-tabs" id="doctab49">  
7443 - <li class="active"><a href="#info49" data-toggle="tab">基础信息</a></li>  
7444 - <li><a href="#sandbox49" data-toggle="tab">在线测试</a></li>  
7445 - <li><a href="#sample49" data-toggle="tab">返回示例</a></li> 7714 + <ul class="nav nav-tabs" id="doctab51">
  7715 + <li class="active"><a href="#info51" data-toggle="tab">基础信息</a></li>
  7716 + <li><a href="#sandbox51" data-toggle="tab">在线测试</a></li>
  7717 + <li><a href="#sample51" data-toggle="tab">返回示例</a></li>
7446 </ul> 7718 </ul>
7447 7719
7448 <!-- Tab panes --> 7720 <!-- Tab panes -->
7449 <div class="tab-content"> 7721 <div class="tab-content">
7450 7722
7451 - <div class="tab-pane active" id="info49"> 7723 + <div class="tab-pane active" id="info51">
7452 <div class="well"> 7724 <div class="well">
7453 关注和取消关注 </div> 7725 关注和取消关注 </div>
7454 <div class="panel panel-default"> 7726 <div class="panel panel-default">
@@ -7487,20 +7759,20 @@ @@ -7487,20 +7759,20 @@
7487 </div> 7759 </div>
7488 </div><!-- #info --> 7760 </div><!-- #info -->
7489 7761
7490 - <div class="tab-pane" id="sandbox49"> 7762 + <div class="tab-pane" id="sandbox51">
7491 <div class="row"> 7763 <div class="row">
7492 <div class="col-md-12"> 7764 <div class="col-md-12">
7493 <div class="panel panel-default"> 7765 <div class="panel panel-default">
7494 <div class="panel-heading"><strong>参数</strong></div> 7766 <div class="panel-heading"><strong>参数</strong></div>
7495 <div class="panel-body"> 7767 <div class="panel-body">
7496 - <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/in_attention" method="POST" name="form49" id="form49"> 7768 + <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/in_attention" method="POST" name="form51" id="form51">
7497 <div class="form-group"> 7769 <div class="form-group">
7498 <label class="control-label" for="user_id">user_id</label> 7770 <label class="control-label" for="user_id">user_id</label>
7499 <input type="integer" class="form-control input-sm" id="user_id" required placeholder="墨宝作者" name="user_id"> 7771 <input type="integer" class="form-control input-sm" id="user_id" required placeholder="墨宝作者" name="user_id">
7500 </div> 7772 </div>
7501 <div class="form-group"> 7773 <div class="form-group">
7502 - <button type="submit" class="btn btn-success send" rel="49">提交</button>  
7503 - <button type="reset" class="btn btn-info" rel="49">重置</button> 7774 + <button type="submit" class="btn btn-success send" rel="51">提交</button>
  7775 + <button type="reset" class="btn btn-info" rel="51">重置</button>
7504 </div> 7776 </div>
7505 </form> 7777 </form>
7506 </div> 7778 </div>
@@ -7510,8 +7782,8 @@ @@ -7510,8 +7782,8 @@
7510 <div class="panel-body"> 7782 <div class="panel-body">
7511 <div class="row"> 7783 <div class="row">
7512 <div class="col-md-12" style="overflow-x:auto"> 7784 <div class="col-md-12" style="overflow-x:auto">
7513 - <pre id="response_headers49"></pre>  
7514 - <pre id="response49"></pre> 7785 + <pre id="response_headers51"></pre>
  7786 + <pre id="response51"></pre>
7515 </div> 7787 </div>
7516 </div> 7788 </div>
7517 </div> 7789 </div>
@@ -7551,10 +7823,10 @@ @@ -7551,10 +7823,10 @@
7551 </div> 7823 </div>
7552 </div><!-- #sandbox --> 7824 </div><!-- #sandbox -->
7553 7825
7554 - <div class="tab-pane" id="sample49"> 7826 + <div class="tab-pane" id="sample51">
7555 <div class="row"> 7827 <div class="row">
7556 <div class="col-md-12"> 7828 <div class="col-md-12">
7557 - <pre id="sample_response49">{ 7829 + <pre id="sample_response51">{
7558 "code": 1, 7830 "code": 1,
7559 "msg": "查询成功", 7831 "msg": "查询成功",
7560 "time": "1609308298", 7832 "time": "1609308298",
@@ -7574,26 +7846,26 @@ @@ -7574,26 +7846,26 @@
7574 <h2>微信审核</h2> 7846 <h2>微信审核</h2>
7575 <hr> 7847 <hr>
7576 <div class="panel panel-default"> 7848 <div class="panel panel-default">
7577 - <div class="panel-heading" id="heading-50"> 7849 + <div class="panel-heading" id="heading-52">
7578 <h4 class="panel-title"> 7850 <h4 class="panel-title">
7579 <span class="label label-primary">POST</span> 7851 <span class="label label-primary">POST</span>
7580 - <a data-toggle="collapse" data-parent="#accordion50" href="#collapseOne50"> 判断用户是否什么身份都没有 <span class="text-muted">/api/user_audit/is_auth_all</span></a> 7852 + <a data-toggle="collapse" data-parent="#accordion52" href="#collapseOne52"> 判断用户是否什么身份都没有 <span class="text-muted">/api/user_audit/is_auth_all</span></a>
7581 </h4> 7853 </h4>
7582 </div> 7854 </div>
7583 - <div id="collapseOne50" class="panel-collapse collapse"> 7855 + <div id="collapseOne52" class="panel-collapse collapse">
7584 <div class="panel-body"> 7856 <div class="panel-body">
7585 7857
7586 <!-- Nav tabs --> 7858 <!-- Nav tabs -->
7587 - <ul class="nav nav-tabs" id="doctab50">  
7588 - <li class="active"><a href="#info50" data-toggle="tab">基础信息</a></li>  
7589 - <li><a href="#sandbox50" data-toggle="tab">在线测试</a></li>  
7590 - <li><a href="#sample50" data-toggle="tab">返回示例</a></li> 7859 + <ul class="nav nav-tabs" id="doctab52">
  7860 + <li class="active"><a href="#info52" data-toggle="tab">基础信息</a></li>
  7861 + <li><a href="#sandbox52" data-toggle="tab">在线测试</a></li>
  7862 + <li><a href="#sample52" data-toggle="tab">返回示例</a></li>
7591 </ul> 7863 </ul>
7592 7864
7593 <!-- Tab panes --> 7865 <!-- Tab panes -->
7594 <div class="tab-content"> 7866 <div class="tab-content">
7595 7867
7596 - <div class="tab-pane active" id="info50"> 7868 + <div class="tab-pane active" id="info52">
7597 <div class="well"> 7869 <div class="well">
7598 判断用户是否什么身份都没有:{用于增加文章部分} </div> 7870 判断用户是否什么身份都没有:{用于增加文章部分} </div>
7599 <div class="panel panel-default"> 7871 <div class="panel panel-default">
@@ -7615,19 +7887,19 @@ @@ -7615,19 +7887,19 @@
7615 </div> 7887 </div>
7616 </div><!-- #info --> 7888 </div><!-- #info -->
7617 7889
7618 - <div class="tab-pane" id="sandbox50"> 7890 + <div class="tab-pane" id="sandbox52">
7619 <div class="row"> 7891 <div class="row">
7620 <div class="col-md-12"> 7892 <div class="col-md-12">
7621 <div class="panel panel-default"> 7893 <div class="panel panel-default">
7622 <div class="panel-heading"><strong>参数</strong></div> 7894 <div class="panel-heading"><strong>参数</strong></div>
7623 <div class="panel-body"> 7895 <div class="panel-body">
7624 - <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user_audit/is_auth_all" method="POST" name="form50" id="form50"> 7896 + <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user_audit/is_auth_all" method="POST" name="form52" id="form52">
7625 <div class="form-group"> 7897 <div class="form-group">
7626 7898
7627 </div> 7899 </div>
7628 <div class="form-group"> 7900 <div class="form-group">
7629 - <button type="submit" class="btn btn-success send" rel="50">提交</button>  
7630 - <button type="reset" class="btn btn-info" rel="50">重置</button> 7901 + <button type="submit" class="btn btn-success send" rel="52">提交</button>
  7902 + <button type="reset" class="btn btn-info" rel="52">重置</button>
7631 </div> 7903 </div>
7632 </form> 7904 </form>
7633 </div> 7905 </div>
@@ -7637,8 +7909,8 @@ @@ -7637,8 +7909,8 @@
7637 <div class="panel-body"> 7909 <div class="panel-body">
7638 <div class="row"> 7910 <div class="row">
7639 <div class="col-md-12" style="overflow-x:auto"> 7911 <div class="col-md-12" style="overflow-x:auto">
7640 - <pre id="response_headers50"></pre>  
7641 - <pre id="response50"></pre> 7912 + <pre id="response_headers52"></pre>
  7913 + <pre id="response52"></pre>
7642 </div> 7914 </div>
7643 </div> 7915 </div>
7644 </div> 7916 </div>
@@ -7678,10 +7950,10 @@ @@ -7678,10 +7950,10 @@
7678 </div> 7950 </div>
7679 </div><!-- #sandbox --> 7951 </div><!-- #sandbox -->
7680 7952
7681 - <div class="tab-pane" id="sample50"> 7953 + <div class="tab-pane" id="sample52">
7682 <div class="row"> 7954 <div class="row">
7683 <div class="col-md-12"> 7955 <div class="col-md-12">
7684 - <pre id="sample_response50">{ 7956 + <pre id="sample_response52">{
7685 "code": 1, 7957 "code": 1,
7686 "msg": "有权限", 7958 "msg": "有权限",
7687 "time": "1608605278", 7959 "time": "1608605278",
@@ -7696,26 +7968,26 @@ @@ -7696,26 +7968,26 @@
7696 </div> 7968 </div>
7697 </div> 7969 </div>
7698 <div class="panel panel-default"> 7970 <div class="panel panel-default">
7699 - <div class="panel-heading" id="heading-51"> 7971 + <div class="panel-heading" id="heading-53">
7700 <h4 class="panel-title"> 7972 <h4 class="panel-title">
7701 <span class="label label-primary">POST</span> 7973 <span class="label label-primary">POST</span>
7702 - <a data-toggle="collapse" data-parent="#accordion51" href="#collapseOne51"> 判断用户权限 <span class="text-muted">/api/user_audit/is_auth</span></a> 7974 + <a data-toggle="collapse" data-parent="#accordion53" href="#collapseOne53"> 判断用户权限 <span class="text-muted">/api/user_audit/is_auth</span></a>
7703 </h4> 7975 </h4>
7704 </div> 7976 </div>
7705 - <div id="collapseOne51" class="panel-collapse collapse"> 7977 + <div id="collapseOne53" class="panel-collapse collapse">
7706 <div class="panel-body"> 7978 <div class="panel-body">
7707 7979
7708 <!-- Nav tabs --> 7980 <!-- Nav tabs -->
7709 - <ul class="nav nav-tabs" id="doctab51">  
7710 - <li class="active"><a href="#info51" data-toggle="tab">基础信息</a></li>  
7711 - <li><a href="#sandbox51" data-toggle="tab">在线测试</a></li>  
7712 - <li><a href="#sample51" data-toggle="tab">返回示例</a></li> 7981 + <ul class="nav nav-tabs" id="doctab53">
  7982 + <li class="active"><a href="#info53" data-toggle="tab">基础信息</a></li>
  7983 + <li><a href="#sandbox53" data-toggle="tab">在线测试</a></li>
  7984 + <li><a href="#sample53" data-toggle="tab">返回示例</a></li>
7713 </ul> 7985 </ul>
7714 7986
7715 <!-- Tab panes --> 7987 <!-- Tab panes -->
7716 <div class="tab-content"> 7988 <div class="tab-content">
7717 7989
7718 - <div class="tab-pane active" id="info51"> 7990 + <div class="tab-pane active" id="info53">
7719 <div class="well"> 7991 <div class="well">
7720 判断用户是不是有已经有此种身份 </div> 7992 判断用户是不是有已经有此种身份 </div>
7721 <div class="panel panel-default"> 7993 <div class="panel panel-default">
@@ -7754,20 +8026,20 @@ @@ -7754,20 +8026,20 @@
7754 </div> 8026 </div>
7755 </div><!-- #info --> 8027 </div><!-- #info -->
7756 8028
7757 - <div class="tab-pane" id="sandbox51"> 8029 + <div class="tab-pane" id="sandbox53">
7758 <div class="row"> 8030 <div class="row">
7759 <div class="col-md-12"> 8031 <div class="col-md-12">
7760 <div class="panel panel-default"> 8032 <div class="panel panel-default">
7761 <div class="panel-heading"><strong>参数</strong></div> 8033 <div class="panel-heading"><strong>参数</strong></div>
7762 <div class="panel-body"> 8034 <div class="panel-body">
7763 - <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user_audit/is_auth" method="POST" name="form51" id="form51"> 8035 + <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user_audit/is_auth" method="POST" name="form53" id="form53">
7764 <div class="form-group"> 8036 <div class="form-group">
7765 <label class="control-label" for="status">status</label> 8037 <label class="control-label" for="status">status</label>
7766 <input type="integer" class="form-control input-sm" id="status" required placeholder="身份:1=实名认证,2=书家,3=书协,4=企业" name="status"> 8038 <input type="integer" class="form-control input-sm" id="status" required placeholder="身份:1=实名认证,2=书家,3=书协,4=企业" name="status">
7767 </div> 8039 </div>
7768 <div class="form-group"> 8040 <div class="form-group">
7769 - <button type="submit" class="btn btn-success send" rel="51">提交</button>  
7770 - <button type="reset" class="btn btn-info" rel="51">重置</button> 8041 + <button type="submit" class="btn btn-success send" rel="53">提交</button>
  8042 + <button type="reset" class="btn btn-info" rel="53">重置</button>
7771 </div> 8043 </div>
7772 </form> 8044 </form>
7773 </div> 8045 </div>
@@ -7777,8 +8049,8 @@ @@ -7777,8 +8049,8 @@
7777 <div class="panel-body"> 8049 <div class="panel-body">
7778 <div class="row"> 8050 <div class="row">
7779 <div class="col-md-12" style="overflow-x:auto"> 8051 <div class="col-md-12" style="overflow-x:auto">
7780 - <pre id="response_headers51"></pre>  
7781 - <pre id="response51"></pre> 8052 + <pre id="response_headers53"></pre>
  8053 + <pre id="response53"></pre>
7782 </div> 8054 </div>
7783 </div> 8055 </div>
7784 </div> 8056 </div>
@@ -7818,10 +8090,10 @@ @@ -7818,10 +8090,10 @@
7818 </div> 8090 </div>
7819 </div><!-- #sandbox --> 8091 </div><!-- #sandbox -->
7820 8092
7821 - <div class="tab-pane" id="sample51"> 8093 + <div class="tab-pane" id="sample53">
7822 <div class="row"> 8094 <div class="row">
7823 <div class="col-md-12"> 8095 <div class="col-md-12">
7824 - <pre id="sample_response51">{ 8096 + <pre id="sample_response53">{
7825 "code": 0, 8097 "code": 0,
7826 "msg": "身份必须必填", 8098 "msg": "身份必须必填",
7827 "time": "1608280579", 8099 "time": "1608280579",
@@ -7836,26 +8108,26 @@ @@ -7836,26 +8108,26 @@
7836 </div> 8108 </div>
7837 </div> 8109 </div>
7838 <div class="panel panel-default"> 8110 <div class="panel panel-default">
7839 - <div class="panel-heading" id="heading-52"> 8111 + <div class="panel-heading" id="heading-54">
7840 <h4 class="panel-title"> 8112 <h4 class="panel-title">
7841 <span class="label label-primary">POST</span> 8113 <span class="label label-primary">POST</span>
7842 - <a data-toggle="collapse" data-parent="#accordion52" href="#collapseOne52"> 用户实名认证/书家申请 <span class="text-muted">/api/user_audit/user_audit_a</span></a> 8114 + <a data-toggle="collapse" data-parent="#accordion54" href="#collapseOne54"> 用户实名认证/书家申请 <span class="text-muted">/api/user_audit/user_audit_a</span></a>
7843 </h4> 8115 </h4>
7844 </div> 8116 </div>
7845 - <div id="collapseOne52" class="panel-collapse collapse"> 8117 + <div id="collapseOne54" class="panel-collapse collapse">
7846 <div class="panel-body"> 8118 <div class="panel-body">
7847 8119
7848 <!-- Nav tabs --> 8120 <!-- Nav tabs -->
7849 - <ul class="nav nav-tabs" id="doctab52">  
7850 - <li class="active"><a href="#info52" data-toggle="tab">基础信息</a></li>  
7851 - <li><a href="#sandbox52" data-toggle="tab">在线测试</a></li>  
7852 - <li><a href="#sample52" data-toggle="tab">返回示例</a></li> 8121 + <ul class="nav nav-tabs" id="doctab54">
  8122 + <li class="active"><a href="#info54" data-toggle="tab">基础信息</a></li>
  8123 + <li><a href="#sandbox54" data-toggle="tab">在线测试</a></li>
  8124 + <li><a href="#sample54" data-toggle="tab">返回示例</a></li>
7853 </ul> 8125 </ul>
7854 8126
7855 <!-- Tab panes --> 8127 <!-- Tab panes -->
7856 <div class="tab-content"> 8128 <div class="tab-content">
7857 8129
7858 - <div class="tab-pane active" id="info52"> 8130 + <div class="tab-pane active" id="info54">
7859 <div class="well"> 8131 <div class="well">
7860 用户实名认证/书家申请 调用前请先调用{判断用户权限}接口 </div> 8132 用户实名认证/书家申请 调用前请先调用{判断用户权限}接口 </div>
7861 <div class="panel panel-default"> 8133 <div class="panel panel-default">
@@ -7936,13 +8208,13 @@ @@ -7936,13 +8208,13 @@
7936 </div> 8208 </div>
7937 </div><!-- #info --> 8209 </div><!-- #info -->
7938 8210
7939 - <div class="tab-pane" id="sandbox52"> 8211 + <div class="tab-pane" id="sandbox54">
7940 <div class="row"> 8212 <div class="row">
7941 <div class="col-md-12"> 8213 <div class="col-md-12">
7942 <div class="panel panel-default"> 8214 <div class="panel panel-default">
7943 <div class="panel-heading"><strong>参数</strong></div> 8215 <div class="panel-heading"><strong>参数</strong></div>
7944 <div class="panel-body"> 8216 <div class="panel-body">
7945 - <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user_audit/user_audit_a" method="POST" name="form52" id="form52"> 8217 + <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user_audit/user_audit_a" method="POST" name="form54" id="form54">
7946 <div class="form-group"> 8218 <div class="form-group">
7947 <label class="control-label" for="name">name</label> 8219 <label class="control-label" for="name">name</label>
7948 <input type="string" class="form-control input-sm" id="name" required placeholder="用户姓名" name="name"> 8220 <input type="string" class="form-control input-sm" id="name" required placeholder="用户姓名" name="name">
@@ -7976,8 +8248,8 @@ @@ -7976,8 +8248,8 @@
7976 <input type="integer" class="form-control input-sm" id="user_audit_a_id" placeholder="审核id:如果存在,则代表更新,用于用户审核失败时候重新审核" name="user_audit_a_id"> 8248 <input type="integer" class="form-control input-sm" id="user_audit_a_id" placeholder="审核id:如果存在,则代表更新,用于用户审核失败时候重新审核" name="user_audit_a_id">
7977 </div> 8249 </div>
7978 <div class="form-group"> 8250 <div class="form-group">
7979 - <button type="submit" class="btn btn-success send" rel="52">提交</button>  
7980 - <button type="reset" class="btn btn-info" rel="52">重置</button> 8251 + <button type="submit" class="btn btn-success send" rel="54">提交</button>
  8252 + <button type="reset" class="btn btn-info" rel="54">重置</button>
7981 </div> 8253 </div>
7982 </form> 8254 </form>
7983 </div> 8255 </div>
@@ -7987,8 +8259,8 @@ @@ -7987,8 +8259,8 @@
7987 <div class="panel-body"> 8259 <div class="panel-body">
7988 <div class="row"> 8260 <div class="row">
7989 <div class="col-md-12" style="overflow-x:auto"> 8261 <div class="col-md-12" style="overflow-x:auto">
7990 - <pre id="response_headers52"></pre>  
7991 - <pre id="response52"></pre> 8262 + <pre id="response_headers54"></pre>
  8263 + <pre id="response54"></pre>
7992 </div> 8264 </div>
7993 </div> 8265 </div>
7994 </div> 8266 </div>
@@ -8028,10 +8300,10 @@ @@ -8028,10 +8300,10 @@
8028 </div> 8300 </div>
8029 </div><!-- #sandbox --> 8301 </div><!-- #sandbox -->
8030 8302
8031 - <div class="tab-pane" id="sample52"> 8303 + <div class="tab-pane" id="sample54">
8032 <div class="row"> 8304 <div class="row">
8033 <div class="col-md-12"> 8305 <div class="col-md-12">
8034 - <pre id="sample_response52">{ 8306 + <pre id="sample_response54">{
8035 "code": 1, 8307 "code": 1,
8036 "msg": "提交成功", 8308 "msg": "提交成功",
8037 "time": "1608284784", 8309 "time": "1608284784",
@@ -8058,26 +8330,26 @@ @@ -8058,26 +8330,26 @@
8058 </div> 8330 </div>
8059 </div> 8331 </div>
8060 <div class="panel panel-default"> 8332 <div class="panel panel-default">
8061 - <div class="panel-heading" id="heading-53"> 8333 + <div class="panel-heading" id="heading-55">
8062 <h4 class="panel-title"> 8334 <h4 class="panel-title">
8063 <span class="label label-primary">POST</span> 8335 <span class="label label-primary">POST</span>
8064 - <a data-toggle="collapse" data-parent="#accordion53" href="#collapseOne53"> 获取 用户实名认证/书家申请 <span class="text-muted">/api/user_audit/get_user_audit_a</span></a> 8336 + <a data-toggle="collapse" data-parent="#accordion55" href="#collapseOne55"> 获取 用户实名认证/书家申请 <span class="text-muted">/api/user_audit/get_user_audit_a</span></a>
8065 </h4> 8337 </h4>
8066 </div> 8338 </div>
8067 - <div id="collapseOne53" class="panel-collapse collapse"> 8339 + <div id="collapseOne55" class="panel-collapse collapse">
8068 <div class="panel-body"> 8340 <div class="panel-body">
8069 8341
8070 <!-- Nav tabs --> 8342 <!-- Nav tabs -->
8071 - <ul class="nav nav-tabs" id="doctab53">  
8072 - <li class="active"><a href="#info53" data-toggle="tab">基础信息</a></li>  
8073 - <li><a href="#sandbox53" data-toggle="tab">在线测试</a></li>  
8074 - <li><a href="#sample53" data-toggle="tab">返回示例</a></li> 8343 + <ul class="nav nav-tabs" id="doctab55">
  8344 + <li class="active"><a href="#info55" data-toggle="tab">基础信息</a></li>
  8345 + <li><a href="#sandbox55" data-toggle="tab">在线测试</a></li>
  8346 + <li><a href="#sample55" data-toggle="tab">返回示例</a></li>
8075 </ul> 8347 </ul>
8076 8348
8077 <!-- Tab panes --> 8349 <!-- Tab panes -->
8078 <div class="tab-content"> 8350 <div class="tab-content">
8079 8351
8080 - <div class="tab-pane active" id="info53"> 8352 + <div class="tab-pane active" id="info55">
8081 <div class="well"> 8353 <div class="well">
8082 用户实名认证/书家申请 如果有code返回1 没有返回0 </div> 8354 用户实名认证/书家申请 如果有code返回1 没有返回0 </div>
8083 <div class="panel panel-default"> 8355 <div class="panel panel-default">
@@ -8116,20 +8388,20 @@ @@ -8116,20 +8388,20 @@
8116 </div> 8388 </div>
8117 </div><!-- #info --> 8389 </div><!-- #info -->
8118 8390
8119 - <div class="tab-pane" id="sandbox53"> 8391 + <div class="tab-pane" id="sandbox55">
8120 <div class="row"> 8392 <div class="row">
8121 <div class="col-md-12"> 8393 <div class="col-md-12">
8122 <div class="panel panel-default"> 8394 <div class="panel panel-default">
8123 <div class="panel-heading"><strong>参数</strong></div> 8395 <div class="panel-heading"><strong>参数</strong></div>
8124 <div class="panel-body"> 8396 <div class="panel-body">
8125 - <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user_audit/get_user_audit_a" method="POST" name="form53" id="form53"> 8397 + <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user_audit/get_user_audit_a" method="POST" name="form55" id="form55">
8126 <div class="form-group"> 8398 <div class="form-group">
8127 <label class="control-label" for="status">status</label> 8399 <label class="control-label" for="status">status</label>
8128 <input type="integer" class="form-control input-sm" id="status" required placeholder="类别:1=实名认证审核,2=书家审核" name="status"> 8400 <input type="integer" class="form-control input-sm" id="status" required placeholder="类别:1=实名认证审核,2=书家审核" name="status">
8129 </div> 8401 </div>
8130 <div class="form-group"> 8402 <div class="form-group">
8131 - <button type="submit" class="btn btn-success send" rel="53">提交</button>  
8132 - <button type="reset" class="btn btn-info" rel="53">重置</button> 8403 + <button type="submit" class="btn btn-success send" rel="55">提交</button>
  8404 + <button type="reset" class="btn btn-info" rel="55">重置</button>
8133 </div> 8405 </div>
8134 </form> 8406 </form>
8135 </div> 8407 </div>
@@ -8139,8 +8411,8 @@ @@ -8139,8 +8411,8 @@
8139 <div class="panel-body"> 8411 <div class="panel-body">
8140 <div class="row"> 8412 <div class="row">
8141 <div class="col-md-12" style="overflow-x:auto"> 8413 <div class="col-md-12" style="overflow-x:auto">
8142 - <pre id="response_headers53"></pre>  
8143 - <pre id="response53"></pre> 8414 + <pre id="response_headers55"></pre>
  8415 + <pre id="response55"></pre>
8144 </div> 8416 </div>
8145 </div> 8417 </div>
8146 </div> 8418 </div>
@@ -8180,10 +8452,10 @@ @@ -8180,10 +8452,10 @@
8180 </div> 8452 </div>
8181 </div><!-- #sandbox --> 8453 </div><!-- #sandbox -->
8182 8454
8183 - <div class="tab-pane" id="sample53"> 8455 + <div class="tab-pane" id="sample55">
8184 <div class="row"> 8456 <div class="row">
8185 <div class="col-md-12"> 8457 <div class="col-md-12">
8186 - <pre id="sample_response53">{ 8458 + <pre id="sample_response55">{
8187 "code": 1, 8459 "code": 1,
8188 "msg": { 8460 "msg": {
8189 "id": 19, 8461 "id": 19,
@@ -8212,26 +8484,26 @@ @@ -8212,26 +8484,26 @@
8212 </div> 8484 </div>
8213 </div> 8485 </div>
8214 <div class="panel panel-default"> 8486 <div class="panel panel-default">
8215 - <div class="panel-heading" id="heading-54"> 8487 + <div class="panel-heading" id="heading-56">
8216 <h4 class="panel-title"> 8488 <h4 class="panel-title">
8217 <span class="label label-primary">POST</span> 8489 <span class="label label-primary">POST</span>
8218 - <a data-toggle="collapse" data-parent="#accordion54" href="#collapseOne54"> 书协认证/企业认证接口 <span class="text-muted">/api/user_audit/user_audit_b</span></a> 8490 + <a data-toggle="collapse" data-parent="#accordion56" href="#collapseOne56"> 书协认证/企业认证接口 <span class="text-muted">/api/user_audit/user_audit_b</span></a>
8219 </h4> 8491 </h4>
8220 </div> 8492 </div>
8221 - <div id="collapseOne54" class="panel-collapse collapse"> 8493 + <div id="collapseOne56" class="panel-collapse collapse">
8222 <div class="panel-body"> 8494 <div class="panel-body">
8223 8495
8224 <!-- Nav tabs --> 8496 <!-- Nav tabs -->
8225 - <ul class="nav nav-tabs" id="doctab54">  
8226 - <li class="active"><a href="#info54" data-toggle="tab">基础信息</a></li>  
8227 - <li><a href="#sandbox54" data-toggle="tab">在线测试</a></li>  
8228 - <li><a href="#sample54" data-toggle="tab">返回示例</a></li> 8497 + <ul class="nav nav-tabs" id="doctab56">
  8498 + <li class="active"><a href="#info56" data-toggle="tab">基础信息</a></li>
  8499 + <li><a href="#sandbox56" data-toggle="tab">在线测试</a></li>
  8500 + <li><a href="#sample56" data-toggle="tab">返回示例</a></li>
8229 </ul> 8501 </ul>
8230 8502
8231 <!-- Tab panes --> 8503 <!-- Tab panes -->
8232 <div class="tab-content"> 8504 <div class="tab-content">
8233 8505
8234 - <div class="tab-pane active" id="info54"> 8506 + <div class="tab-pane active" id="info56">
8235 <div class="well"> 8507 <div class="well">
8236 书协认证/企业认证接口 调用前请先调用{判断用户权限}接口 </div> 8508 书协认证/企业认证接口 调用前请先调用{判断用户权限}接口 </div>
8237 <div class="panel panel-default"> 8509 <div class="panel panel-default">
@@ -8294,13 +8566,13 @@ @@ -8294,13 +8566,13 @@
8294 </div> 8566 </div>
8295 </div><!-- #info --> 8567 </div><!-- #info -->
8296 8568
8297 - <div class="tab-pane" id="sandbox54"> 8569 + <div class="tab-pane" id="sandbox56">
8298 <div class="row"> 8570 <div class="row">
8299 <div class="col-md-12"> 8571 <div class="col-md-12">
8300 <div class="panel panel-default"> 8572 <div class="panel panel-default">
8301 <div class="panel-heading"><strong>参数</strong></div> 8573 <div class="panel-heading"><strong>参数</strong></div>
8302 <div class="panel-body"> 8574 <div class="panel-body">
8303 - <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user_audit/user_audit_b" method="POST" name="form54" id="form54"> 8575 + <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user_audit/user_audit_b" method="POST" name="form56" id="form56">
8304 <div class="form-group"> 8576 <div class="form-group">
8305 <label class="control-label" for="name">name</label> 8577 <label class="control-label" for="name">name</label>
8306 <input type="string" class="form-control input-sm" id="name" required placeholder="用户姓名" name="name"> 8578 <input type="string" class="form-control input-sm" id="name" required placeholder="用户姓名" name="name">
@@ -8322,8 +8594,8 @@ @@ -8322,8 +8594,8 @@
8322 <input type="integer" class="form-control input-sm" id="user_audit_b_id" placeholder="审核id:如果存在,则代表更新,用于用户审核失败时候重新审核" name="user_audit_b_id"> 8594 <input type="integer" class="form-control input-sm" id="user_audit_b_id" placeholder="审核id:如果存在,则代表更新,用于用户审核失败时候重新审核" name="user_audit_b_id">
8323 </div> 8595 </div>
8324 <div class="form-group"> 8596 <div class="form-group">
8325 - <button type="submit" class="btn btn-success send" rel="54">提交</button>  
8326 - <button type="reset" class="btn btn-info" rel="54">重置</button> 8597 + <button type="submit" class="btn btn-success send" rel="56">提交</button>
  8598 + <button type="reset" class="btn btn-info" rel="56">重置</button>
8327 </div> 8599 </div>
8328 </form> 8600 </form>
8329 </div> 8601 </div>
@@ -8333,8 +8605,8 @@ @@ -8333,8 +8605,8 @@
8333 <div class="panel-body"> 8605 <div class="panel-body">
8334 <div class="row"> 8606 <div class="row">
8335 <div class="col-md-12" style="overflow-x:auto"> 8607 <div class="col-md-12" style="overflow-x:auto">
8336 - <pre id="response_headers54"></pre>  
8337 - <pre id="response54"></pre> 8608 + <pre id="response_headers56"></pre>
  8609 + <pre id="response56"></pre>
8338 </div> 8610 </div>
8339 </div> 8611 </div>
8340 </div> 8612 </div>
@@ -8374,10 +8646,10 @@ @@ -8374,10 +8646,10 @@
8374 </div> 8646 </div>
8375 </div><!-- #sandbox --> 8647 </div><!-- #sandbox -->
8376 8648
8377 - <div class="tab-pane" id="sample54"> 8649 + <div class="tab-pane" id="sample56">
8378 <div class="row"> 8650 <div class="row">
8379 <div class="col-md-12"> 8651 <div class="col-md-12">
8380 - <pre id="sample_response54">{ 8652 + <pre id="sample_response56">{
8381 "code": 1, 8653 "code": 1,
8382 "msg": "提交成功", 8654 "msg": "提交成功",
8383 "time": "1608284784", 8655 "time": "1608284784",
@@ -8401,26 +8673,26 @@ @@ -8401,26 +8673,26 @@
8401 </div> 8673 </div>
8402 </div> 8674 </div>
8403 <div class="panel panel-default"> 8675 <div class="panel panel-default">
8404 - <div class="panel-heading" id="heading-55"> 8676 + <div class="panel-heading" id="heading-57">
8405 <h4 class="panel-title"> 8677 <h4 class="panel-title">
8406 <span class="label label-primary">POST</span> 8678 <span class="label label-primary">POST</span>
8407 - <a data-toggle="collapse" data-parent="#accordion55" href="#collapseOne55"> 获取 书协认证/企业认证 <span class="text-muted">/api/user_audit/get_user_audit_b</span></a> 8679 + <a data-toggle="collapse" data-parent="#accordion57" href="#collapseOne57"> 获取 书协认证/企业认证 <span class="text-muted">/api/user_audit/get_user_audit_b</span></a>
8408 </h4> 8680 </h4>
8409 </div> 8681 </div>
8410 - <div id="collapseOne55" class="panel-collapse collapse"> 8682 + <div id="collapseOne57" class="panel-collapse collapse">
8411 <div class="panel-body"> 8683 <div class="panel-body">
8412 8684
8413 <!-- Nav tabs --> 8685 <!-- Nav tabs -->
8414 - <ul class="nav nav-tabs" id="doctab55">  
8415 - <li class="active"><a href="#info55" data-toggle="tab">基础信息</a></li>  
8416 - <li><a href="#sandbox55" data-toggle="tab">在线测试</a></li>  
8417 - <li><a href="#sample55" data-toggle="tab">返回示例</a></li> 8686 + <ul class="nav nav-tabs" id="doctab57">
  8687 + <li class="active"><a href="#info57" data-toggle="tab">基础信息</a></li>
  8688 + <li><a href="#sandbox57" data-toggle="tab">在线测试</a></li>
  8689 + <li><a href="#sample57" data-toggle="tab">返回示例</a></li>
8418 </ul> 8690 </ul>
8419 8691
8420 <!-- Tab panes --> 8692 <!-- Tab panes -->
8421 <div class="tab-content"> 8693 <div class="tab-content">
8422 8694
8423 - <div class="tab-pane active" id="info55"> 8695 + <div class="tab-pane active" id="info57">
8424 <div class="well"> 8696 <div class="well">
8425 书协认证/企业认证 如果有code返回1 没有返回0 </div> 8697 书协认证/企业认证 如果有code返回1 没有返回0 </div>
8426 <div class="panel panel-default"> 8698 <div class="panel panel-default">
@@ -8459,20 +8731,20 @@ @@ -8459,20 +8731,20 @@
8459 </div> 8731 </div>
8460 </div><!-- #info --> 8732 </div><!-- #info -->
8461 8733
8462 - <div class="tab-pane" id="sandbox55"> 8734 + <div class="tab-pane" id="sandbox57">
8463 <div class="row"> 8735 <div class="row">
8464 <div class="col-md-12"> 8736 <div class="col-md-12">
8465 <div class="panel panel-default"> 8737 <div class="panel panel-default">
8466 <div class="panel-heading"><strong>参数</strong></div> 8738 <div class="panel-heading"><strong>参数</strong></div>
8467 <div class="panel-body"> 8739 <div class="panel-body">
8468 - <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user_audit/get_user_audit_b" method="POST" name="form55" id="form55"> 8740 + <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user_audit/get_user_audit_b" method="POST" name="form57" id="form57">
8469 <div class="form-group"> 8741 <div class="form-group">
8470 <label class="control-label" for="status">status</label> 8742 <label class="control-label" for="status">status</label>
8471 <input type="integer" class="form-control input-sm" id="status" required placeholder="类别:1=书协审核,2=企业审核" name="status"> 8743 <input type="integer" class="form-control input-sm" id="status" required placeholder="类别:1=书协审核,2=企业审核" name="status">
8472 </div> 8744 </div>
8473 <div class="form-group"> 8745 <div class="form-group">
8474 - <button type="submit" class="btn btn-success send" rel="55">提交</button>  
8475 - <button type="reset" class="btn btn-info" rel="55">重置</button> 8746 + <button type="submit" class="btn btn-success send" rel="57">提交</button>
  8747 + <button type="reset" class="btn btn-info" rel="57">重置</button>
8476 </div> 8748 </div>
8477 </form> 8749 </form>
8478 </div> 8750 </div>
@@ -8482,8 +8754,8 @@ @@ -8482,8 +8754,8 @@
8482 <div class="panel-body"> 8754 <div class="panel-body">
8483 <div class="row"> 8755 <div class="row">
8484 <div class="col-md-12" style="overflow-x:auto"> 8756 <div class="col-md-12" style="overflow-x:auto">
8485 - <pre id="response_headers55"></pre>  
8486 - <pre id="response55"></pre> 8757 + <pre id="response_headers57"></pre>
  8758 + <pre id="response57"></pre>
8487 </div> 8759 </div>
8488 </div> 8760 </div>
8489 </div> 8761 </div>
@@ -8523,10 +8795,10 @@ @@ -8523,10 +8795,10 @@
8523 </div> 8795 </div>
8524 </div><!-- #sandbox --> 8796 </div><!-- #sandbox -->
8525 8797
8526 - <div class="tab-pane" id="sample55"> 8798 + <div class="tab-pane" id="sample57">
8527 <div class="row"> 8799 <div class="row">
8528 <div class="col-md-12"> 8800 <div class="col-md-12">
8529 - <pre id="sample_response55">{ 8801 + <pre id="sample_response57">{
8530 "code": 1, 8802 "code": 1,
8531 "msg": { 8803 "msg": {
8532 "id": 19, 8804 "id": 19,
@@ -8554,26 +8826,26 @@ @@ -8554,26 +8826,26 @@
8554 <h2>微信相关</h2> 8826 <h2>微信相关</h2>
8555 <hr> 8827 <hr>
8556 <div class="panel panel-default"> 8828 <div class="panel panel-default">
8557 - <div class="panel-heading" id="heading-56"> 8829 + <div class="panel-heading" id="heading-58">
8558 <h4 class="panel-title"> 8830 <h4 class="panel-title">
8559 <span class="label label-primary">POST</span> 8831 <span class="label label-primary">POST</span>
8560 - <a data-toggle="collapse" data-parent="#accordion56" href="#collapseOne56"> jssdk配置信息 <span class="text-muted">/api/wechat/wechat_jssdk</span></a> 8832 + <a data-toggle="collapse" data-parent="#accordion58" href="#collapseOne58"> jssdk配置信息 <span class="text-muted">/api/wechat/wechat_jssdk</span></a>
8561 </h4> 8833 </h4>
8562 </div> 8834 </div>
8563 - <div id="collapseOne56" class="panel-collapse collapse"> 8835 + <div id="collapseOne58" class="panel-collapse collapse">
8564 <div class="panel-body"> 8836 <div class="panel-body">
8565 8837
8566 <!-- Nav tabs --> 8838 <!-- Nav tabs -->
8567 - <ul class="nav nav-tabs" id="doctab56">  
8568 - <li class="active"><a href="#info56" data-toggle="tab">基础信息</a></li>  
8569 - <li><a href="#sandbox56" data-toggle="tab">在线测试</a></li>  
8570 - <li><a href="#sample56" data-toggle="tab">返回示例</a></li> 8839 + <ul class="nav nav-tabs" id="doctab58">
  8840 + <li class="active"><a href="#info58" data-toggle="tab">基础信息</a></li>
  8841 + <li><a href="#sandbox58" data-toggle="tab">在线测试</a></li>
  8842 + <li><a href="#sample58" data-toggle="tab">返回示例</a></li>
8571 </ul> 8843 </ul>
8572 8844
8573 <!-- Tab panes --> 8845 <!-- Tab panes -->
8574 <div class="tab-content"> 8846 <div class="tab-content">
8575 8847
8576 - <div class="tab-pane active" id="info56"> 8848 + <div class="tab-pane active" id="info58">
8577 <div class="well"> 8849 <div class="well">
8578 jssdk配置信息 </div> 8850 jssdk配置信息 </div>
8579 <div class="panel panel-default"> 8851 <div class="panel panel-default">
@@ -8612,20 +8884,20 @@ @@ -8612,20 +8884,20 @@
8612 </div> 8884 </div>
8613 </div><!-- #info --> 8885 </div><!-- #info -->
8614 8886
8615 - <div class="tab-pane" id="sandbox56"> 8887 + <div class="tab-pane" id="sandbox58">
8616 <div class="row"> 8888 <div class="row">
8617 <div class="col-md-12"> 8889 <div class="col-md-12">
8618 <div class="panel panel-default"> 8890 <div class="panel panel-default">
8619 <div class="panel-heading"><strong>参数</strong></div> 8891 <div class="panel-heading"><strong>参数</strong></div>
8620 <div class="panel-body"> 8892 <div class="panel-body">
8621 - <form enctype="application/x-www-form-urlencoded" role="form" action="/api/wechat/wechat_jssdk" method="POST" name="form56" id="form56"> 8893 + <form enctype="application/x-www-form-urlencoded" role="form" action="/api/wechat/wechat_jssdk" method="POST" name="form58" id="form58">
8622 <div class="form-group"> 8894 <div class="form-group">
8623 <label class="control-label" for="url">url</label> 8895 <label class="control-label" for="url">url</label>
8624 <input type="string" class="form-control input-sm" id="url" required placeholder="当前地址" name="url"> 8896 <input type="string" class="form-control input-sm" id="url" required placeholder="当前地址" name="url">
8625 </div> 8897 </div>
8626 <div class="form-group"> 8898 <div class="form-group">
8627 - <button type="submit" class="btn btn-success send" rel="56">提交</button>  
8628 - <button type="reset" class="btn btn-info" rel="56">重置</button> 8899 + <button type="submit" class="btn btn-success send" rel="58">提交</button>
  8900 + <button type="reset" class="btn btn-info" rel="58">重置</button>
8629 </div> 8901 </div>
8630 </form> 8902 </form>
8631 </div> 8903 </div>
@@ -8635,8 +8907,8 @@ @@ -8635,8 +8907,8 @@
8635 <div class="panel-body"> 8907 <div class="panel-body">
8636 <div class="row"> 8908 <div class="row">
8637 <div class="col-md-12" style="overflow-x:auto"> 8909 <div class="col-md-12" style="overflow-x:auto">
8638 - <pre id="response_headers56"></pre>  
8639 - <pre id="response56"></pre> 8910 + <pre id="response_headers58"></pre>
  8911 + <pre id="response58"></pre>
8640 </div> 8912 </div>
8641 </div> 8913 </div>
8642 </div> 8914 </div>
@@ -8671,10 +8943,10 @@ @@ -8671,10 +8943,10 @@
8671 </div> 8943 </div>
8672 </div><!-- #sandbox --> 8944 </div><!-- #sandbox -->
8673 8945
8674 - <div class="tab-pane" id="sample56"> 8946 + <div class="tab-pane" id="sample58">
8675 <div class="row"> 8947 <div class="row">
8676 <div class="col-md-12"> 8948 <div class="col-md-12">
8677 - <pre id="sample_response56">{ 8949 + <pre id="sample_response58">{
8678 'code':'1', 8950 'code':'1',
8679 'msg':'返回成功', 8951 'msg':'返回成功',
8680 "data": { 8952 "data": {
@@ -8707,7 +8979,7 @@ @@ -8707,7 +8979,7 @@
8707 8979
8708 <div class="row mt0 footer"> 8980 <div class="row mt0 footer">
8709 <div class="col-md-6" align="left"> 8981 <div class="col-md-6" align="left">
8710 - Generated on 2020-12-31 11:42:33 </div> 8982 + Generated on 2021-01-03 14:18:41 </div>
8711 <div class="col-md-6" align="right"> 8983 <div class="col-md-6" align="right">
8712 <a href="./" target="_blank">书法公众号</a> 8984 <a href="./" target="_blank">书法公众号</a>
8713 </div> 8985 </div>
@@ -55,11 +55,9 @@ class QRcode @@ -55,11 +55,9 @@ class QRcode
55 public function png($url,$outfile=false,$size=5,$evel='H'){ 55 public function png($url,$outfile=false,$size=5,$evel='H'){
56 56
57 if(!$outfile){ 57 if(!$outfile){
58 - $outfile = $this->cache_dir.DS.time().rand(1000,9999).'.png'; 58 + $outfile = $this->cache_dir.DS.(time()-rand(1000,9999)).'.png';
59 } 59 }
60 -  
61 $this->outfile = $outfile; 60 $this->outfile = $outfile;
62 -  
63 \QRcode::png($url,$outfile,$evel,$size,2); 61 \QRcode::png($url,$outfile,$evel,$size,2);
64 return $this; 62 return $this;
65 } 63 }
@@ -126,7 +124,7 @@ class QRcode @@ -126,7 +124,7 @@ class QRcode
126 //重新组合图片并调整大小 124 //重新组合图片并调整大小
127 imagecopyresampled($QR, $logo, $from_width, $from_width, 0, 0, $logo_qr_width, $logo_qr_height, $logo_width, $logo_height); 125 imagecopyresampled($QR, $logo, $from_width, $from_width, 0, 0, $logo_qr_width, $logo_qr_height, $logo_width, $logo_height);
128 126
129 - $this->outfile = $this->cache_dir.DS.time().'.png'; 127 + $this->outfile = $this->cache_dir.DS.(time()-rand(1000,9999)).'.png';
130 imagepng($QR, $this->outfile); 128 imagepng($QR, $this->outfile);
131 imagedestroy($QR); 129 imagedestroy($QR);
132 return $this; 130 return $this;
@@ -158,7 +156,7 @@ class QRcode @@ -158,7 +156,7 @@ class QRcode
158 //将覆盖图复制到目标图片上,最后个参数100是设置透明度(100是不透明),这里实现不透明效果 156 //将覆盖图复制到目标图片上,最后个参数100是设置透明度(100是不透明),这里实现不透明效果
159 imagecopymerge($dst, $src,$a[0]-$b[0]-10, $a[1]-$b[1]-10, 0, 0, $src_w, $src_h, 90); 157 imagecopymerge($dst, $src,$a[0]-$b[0]-10, $a[1]-$b[1]-10, 0, 0, $src_w, $src_h, 90);
160 158
161 - $this->outfile = $this->cache_dir.DS.time().'.png'; 159 + $this->outfile = $this->cache_dir.DS.(time()-rand(1000,9999)).'.png';
162 imagepng($dst, $this->outfile);//根据需要生成相应的图片 160 imagepng($dst, $this->outfile);//根据需要生成相应的图片
163 imagedestroy($dst); 161 imagedestroy($dst);
164 return $this; 162 return $this;
@@ -186,7 +184,6 @@ class QRcode @@ -186,7 +184,6 @@ class QRcode
186 if(!is_file($font)){ 184 if(!is_file($font)){
187 $font = dirname(__FILE__).DS.$font; 185 $font = dirname(__FILE__).DS.$font;
188 } 186 }
189 -  
190 //获取文字信息 187 //获取文字信息
191 $info = imagettfbbox($size, $angle, $font, $text); 188 $info = imagettfbbox($size, $angle, $font, $text);
192 $minx = min($info[0], $info[2], $info[4], $info[6]); 189 $minx = min($info[0], $info[2], $info[4], $info[6]);
@@ -198,7 +195,6 @@ class QRcode @@ -198,7 +195,6 @@ class QRcode
198 $y = abs($miny); 195 $y = abs($miny);
199 $w = $maxx - $minx; 196 $w = $maxx - $minx;
200 $h = $maxy - $miny; 197 $h = $maxy - $miny;
201 -  
202 //背景图信息 198 //背景图信息
203 list($dst_w, $dst_h) = getimagesize($dst_path); 199 list($dst_w, $dst_h) = getimagesize($dst_path);
204 200
@@ -209,19 +205,14 @@ class QRcode @@ -209,19 +205,14 @@ class QRcode
209 } else { 205 } else {
210 throw new Exception('不支持的文字位置类型'); 206 throw new Exception('不支持的文字位置类型');
211 } 207 }
212 -  
213 //字体颜色 208 //字体颜色
214 $black = imagecolorallocate($dst, $color[0], $color[1], $color[2]); 209 $black = imagecolorallocate($dst, $color[0], $color[1], $color[2]);
215 -  
216 //加入文字 210 //加入文字
217 imagefttext($dst, $size, $angle, $x, $y, $black,$font, $text); 211 imagefttext($dst, $size, $angle, $x, $y, $black,$font, $text);
218 -  
219 -  
220 //生成图片 212 //生成图片
221 - $this->outfile = $this->cache_dir.DS.time().'.png'; 213 + $this->outfile = $this->cache_dir.DS.(time()-rand(1000,9999)).'.png';
222 imagepng($dst, $this->outfile); 214 imagepng($dst, $this->outfile);
223 imagedestroy($dst); 215 imagedestroy($dst);
224 -  
225 return $this; 216 return $this;
226 } 217 }
227 218