$arrFileInfo = db_factory::get_one($strSql);
    $resText = CommonClass::delFileByFileId($fileid);
    if ($resText) {
        $array = explode(',', $arrServiceInfo['pic']);
        $newArr = CommonClass::returnNewArr($arrFileInfo['save_name'], $array);
        $_POST['file_ids'] = implode(",", $newArr);
        updateFilepath($arrServiceInfo['service_id'], $_POST['file_ids'], 'pic');
        kekezu::echojson('删除成功', 1, array('fileid' => $fileid, 'save_name' => $arrFileInfo['save_name']));
        die;
    }
}
if ($action == 'delete_goodsfile') {
    $fileid = intval($fileid);
    $strSql = sprintf("select file_id,file_name,save_name from %switkey_file where file_id in(%s)", TABLEPRE, $fileid);
    $arrFileInfo = db_factory::get_one($strSql);
    $resText = CommonClass::delFileByFileId($fileid);
    if ($resText) {
        $array = explode(',', $arrServiceInfo['file_path']);
        $newArr = CommonClass::returnNewArr($arrFileInfo['save_name'], $array);
        $_POST['file_path_2'] = implode(",", $newArr);
        updateFilepath($arrServiceInfo['service_id'], $_POST['file_path_2'], 'file');
        kekezu::echojson('删除成功', 1, array('fileid' => $fileid, 'save_name' => $arrFileInfo['save_name']));
        die;
    }
}
if (isset($formhash) && kekezu::submitcheck($formhash)) {
    if ($arrServiceInfo['uid'] != $gUid) {
        exit('禁止未授权访问');
    }
    $arrGoodsConfig = unserialize($kekezu->_model_list[6]['config']);
    $goodsprice = floatval($goodsprice);