Ejemplo n.º 1
0
        //图片转码
        public string ImgTransCoding(string token, string[] files, NameValueCollection data)
        {
            string url    = RequestAddress.server + RequestAddress.ImgTransCoding;
            string temVal = RequestAddress.HttpUploadFile(token, url, files, data, DEFAULTENCODE);

            return(temVal);
        }
Ejemplo n.º 2
0
        //获取文档的总数和页数
        public string GetFileTotal(string token, string pagesize, string query)
        {
            string url    = RequestAddress.server + RequestAddress.GetFileTotal + "?pagesize=" + pagesize + "&query=" + query;
            string temVal = RequestAddress.Rep_Header_Resp(token, url, "POST");

            return(temVal);
        }
Ejemplo n.º 3
0
        /// <summary>
        /// 唉优盘打印
        /// </summary>
        /// <param name="token"></param>
        /// <param name="files"></param>
        /// <param name="data"></param>
        /// <returns></returns>
        public string AUDiskFilePrint(string token, string[] files, NameValueCollection data)
        {
            string url    = RequestAddress.server + RequestAddress.AUDiskFilePrint;
            string temVal = RequestAddress.HttpUploadFile(token, url, files, data, DEFAULTENCODE);

            return(temVal);
        }
Ejemplo n.º 4
0
        public string BusinessVirtualPrint(string token, string[] files, NameValueCollection data)
        {
            string url    = RequestAddress.server + RequestAddress.BusinessVirtualPrint;
            string temVal = RequestAddress.UploadFile(token, url, files, data, DEFAULTENCODE);

            return(temVal);
        }
Ejemplo n.º 5
0
        public string EditOwnInfo(string token, string[] files, NameValueCollection data)
        {
            ///此处文件上传到IntoApp服务器
            string url    = RequestAddress.HostServer + RequestAddress.EditOwnInfo;
            string temVal = RequestAddress.HttpUploadFile(token, url, files, data, DEFAULTENCODE);

            return(temVal);
        }
Ejemplo n.º 6
0
        /// <summary>
        /// 文档打印
        /// </summary>
        /// <param name="token"></param>
        /// <param name="fid"></param>
        /// <param name="filename"></param>
        /// <returns></returns>
        public string ReCreateOrder(string token, string fid, string filename)
        {
            //string url = RequestAddress.server + RequestAddress.ReCreateOrder + "?fid=" + fid + "&filename=" + filename;
            string url    = RequestAddress.HostServer + RequestAddress.ReCreateOrder + "?fid=" + fid + "&filename=" + filename;
            string temVal = RequestAddress.Rep_Header_Resp(token, url, "POST");

            return(temVal);
        }
Ejemplo n.º 7
0
        /// <summary>
        /// 删除操作
        /// </summary>
        /// <param name="token"></param>
        /// <param name="wordids"></param>
        /// <returns></returns>
        public string DelMyDocs(string token, string wordids)
        {
            //string url = RequestAddress.server + RequestAddress.DelMyDocs + "?wordids="+ wordids;
            string url    = RequestAddress.HostServer + RequestAddress.DelMyDocs + "?wordids=" + wordids;
            string temVal = RequestAddress.Rep_Header_Resp(token, url, "POST");

            return(temVal);
        }
Ejemplo n.º 8
0
        public string GetPersonalDocTimeList(string token)
        {
            //string url = RequestAddress.server+ RequestAddress.GetPersonalDocTimeList;
            string url    = RequestAddress.HostServer + RequestAddress.GetPersonalDocTimeList;
            string temVal = RequestAddress.Rep_Header_Resp(token, url, "POST");

            return(temVal);
        }
Ejemplo n.º 9
0
        public string GetTray(string token, string pagesize, string page)
        {
            string url = RequestAddress.server + RequestAddress.GetTray + "?pagesize=" +
                         pagesize + "&page=" + page;
            string tempVal = RequestAddress.Rep_Header_Resp(token, url, "POST");

            return(tempVal);
        }
