jjdd 2015-03-26 15:48:43 3874次浏览 1条回复 0 0 0

yii使用ajax上传图片,通过Controller处理后,直接 返回图片的路径,但是通过 .success()接受时,发现多了

<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title></title>
    </head>
    <body>
    </body>
</html>

上面的代码 /uploads/avter/thumb/20150326072849_thumb.jpg

不知道这是什么原因

您需要登录后才可以回复。登录 | 立即注册