网易云阅读、网易文漫拟以1.5亿元卖身上市公司平治信息



  • 投中教育11月9日讯,平治信息(300571.SZ)11月8日晚间发布公告称,公司拟以1.5亿元收购网易云阅读业务全部核心资产及网易云漫100%股权。

    同时,平治信息11月8日已经与NetEaseDigital、网易(杭州)网络有限公司、杭州妖鹿科技有限公司于2019年11月8日签署了《股权及资产收购备忘录》,其中NetEase Digital持有网易文漫100%股权。

    根据公告内容显示,网易杭州、妖鹿科技应在不晚于交割日后6个月内将网易云阅读业务全部核心资产均剥离至网易文漫,并将网易云阅读业务对应的供应商和客户资源、关系一并迁移至网易文漫,且网易文漫无需支付对价;从而实现网易文漫在业务、资产、人员、财务、机构等方面实现独立,自主开展经营活动,具备持续盈利能力。已注入网易云阅读业务全部核心资产后的网易文漫100%股权的总对价为人民币1.5亿元。只有在公司经过尽职调查,且双方就收购条款经过充分讨论、协商并达成一致后,各方才能签署正式的、具有法律效力的正式交易文件。

    平治信息成立于2002年,于2016年A股上市,主营业务具体包括移动阅读业务、资讯类业务及其他增值电信业务,其中移动阅读业务为目前着力发展推广的核心业务。

    对于本次收购,平治信息表示,本次交易有利于扩大公司在数字阅读领域的布局,进一步扩充数字阅读优质版权资源,巩固和提升公司在行业内的竞争力,增强公司持续经营能力,提升经营效益,获得更大的发展空间。

    文章来源: https://www.toutiao.com/group/6757221441101365774/


Log in to reply
 

