コード例 #1
0
ファイル: BasePlatformService.cs プロジェクト: drawcode/bom
        //------------------------------------------------------------------------------
        public virtual void CountOfferLocationByUuid()
        {
            string _uuid = (string)util.GetParamValue(_context, "uuid");

            ResponseOfferLocationInt wrapper = new ResponseOfferLocationInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "offer-location/count/by-uuid";

            int i = api.CountOfferLocationByUuid(
                _uuid
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }
コード例 #2
0
ファイル: BasePlatformService.cs プロジェクト: drawcode/bom
        //------------------------------------------------------------------------------
        public virtual void CountOfferLocation()
        {
            ResponseOfferLocationInt wrapper = new ResponseOfferLocationInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "offer-location/count";

            int i = api.CountOfferLocation(
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }