GET api/common/LoadCode?info={info}&width={width}&height={height}

生成二维码

Request Information

URI Parameters

NameDescriptionTypeAdditional information
info

string

Required

width

integer

Default value is 80

height

integer

Default value is 80

Body Parameters

None.

Response Information

Resource Description

生成二维码

JsonRtnDtoOfString
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": "sample string 2"
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":"sample string 2"}

application/xml, text/xml

Sample:
<JsonRtnDtoOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data>sample string 2</Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfstring>

text/javascript, application/javascript, application/json-p

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":"sample string 2"});