最新内容

  • 一个无视规矩的人,将无法立身于社会;一个无视规矩的企业,将被市场所抛弃;一个无视规矩的国家,将受到谴责。这都反映出规则对于修身,齐家,平天下有着重要的作用。与此同时,在现实生活中,从民众随意插队到学生学术造假,再到领导干部贪污受贿,这些乱象反映了民众规则意识淡薄,这些情况都与无视法律法规和道德标准有着密不可分的联系,由此扰乱了社会规则,阻碍了社会进步。因此,我们要强化规则意识,就要让法律和道德共同发挥作用。

    规矩既包括成文的纪律规定,也包括烙印心底的行为准则,具体体现就是法律和道德。法律求诸于外行,道德求诸于内心。法治建设和道德建设对于构筑规矩缺一不可。一方面,法律是有利保障,在违反纪律时一味说教,进行思想教育并不能让人节制自身问题。另一方面,道德建设是有利前提,单纯使用硬性手段,缺乏说教,人们会对于错误的认识不够深刻,由此可鉴,法律和道德共同发挥作用,才能树立规矩。

    以法律强化规矩的约束作用,为行为画出底线。法律是成文的纪律,是刚性的条文,是人必须遵守的规定,能够为人们遵守规矩指明行为的底线。在生活水平不断提高的今天,也有一些贪污受贿的领导干部出现。其手中掌握着权力,心无敬畏,行无规矩,只有法律才能在这些官员面前发挥震慑作用,只有法律才能让这些官员深刻地认识到自己的错误,只有法律才能让这些官员看到人们的呼声。严明规矩,需要法律以其严管重治的手段,为人们的行为和操守画出红线和底线。法律是人们对行为准则做出的最低标准,也是人们捍卫自己权益不受侵犯的武器。因此,树立规矩的过程,也是完善法律法规的过程。

    以道德强化规矩的指引作用,为精神描绘高线。道德不仅提升人的情操,也能起到约束作用,为规矩做出软性引导。生活中有很多微不足道的小事,虽然危及不到社会治安,但却影响社会秩序,比如插队,横穿马路等。治理这些问题不能处罚过重,只能依靠个人的自觉来维护,依靠个人的道德来约束。可见,良好的社会秩序,不仅要大处着眼,也要小处着手,用道德对人们的举动起到教化作用,同时激励人们具有更加高尚的道德情操。因此,规矩这座大厦的建成,也需要道德的基石添砖加瓦,为人们的日常生活明确行为准则。

    “不学礼,无以立”,只有强化规矩,才能让人们提高文明素养,才能让社会安定有序,才能让国家长治久安。对此,我们更应该从大处着眼,小处着手,一分规划,九分落实,将规则意识内化于心,外化于行,实现在全面依法治国快人一步,先人一拍,胜人一筹。

    来源:https://blog.csdn.net/wsm19980/article/details/99693073

    read more
  • I have an activity that has an ImageView defined inside a HorizontalScrollView. The image source is a 9-patch file that is constrained to stretch only the right edge to fill the screen. I have implemented a simple zoom feature which allows the user to double tap to zoom in and out, by resizing the bitmap and assigning the new bitmap to the view. My current problem is that when doubling tapping to zoom back out, the 9-patch is not applied when I assign the new resized bitmap to the view. In other words, instead of stretching just the right edge as defined in the 9-patch file, it stretched the entire image.

    Here is my XML:

    <HorizontalScrollView android:id="@+id/hScroll" android:fillViewport="true" android:layout_width="fill_parent" android:layout_height="fill_parent" android:fadingEdge="none" > <RelativeLayout android:id="@+id/rlayoutScrollMap" android:layout_width="fill_parent" android:layout_height="fill_parent" > <ImageView android:id="@+id/imgResultMap" android:layout_width="fill_parent" android:layout_height="fill_parent" android:scaleType="fitXY" android:src="@drawable/map_base"/> </RelativeLayout> </horizontalScrollView>

    Here is the relevant portion of my code, inside the onDoubleTap() call :

    public boolean onDoubleTap(MotionEvent e) { if (zoom == 1) { zoom = 2; // zoom out } else { zoom = 1; // zoom in } Bitmap image = BitmapFactory.decodeResource(getResources(),R.drawable.map_base); Bitmap bmp = Bitmap.createScaledBitmap(image, image.getWidth() * zoom, image.getHeight() * zoom, false); ImageView imgResultMap = (ImageView)findViewById(R.id.imgResultMap); imgResultMap.setImageBitmap(bmp); return false; }

    EDIT: After doing some research, I have it figured out. Instead of just manipulating the bitmap, I need to also include the 9-patch chunk, which is not part of the bitmap image, to re-construct a new 9-patch drawable. See sample code below:

    ... else { // Zoom out zoom = 1; Bitmap mapBitmapScaled = mapBitmap; // Load the 9-patch data chunk and apply to the view byte[] chunk = mapBitmap.getNinePatchChunk(); NinePatchDrawable mapNinePatch = new NinePatchDrawable(getResources(), mapBitmapScaled, chunk, new Rect(), null); imgResultMap.setImageDrawable(mapNinePatch); } ....

    EDIT: After doing some research, I have it figured out. Instead of just manipulating the bitmap, I need to also include the 9-patch chunk, which is not part of the bitmap image, to re-construct a new 9-patch drawable. See sample code below:

    ... else { // Zoom out zoom = 1; Bitmap mapBitmapScaled = mapBitmap; // Load the 9-patch data chunk and apply to the view byte[] chunk = mapBitmap.getNinePatchChunk(); NinePatchDrawable mapNinePatch = new NinePatchDrawable(getResources(), mapBitmapScaled, chunk, new Rect(), null); imgResultMap.setImageDrawable(mapNinePatch); } ....

    EDIT #2: For those who looks at my solution here, also take a look at Kai's suggestions below regarding memory management. Very useful information.

    Why don't you just include two different scaled images and switch between them using imgResultMap.setImageResource(resId) when zooming? Also note that you are loading & creating Bitmaps in UIThread which is not a good way to provide smooth user experience, at least preload the bitmap only once during onCreate() and cache that.

    Move this: ImageView imgResultMap = (ImageView)findViewById(R.id.imgResultMap);to a global intialized in the onCreate method. Otherwise the device has to search for the view and find it every time it is tapped.

    and try calling imgResultMap.invalidate(); before you return from the onDoubleTap method (http://developer.android.com/reference/android/view/View.html#invalidate())

    9-patch images seem to only work when they're set as a View's background image. So:

    instead of android:src, set android:background in your layout XML, and call setBackgroundResource() when you want to change the image.

    You can also use a plain View instead of an ImageView if you want; it doesn't really matter much.

    Also another solution is to set image programmatically as ImageResource and set scaleType

    imageView.setImageResource(R.drawable.favorite_driver_icon); imageView.setScaleType(ScaleType.FIT_XY);

    来源:https://stackoverflow.com/questions/10623570/how-to-programmatically-re-apply-a-9-patch-image-to-an-imageview

    read more
  • 问题

    I\'m trying to run a web service using PHP & SOAP, but all I\'m getting so far is this:

    (SoapFault)[2] message which states: \'SOAP-ERROR: Parsing WSDL: Couldn\'t load from \'http://localhost/MyRegistration/login.xml\' : failed to load external entity \"http://localhost/MyRegistration/login.xml\"

    I\'ve tried changing localhost to 127.0.0.1, but that makes no difference. login is actually a wsdl file, but if I put login.wsdl in the SOAPClient constructor, it says \"\'looks like we got no XML document\'\" instead.

    Here is my code for the SOAP Client (register_client.php):

    <?php try { $sClient = new SoapClient(\'http://127.0.0.1/MyRegistration/login.wsdl\'); $param1 = $_POST[\"regname\"]; $param2 = $_POST[\"regpass1\"]; $response = $sClient->loginVerify($param1, $param2); var_dump($response); } catch(SoapFault $e) { var_dump($e); } ?>

    And here is the login.wsdl file:

    <?xml version=\"1.0\"?> <definitions name=\"LoginVal\" targetNamespace=\"urn:LoginVal\" xmlns:tns=\"urn:LoginVal\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/wsdl/soap/\" xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\" xmlns:wsdl=\"http://schemas.xmlsoap.org/wsdl/\" xmlns=\"http://schemas.xmlsoap.org/wsdl/\"> <types> <xsd:schema xmlns=\"http://www.w3.org/2001/XMLSchema\" targetNamespace=\"urn:Login\"> <xsd:element name=\"getName\" type=\"xsd:string\" /> <xsd:element name=\"getPass\" type=\"xsd:string\" /> <xsd:element name=\"LoginResponse\" type=\"xsd:string\" /> </xsd:schema> </types> <message name=\"loginVerify\"> <part name=\"username\" type=\"tns:getName\" /> <part name=\"password\" type=\"tns:getPass\" /> </message> <message name=\"doLoginResponse\"> <part name=\"return\" type=\"tns:LoginResponse\" /> </message> <portType name=\"LoginPort\"> <operation name=\"loginVerify\"> <input message=\"tns:loginVerify\" /> <output message=\"tns:doLoginResponse\" /> </operation> </portType> <binding name=\"LoginBinding\" type=\"tns:LoginPort\"> <soap:binding style=\"rpc\" transport=\"http://schemas.xmlsoap.org/soap/http\" /> <operation name=\"loginVerify\"> <soap:operation soapAction=\"urn:LoginAction\" /> <input> <soap:body use=\"encoded\" namespace=\"urn:Login\" encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\" /> </input> <output> <soap:body use=\"encoded\" namespace=\"urn:Login\" encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\" /> </output> </operation> </binding> <service name=\"LoginService\"> <port name=\"LoginPort\" binding=\"tns:LoginBinding\"> <soap:address location=\"http://localhost/MyRegistration/register.php\" /> </port> </service> </definitions>

    And I\'m not sure if this is involved, so I\'m providing the code for the SOAP Server register.php:

    <?php if(!extension_loaded(\"soap\")) { dl(\"php_soap.dll\"); } ini_set(\"soap.wsdl_cache_enabled\", \"0\"); $server = new SoapServer(\"login.wsdl\", array(\'uri\'=>\'http://127.0.0.1/MyRegistration\')) public function loginVerify($username, $password) { if($_POST[\"regname\"] && $_POST[\"regemail\"] && $_POST[\"regpass1\"] && $_POST[\"regpass2\"] ) { if($_POST[\"regpass1\"] == $_POST[\"regpass2\"]) { $servername = \"localhost\"; $username = \"root\"; $password = \"Hellfire\"; $conn = mysql_connect($servername,$username,\"Hellfire\")or die(mysql_error()); mysql_select_db(\"soap\",$conn); $sql = \"insert into users (name,email,password)values(\'$_POST[regname]\',\'$_POST[regemail]\',\'$_POST[regpass1]\')\"; $result = mysql_query($sql,$conn) or die(mysql_error()); return \"You have registered sucessfully\"; //print \"<a href=\'index.php\'>go to login page</a>\"; } else return \"passwords dont match\"; } else return \"invalid data\"; } $server->AddFunction(\"loginVerify\"); $server->handle(); ?>

    I\'m sorry if I\'m giving unnecessary information, but I\'m a complete novice at this - and I\'d really appreciate it if someone could point out why exactly this SOAP Fault is being generated, and what I can do to rectify it.

    I am using WAMP Server version 2.2, with mySQL 5.5.24 and PHP 5.3.13

    回答1:

    27

    After migrating to PHP 5.6.5, the soap 1.2 did not work anymore. So I solved the problem by adding optional SSL parameters.

    My error:

    failed to load external entity

    How to solve:

    // options for ssl in php 5.6.5 $opts = array( 'ssl' => array( 'ciphers' => 'RC4-SHA', 'verify_peer' => false, 'verify_peer_name' => false ) ); // SOAP 1.2 client $params = array( 'encoding' => 'UTF-8', 'verifypeer' => false, 'verifyhost' => false, 'soap_version' => SOAP_1_2, 'trace' => 1, 'exceptions' => 1, 'connection_timeout' => 180, 'stream_context' => stream_context_create($opts) ); $wsdlUrl = $url . '?WSDL'; $oSoapClient = new SoapClient($wsdlUrl, $params);

    share|improve this answer

    edited May 4 '17 at 13:51

    MarthyM 1,62722 gold badges1616 silver badges2121 bronze badges

    answered Feb 19 '15 at 16:23

    Rômulo Z. C. CunhaRômulo Z. C. Cunha 58944 silver badges88 bronze badges

    1

    Just to add to the answer, this is motivated by changes in openssl in 5.6.x php.net/manual/en/migration56.openssl.php – hlscalon Dec 8 '15 at 13:36

    5

    Instead of disabling SSL peer verification, you should attempt to fix whatever makes the validation fail. For example by explicitly setting the path to a cafile which contains the necessary root certs to verify against. The answer gets to the core of the issue though, and sometimes this may be the only solution available, so +1. – deceze♦ Dec 16 '15 at 9:36

    1

    Like adding "openssl.cafile=C:/path/to/sslCertificates/cacert.pem" to php.ini 🙂 (like curl.cainfo !) – François Breton Mar 23 '17 at 15:49

    Can't find resource for bundle java.util.PropertyResourceBundle, key A SOAP 1.2 message is not valid when sent to a SOAP 1.1 only endpoint. – Rodrigo Prazim Jan 11 '18 at 19:10

    add a comment |

    回答2:

    7

    Put this code above any Soap call:

    libxml_disable_entity_loader(false);

    share|improve this answer

    answered May 20 '16 at 2:25

    Thanh NguyenThanh Nguyen 3,2731010 gold badges2929 silver badges5959 bronze badges

    add a comment |

    回答3:

    3

    On register_client.php make sure that the URL that has been passed to SoapClient is accessible from the machine you're executing the code.

    $sClient = new SoapClient('http://127.0.0.1/MyRegistration/login.wsdl');

    If 127.0.0.0 does not work you can try using some network IP address and see.

    Let me know if it still does not fix it for you, I did try with your example and changing path (making it proper in my dev. environment) has fixed same error for me.

    I would be interested to know if it does not fix it for you.

    share|improve this answer

    answered Oct 16 '12 at 14:20

    deejdeej 2,22633 gold badges2525 silver badges4545 bronze badges

    add a comment |

    回答4:

    3

    try this. works for me

    $options = array( 'cache_wsdl' => 0, 'trace' => 1, 'stream_context' => stream_context_create(array( 'ssl' => array( 'verify_peer' => false, 'verify_peer_name' => false, 'allow_self_signed' => true ) )) $client = new SoapClient(url, $options);

    share|improve this answer

    answered Jan 27 '18 at 20:01

    gogagubigogagubi 60711 gold badge77 silver badges2323 bronze badges

    add a comment |

    回答5:

    2

    I had the same problem.

    This php setting solved my problem:

    allow_url_fopen -> 1

    share|improve this answer

    answered Nov 10 '14 at 21:29

    hazard16hazard16 6511 silver badge1010 bronze badges

    add a comment |

    回答6:

    1

    Got a similar response with https WSDL URL using php soapClient

    SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from ...

    After server has been updated from PHP 5.5.9-1ubuntu4.21 >> PHP 5.5.9-1ubuntu4.23 something went wrong for my client machine osx 10.12.6 / PHP 5.6.30, but MS Web Services Clients connections could be made without issues.

    Apache2's server_access.log showed no entry when i tried to load WSDL so i added 'cache_wsdl' => WSDL_CACHE_NONE to prevent client-side wsdl caching, but still got no entries. Finally i tried to load wsdl per CURL -i checked HEADERS but all seemed to be ok..

    Only libxml_get_last_error() provided some insight > SSL operation failed with code 1. OpenSSL Error messages:error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

    So I added some ssl options to my call:

    $contextOptions = array( 'ssl' => array( 'verify_peer' => false, 'verify_peer_name' => false, 'allow_self_signed' => true )); $sslContext = stream_context_create($contextOptions); $params = array( 'trace' => 1, 'exceptions' => true, 'cache_wsdl' => WSDL_CACHE_NONE, 'stream_context' => $sslContext ); try { $proxy = new SoapClient( $wsdl_url, $params ); } catch (SoapFault $proxy) { var_dump(libxml_get_last_error()); var_dump($proxy); }

    In my case 'allow_self_signed' => true did the trick!

    share|improve this answer

    answered Mar 21 '18 at 22:03

    c3labsc3labs 1122 bronze badges

    add a comment |

    回答7:

    1

    I am using selinux and with the following shell command (as root) I was able to allow PHP to make SOAP calls:

    sudo setsebool -P httpd_can_network_connect on

    share|improve this answer

    answered Sep 18 at 5:27

    SamoSamo 93299 silver badges1313 bronze badges

    add a comment |

    回答8:

    0

    If anyone has the same problem, one possible solution is to set the bindto stream context configuration parameter (assuming you're connecting from 11.22.33.44 to 55.66.77.88):

    $context = [ 'socket' => [ 'bindto' => '55.66.77.88' ] ]; $options = [ 'soapVersion' => SOAP_1_1, 'stream_context' => stream_context_create($context) ]; $client = new Client('11.22.33.44', $options);

    share|improve this answer

    edited May 4 '17 at 13:05

    MarthyM 1,62722 gold badges1616 silver badges2121 bronze badges

    answered Aug 8 '16 at 20:35

    ShmarkusShmarkus 12411 silver badge1010 bronze badges

    add a comment |

    回答9:

    0

    Just had a similar problem trying to use SoapClient. Everything was working fine but in production, sometimes on page refresh, I would get the "SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from .." error.

    I was using the params:

    new \SoapClient($WSDL, array('cache_wsdl' => WSDL_CACHE_NONE, 'trace' => true, "exception" => 0));

    Removing all the params worked for me:

    new \SoapClient($WSDL);

    share|improve this answer

    answered Apr 4 at 11:24

    readread 21144 silver badges1212 bronze badges

    add a comment |

    回答10:

    0

    The problem may lie in you don't have enabled openssl extention in your php.ini file

    go to your php.ini file end remove ; in line where extension=openssl is

    Of course in question code there is a part of code responsible for checking whether extension is loaded or not but maybe some uncautious forget about it

    share|improve this answer

    edited Sep 15 at 23:10

    answered Sep 15 at 22:56

    Dawid DDawid D 58466 silver badges1818 bronze badges

    Why do you think so? It seems the code does not use SSL at all. – Akim Kelar Nov 6 at 10:12

    add a comment |

    read more

最新主题

184
Online

336
Users

219.6k
Topics

370.2k
Posts

在线用户

推荐阅读

本站部分内容来自互联网,其发布内容言论不代表本站观点,如果其链接、内容的侵犯您的权益,烦请联系我们,我们将及时予以处理。
Powered by NodeBB | 备案号:宁ICP备15000671号