Commit 247525b7 by 梁建民

css

parent b12a2996
Showing with 3 additions and 3 deletions
!function () {
window.GoodManageController = {
init: function () {
this.created(this).mounted(this).render(this, {offset: 10, p: 1}, 1).handleBind(this);
this.created(this).mounted(this).render(this, {offset: 10, p: 1, token: Util.getCookie('token') || ''}, 1).handleBind(this);
},
created: function (opt) {
......@@ -21,7 +21,7 @@
mounted: function (opt) {
//商品数量获取
IcController.getData(apis.goodsCount, 'POST', null, function (res) {
IcController.getData(apis.goodsCount, 'GET', {token: Util.getCookie('token') || ''}, function (res) {
if (res.errcode == 0) {
......@@ -43,7 +43,7 @@
render: function (opt, params, curr) {
//商品列表初始化
IcController.getData(apis.goodsInfo, 'POST', params, function (res) {
IcController.getData(apis.goodsInfo, 'GET', params, function (res) {
var getTpl = listHtml.innerHTML;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment