Skip to content

Akiler520/remark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##wechat upload image

GET /material

description:

as the API 'uploadimg' will not return the 'media_id', so I used API 'add_material', then we can get both the 'media_id' and the url of the image;

return:

{
	"status":1,
	"msg":"success",
	"data":
		{
		"media_id":"rbfy2TYcVc5Zx8G-vSsyLN-RPCeBFLE1D8VAeB3tMMI",
		"url":"http://mmbiz.qpic.cn/mmbiz_jpg/6McPlqgiaxLP0ibh75lXDfJ3a35Nn1n8icNnQ3YRUFYnH7dDykL6HicdS0eB41uqHXicWjqv4C1AA2B43DzVloL61IA/0?wx_fmt=jpeg"}
}

add hyperlink to a string

GET /hyperlink/addHyperlink

return:

Chinese是中国人的意思,Chinese companies是什么意思? ChineseChinese companies 是什么关系?Chinese companies不能代替Chinese. United States是美国,United States of America也是美国,但United States也不能代替United States of America

test

run command:

  1. phpunit TestMaterial

  2. phpunit TestHyperlink

About

remark

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published