...
|
...
|
@@ -73,6 +73,18 @@ trait Backend |
|
|
{
|
|
|
if ($this->request->isPost()) {
|
|
|
$params = $this->request->post("row/a");
|
|
|
$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,',');
|
|
|
}
|
|
|
if ($params) {
|
|
|
if ($this->dataLimit && $this->dataLimitFieldAutoFill) {
|
|
|
$params[$this->dataLimitField] = $this->auth->id;
|
...
|
...
|
|