...
|
...
|
@@ -130,6 +130,18 @@ trait Backend |
|
|
if ($this->request->isPost()) {
|
|
|
$params = $this->request->post("row/a");
|
|
|
if ($params) {
|
|
|
$host = 'http://feipin.w.brotop.cn';
|
|
|
if(isset($params['image']) && !empty($params['image'])){
|
|
|
$params['image'] = $host.$params['image'];
|
|
|
}
|
|
|
if(isset($params['images']) && !empty($params['images'])){
|
|
|
$images = explode(',',$params['images']);
|
|
|
$img = '';
|
|
|
foreach($images as $value){
|
|
|
$img .= $host.$value.',';
|
|
|
}
|
|
|
$params['images'] = trim($img,',');
|
|
|
}
|
|
|
try {
|
|
|
//是否采用模型验证
|
|
|
if ($this->modelValidate) {
|
...
|
...
|
|