Vba-my own thinkPHP api, how is the returned result different from others?

Source: Internet
Author: User
I learned to use vba to connect to the php api. My php function is written as follows: {code ...} the routing rule modified by thinkPHP is used to make this function a page .. but when using vba to call it, it is like this: although the result 170982358 is returned, it is messy. other people's...

I learned to use vba to connect to the php api. My php function is written as follows:

Public function vba () {echo 170982358 ;}

The routing rule modified by thinkPHP is used to make this function a page ..

However, when using vba for calling, it is as follows:

Although 170982358 is returned, it is messy;

Other people's api returns a clean result. how can I do this?

Reply content:

I learned to use vba to connect to the php api. My php function is written as follows:

Public function vba () {echo 170982358 ;}

The routing rule modified by thinkPHP is used to make this function a page ..

However, when using vba for calling, it is as follows:

Although 170982358 is returned, it is messy;

Other people's api returns a clean result. how can I do this?

You should use thinkphp and turn on the Trace mode, which leads to the output of debugging content. InSHOW_PAGE_TRACEChangeFalseYou can.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.