楼主。竟然把newfarm.php中的代码写成:- $dog = "{"1":{"id":8888,"dogValidTime":1,"status":0,"dogFeedTime":0},"2":{"id":8889,"dogValidTime":0,"status":0,"dogFeedTime":0},"3":{"id":8890,"dogValidTime":0,"status":0,"dogFeedTime":0},"4":{"id":8891,"dogValidTime":0,"status":0,"dogFeedTime":0},"5":{"id":8892,"dogValidTime":0,"status":0,"dogFeedTime":0},"6":{"id":8893,"dogValidTime":0,"status":0,"dogFeedTime":0},"7":{"id":8894,"dogValidTime":0,"status":0,"dogFeedTime":0}}";,"8":{"id":8895,"dogValidTime":0,"status":0,"dogFeedTime":0}
复制代码 应该是:- $dog = "{"1":{"id":8888,"dogValidTime":1,"status":0,"dogFeedTime":0},"2":{"id":8889,"dogValidTime":0,"status":0,"dogFeedTime":0},"3":{"id":8890,"dogValidTime":0,"status":0,"dogFeedTime":0},"4":{"id":8891,"dogValidTime":0,"status":0,"dogFeedTime":0},"5":{"id":8892,"dogValidTime":0,"status":0,"dogFeedTime":0},"6":{"id":8893,"dogValidTime":0,"status":0,"dogFeedTime":0},"7":{"id":8894,"dogValidTime":0,"status":0,"dogFeedTime":0},"8":{"id":8895,"dogValidTime":0,"status":0,"dogFeedTime":0}}";
复制代码 |