|
@@ -9,7 +9,7 @@ use think\Db;
|
|
|
*/
|
|
|
class Feedback extends Api
|
|
|
{
|
|
|
- protected $noNeedLogin = [];
|
|
|
+ protected $noNeedLogin = ['addone'];
|
|
|
protected $noNeedRight = ['*'];
|
|
|
|
|
|
public function addone(){
|
|
@@ -19,7 +19,7 @@ class Feedback extends Api
|
|
|
$mobile = input('mobile','');
|
|
|
|
|
|
if(empty($content)){
|
|
|
- $this->error('内容不能为空');
|
|
|
+ //$this->error('内容不能为空');
|
|
|
}
|
|
|
|
|
|
if(!empty($images) && strpos($images,',')){
|