1

嗨,下面是我的短信 api xml 代码的一小部分,我是 api 密钥和用户名,比如说 api 密钥 = abcdefgh,用户名:1​​234567,url = https://www.google.com/

请帮我把这些值放在下面的代码中,因为我是 xml 新手,我需要这个帮助

提前致谢

<config>
<sections>
    <smsnotifications module="smsnotifications">
        <tab>service</tab>
        <label>SMS Notifications</label>
        <sort_order>9001</sort_order>
        <show_in_default>1</show_in_default>
        <show_in_website>0</show_in_website>
        <show_in_store>0</show_in_store>
        <groups>
            <sms_api_credentials module="smsnotifications">
                <label>API Credentials</label>
                <expanded>1</expanded>
                <sort_order>1</sort_order>
                <show_in_default>1</show_in_default>
                <show_in_website>0</show_in_website>
                <show_in_store>0</show_in_store>
                <comment><![CDATA[
                ]]></comment>
                <fields>
                    <gateway_url>
                        <label> SMS gateway url</label>
                        <validate>required-entry</validate>
                        <frontend_type>text</frontend_type>
                        <sort_order>1</sort_order>
                        <show_in_default>1</show_in_default>
                        <show_in_website>0</show_in_website>
                        <show_in_store>0</show_in_store>
                        <comment></comment>
                    </gateway_url>
                    <auth_token>
                        <label>Api Key</label>
                        <validate>required-entry</validate>
                        <frontend_type>text</frontend_type>
                        <sort_order>2</sort_order>
                        <show_in_default>1</show_in_default>
                        <show_in_website>0</show_in_website>
                        <show_in_store>0</show_in_store>
                        <comment></comment>
                    </auth_token>
                    <sender_name>
                        <label> SENDERID</label>
                        <validate>required-entry</validate>
                        <frontend_type>text</frontend_type>
                        <sort_order>3</sort_order>
                        <show_in_default>1</show_in_default>
                        <show_in_website>0</show_in_website>
                        <show_in_store>0</show_in_store>
                        <comment></comment>
                    </sender_name>
                </fields>
            </sms_api_credentials>

'

4

0 回答 0