Ejemplo n.º 10
0
        public string GetPrintPrice(string token)
        {
            ///此处文件上传到IntoApp服务器
            string url    = RequestAddress.HostServer + RequestAddress.GetPrintPrice;
            string temVal = RequestAddress.HttpUploadFile(token, url, null, null, DEFAULTENCODE);

            return(temVal);
        }
Ejemplo n.º 11
0
        public string EditOwnInfo(string token, string signature, string nickname, string gender, string birthday)
        {
            ///此处文件上传到IntoApp服务器
            string url    = RequestAddress.HostServer + RequestAddress.EditOwnInfo + "?signature=" + signature + "&nickname=" + nickname + "&gender=" + gender + "&birthday=" + birthday;
            string temVal = RequestAddress.Rep_Header_Resp(token, url, "POST");

            return(temVal);
        }
Ejemplo n.º 12
0
        /// <summary>
        /// 获取唉优盘传输文件
        /// </summary>
        /// <param name="token"></param>
        /// <param name="uid"></param>
        /// <returns></returns>
        public string GetTransferAUDiskFile(string token, string uid)
        {
            string url = RequestAddress.server + RequestAddress.GetTransferAUDiskFile + "?" +
                         "uid=" + uid + "&audiskFlag=" + "audiskmobile";
            string temVal = RequestAddress.Rep_Header_Resp(token, url, "POST");

            return(temVal);
        }
Ejemplo n.º 13
0
        /// <summary>
        /// 删除文件
        /// </summary>
        /// <param name="token"></param>
        /// <param name="fileids">多文件删除用逗号隔开</param>
        /// <returns></returns>
        public string DelNoTransferAUDiskFile(string token, string fileids)
        {
            string url = RequestAddress.server + RequestAddress.DelNoTransferAUDiskFile + "?" +
                         "fileids=" + fileids;
            string temVal = RequestAddress.Rep_Header_Resp(token, url, "POST");

            return(temVal);
        }
Ejemplo n.º 14
0
        public string DelOrder(string token, string orderid)
        {
            //string url = RequestAddress.server + RequestAddress.DelOrder + "?orderid=" + orderid;
            string url    = RequestAddress.HostServer + RequestAddress.DelOrder + "?orderid=" + orderid;
            string temVal = RequestAddress.Rep_Header_Resp(token, url, "POST");

            return(temVal);
        }
Ejemplo n.º 15
0
        public string PCGetOrderList(string token, string pagesize, string pageindex, string orderstate)
        {
            //string url = RequestAddress.server + RequestAddress.PCGetOrderList + "?pagesize=" + pagesize + "&pageindex=" + pageindex + "&orderstate=" + orderstate;
            string url    = RequestAddress.HostServer + RequestAddress.PCGetOrderList + "?pagesize=" + pagesize + "&pageindex=" + pageindex + "&orderstate=" + orderstate;
            string temVal = RequestAddress.Rep_Header_Resp(token, url, "POST");

            return(temVal);
        }
Ejemplo n.º 16
0
        public string OrderPay(string token, NameValueCollection data)
        {
            //string url = RequestAddress.server + RequestAddress.OrderPay;
            string url    = RequestAddress.HostServer + RequestAddress.OrderPay;
            string temVal = RequestAddress.HttpUploadFile(token, url, null, data, RequestAddress.DEFAULTENCODE);

            return(temVal);
        }
Ejemplo n.º 17
0
        public string GetAppVersion()
        {
            //string url =RequestAddress.server+RequestAddress.GetAppVersion+ "?userclient=pc";
            //string tempVal = RequestAddress.Rep_Resp(url,"POST");

            string url     = RequestAddress.HostServer + RequestAddress.GetAppVersion + "?userclient=pc";
            string tempVal = RequestAddress.Rep_Resp(url, "POST");

            return(tempVal);
        }
Ejemplo n.º 18
0
        /// <summary>
        /// 获取文档
        /// </summary>
        /// <param name="token"></param>
        /// <param name="pagesize">每页显示数量</param>
        /// <param name="page">当前页</param>
        /// <param name="query">查询条件</param>
        /// <returns></returns>
        public string GetMyWord(string token, string pagesize, string page, string query)
        {
            //string url = RequestAddress.server + RequestAddress.GetMyWord + "?pagesize=" +
            //             pagesize + "&page=" + page + "&query=" + query;
            string url = RequestAddress.HostServer + RequestAddress.GetMyWord + "?pagesize=" +
                         pagesize + "&page=" + page + "&query=" + query;
            string tempVal = RequestAddress.Rep_Header_Resp(token, url, "POST");

            return(tempVal);
        }
