Method of calling enterprise member data by destoon article module

  • 2021-07-16 01:56:51
  • OfStack

This article demonstrates the method of destoon article module calling enterprise member data, which is of great practical value for destoon development.

Generally speaking, in order to attract enterprise members to publish enterprise articles, when enterprise members publish articles, the bottom of the articles automatically calls up the enterprise information of the enterprise members, so enterprise members prefer to publish 1 articles. The specific implementation method of this 1 function is as follows:

The main code is as follows:


{if $username}
{php $user_status=3;}
{php $member = userinfo($username);}
{template 'contact', 'chip'}
{/if}

I hope the method described in this paper can be helpful to everyone's destoon development.


Related articles: