非常感谢foxfans的耐心解答,这个问题解决了,但是还是不能通过,我把程序发上来,请帮我看下
程序代码:
cUrl="https://api./sms/trade/normal/send"
mytime=datetime()-datetime(1970,1,1,0,0,0)
mytime2=ALLTRIM(STR(mytime)) &&时间戳
test='"AppId=10011649990910483&MchId=1002456&SignName=【联麓信息】&SignType=MD5&Timestamp='+mytime2+'&Type=1&Version=1.0.0&key=9f9bb916f3614b169854d375bed6630f"'
Set Library To myFll
test2=MD5String(STRCONV(test,9))
Set Library To
TEXT TO cData TEXTMERGE NOSHOW PRETEXT 7
{
"Type":"1",
"PhoneNumberSet":["17307215713","15587571286"],
"AppId":"10011649990910483",
"ExtendCode":"",
"Version":"Version",
"MchId":"1002456",
"Signature":"<<test2>>",
"SessionContext":"Hello 联麓信息",
"SignType":"MD5",
"TimeStamp":"<<mytime2>>",
"SignName":"【联麓信息】"
}
ENDTEXT
yy=SendData(cUrl, cData)
thisform.edit1.value=yy
thisform.edit2.value=&test
thisform.edit3.value=test2
thisform.refresh
RETURN