He Carpenter distribution mall applet secondary development: increased order fields

He Carpenter secondary development, to give orders to increase a field how to do it?

1, a first increase order field in the database table;

2, pages / new-order-submit / new-order-submit.wxml distal applet template file form content increases;

3, \ zjhj_mall \ core \ modules \ api \ models \ orderOrderSubmitForm.php search in this document

$order->content = $mch['content'];

Increase your field below it:

$order->xxxx = $mch['xxxx'];

This is a simple Wo Carpenter secondary development, the next one to add a page needs to be done Wo Carpenter secondary development of children's shoes can contact me, oh.

Guess you like

Origin blog.csdn.net/jeesr/article/details/91959162