回复 6楼 qingfameng
可以的,可以带很多个参数
如上传这个涵数:
云端是这样(有二个参数,xml:文件内容,filename 文件名称)
FUNCTION upload(xml as string,filename as string) AS Integer
IF EMPTY(m.xml) OR EMPTY(m.filename)
RETURN -1
ENDIF
StrToFile(STRCONV(m.xml,14),THIS.data_path+filename)
RETURN 1
ENDFUNC
客户端调用:
webservice.upload(STRCONV(FILETOSTR(m.filename),13)
,
JUSTFNAME(m.filename))