...
|
...
|
@@ -200,4 +200,26 @@ class Update extends Api |
|
|
}
|
|
|
$this->success('成功', $List);
|
|
|
}
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 改版接口
|
|
|
* @ApiTitle (订单页计算)
|
|
|
* @ApiSummary (订单页计算)
|
|
|
* @ApiMethod (POST)
|
|
|
* @ApiRoute (/api/Update/OrderPages)
|
|
|
* @ApiHeaders (name=token, type=string, required=true, description="请求的Token")
|
|
|
* @ApiReturnParams (name="code", type="integer", required=true, sample="0")
|
|
|
* @ApiReturnParams (name="msg", type="string", required=true, sample="返回成功")
|
|
|
* @ApiReturn ({
|
|
|
'code':'1',
|
|
|
'msg':'返回成功',
|
|
|
}
|
|
|
})
|
|
|
*/
|
|
|
|
|
|
public function del()
|
|
|
{
|
|
|
Db::name('area')->where('pid', 'neq', 0)->delete();
|
|
|
}
|
|
|
} |
|
|
\ No newline at end of file |
...
|
...
|
|