File size: 499 Bytes
a4a352b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
namespace app\common\extend\editor;

class Kindeditor {

    public $name = 'Kindeditor';
    public $ver = '1.0';

    public function front($param)
    {

    }

    public function back($info='',$status=0,$data=[])
    {
        $arr=[];
        if ($status == 0) {
            $arr['error'] = 1;
            $arr['message'] = $info;
        } else {
            $arr['error'] = 0;
            $arr['url'] = $data['file'];
        }
        echo json_encode($arr, 1);
        exit;
    }
}