Ejemplo n.º 19
0
        public string GetCount(string token, string pagesize, string pageindex, string orderstate, string userId)
        {
            //string url = RequestAddress.server + RequestAddress.GetCount + "?orderState=" + orderstate + "&pagesize=" +
            //             pagesize + "&pageindex=" + pageindex + "&userId=" + userId;
            string url = RequestAddress.HostServer + RequestAddress.GetCount + "?orderState=" + orderstate + "&pagesize=" +
                         pagesize + "&pageindex=" + pageindex + "&userId=" + userId;
            string temVal = RequestAddress.Rep_Header_Resp(token, url, "POST");

            return(temVal);
        }
Ejemplo n.º 20
0
        public string BusinessVirtualPrint(string token, string UserId, string FileId, string IsColor, string PrinterType, string copies,
                                           string startpage, string endpage)
        {
            string url = RequestAddress.server + RequestAddress.BusinessVirtualPrint + "?userid=" + UserId +
                         "&fileid=" + FileId + "&printType=" + PrinterType + "&copies=" + copies + "&startpage=" + startpage + "&endpage=" + endpage
                         + "&iscolor=" + IsColor;
            string temVal = RequestAddress.Rep_Header_Resp(token, url, "POST");

            return(temVal);
        }
Ejemplo n.º 21
0
        /// <summary>
        /// 订单支付
        /// </summary>
        /// <param name="token"></param>
        /// <param name="startpage"></param>
        /// <param name="endpage"></param>
        /// <param name="copies"></param>
        /// <param name="iscolour"></param>
        /// <param name="orderno"></param>
        /// <returns></returns>
        public string OrderPayByBusiness(string token, string startpage, string endpage, string copies, string iscolour, string orderno)
        {
            //string url = RequestAddress.server + RequestAddress.OrderPayByBusiness + "?startpage=" + startpage +
            //             "&endpage=" + endpage + "&copies=" + copies +
            //             "&iscolour=" + iscolour + "&orderno=" + orderno;
            string url = RequestAddress.HostServer + RequestAddress.OrderPayByBusiness + "?startpage=" + startpage +
                         "&endpage=" + endpage + "&copies=" + copies +
                         "&iscolour=" + iscolour + "&orderno=" + orderno;
            string temVal = RequestAddress.Rep_Header_Resp(token, url, "POST");

            return(temVal);
        }
Ejemplo n.º 22
0
        /// <summary>
        /// 再来一单
        /// </summary>
        /// <param name="token"></param>
        /// <param name="UserId"></param>
        /// <param name="orderId"></param>
        /// <param name="IsColor"></param>
        /// <param name="PrinterType"></param>
        /// <param name="copies"></param>
        /// <param name="startpage"></param>
        /// <param name="endpage"></param>
        /// <returns></returns>
        public string Again(string token, string UserId, string orderId, string IsColor, string PrinterType,
                            string copies, string startpage, string endpage, string isSingle)
        {
            //string url = RequestAddress.server + RequestAddress.BusinessVirtualPrint + "?userid=" + UserId +
            //             "&orderid=" + orderId + "&printType=" + PrinterType + "&copies=" + copies + "&iscolor=" +
            //             IsColor+ "&startpage=" + startpage+"&endpage="+endpage;
            string url = RequestAddress.HostServer + RequestAddress.BusinessVirtualPrint + "?userid=" + UserId +
                         "&orderid=" + orderId + "&printType=" + PrinterType + "&copies=" + copies + "&iscolor=" +
                         IsColor + "&startpage=" + startpage + "&endpage=" + endpage + "&issingle=" + isSingle;
            string temVal = RequestAddress.Rep_Header_Resp(token, url, "POST");

            return(temVal);
        }