Пример #1
0
        public override void readFields(BmobInput input)
        {
            if (!input.Contains("sucess"))
            {
                return;
            }

            this.message = input.getString("message");
            this.sucess  = input.getBoolean("sucess");

            // // 2014-5-26 13:42:38 返回值
            //{
            //  "code": 101,
            //  "error": "object not found for StudentScore."
            //}
            if (this.message == null)
            {
                this.message = input.getString("error") + "(" + input.getInt("code") + ")";
                this.sucess  = false;
            }
        }