131 lines
2.9 KiB
PHP
Executable File
131 lines
2.9 KiB
PHP
Executable File
<?php
|
|
namespace wstmart\app\controller;
|
|
use think\Loader;
|
|
use wstmart\app\model\AppPort as M;
|
|
use wstmart\common\model\LogPayParams as PM;
|
|
use wstmart\common\model\ChargeItems as CM;
|
|
use wstmart\common\model\LogMoneys as LM;
|
|
/**
|
|
* ============================================================================
|
|
* 阿里支付控制器
|
|
*/
|
|
class Appport extends Base{
|
|
/*
|
|
* app新版首页轮播图
|
|
* */
|
|
public function appBanner(){
|
|
$m=new M();
|
|
$result=$m->appBanner();
|
|
//dump($result);
|
|
exit(json_encode(WSTReturn('',1,$result)));
|
|
}
|
|
/**
|
|
* app新版首页桔子头条接口
|
|
*/
|
|
public function appNews(){
|
|
$m = new M();
|
|
$result = $m->appNews();
|
|
//dump($result);
|
|
exit(json_encode(WSTReturn('',1,$result)));
|
|
}
|
|
/**
|
|
* app新版首页桔子头条列表页接口
|
|
*/
|
|
public function appNewsLists(){
|
|
$m = new M();
|
|
$result = $m->appNewsLists();
|
|
dump($result);
|
|
//exit(json_encode(WSTReturn('',1,$result)));
|
|
}
|
|
/**
|
|
* app新版桔子头条分类接口
|
|
*/
|
|
public function appNewsClass(){
|
|
$m = new M();
|
|
$result = $m->appNewsClass();
|
|
dump($result);
|
|
//exit(json_encode(WSTReturn('',1,$result)));
|
|
}
|
|
/**
|
|
* app新版桔子头条详情页接口
|
|
*/
|
|
public function appNewsDetail(){
|
|
$m = new M();
|
|
$result = $m->appNewsDetail();
|
|
dump($result);
|
|
//exit(json_encode(WSTReturn('',1,$result)));
|
|
}
|
|
/*
|
|
* app新版秒杀接口
|
|
* */
|
|
public function appSecKill(){
|
|
$m=new M();
|
|
$result=$m->appSecKill();
|
|
//dump($result);
|
|
exit(json_encode(WSTReturn('',1,$result)));
|
|
}
|
|
/*
|
|
* app新版ect专区/活动区 图片接口
|
|
* */
|
|
public function appEctAct(){
|
|
$m=new M();
|
|
$result=$m->appEctAct();
|
|
//dump($result);
|
|
exit(json_encode(WSTReturn('',1,$result)));
|
|
}
|
|
/*
|
|
* app新版品牌热卖接口
|
|
* */
|
|
public function appBrands(){
|
|
$m=new M();
|
|
$result=$m->appBrands();
|
|
//dump($result);
|
|
exit(json_encode(WSTReturn('',1,$result)));
|
|
}
|
|
/*
|
|
* app新版居家好帮手广告位接口
|
|
* */
|
|
public function appJadvertis(){
|
|
$m=new M();
|
|
$result=$m->appJadvertis();
|
|
//dump($result);
|
|
exit(json_encode(WSTReturn('',1,$result)));
|
|
}
|
|
/*
|
|
* app新版潮流先锋广告位接口
|
|
* */
|
|
public function appCadvertis(){
|
|
$m=new M();
|
|
$result=$m->appCadvertis();
|
|
//dump($result);
|
|
exit(json_encode(WSTReturn('',1,$result)));
|
|
}
|
|
/*
|
|
* app新版食品超市广告位接口
|
|
* */
|
|
public function appSadvertis(){
|
|
$m=new M();
|
|
$result=$m->appSadvertis();
|
|
//dump($result);
|
|
exit(json_encode(WSTReturn('',1,$result)));
|
|
}
|
|
/*
|
|
* app新版家电馆广告位接口
|
|
* */
|
|
public function appDadvertis(){
|
|
$m=new M();
|
|
$result=$m->appDadvertis();
|
|
//dump($result);
|
|
exit(json_encode(WSTReturn('',1,$result)));
|
|
}
|
|
/*
|
|
* app为你推荐接口
|
|
/*/
|
|
public function recommend(){
|
|
$m=new M();
|
|
$result=$m->recommend();
|
|
//dump($result);
|
|
exit(json_encode(WSTReturn('',1,$result)));
|
|
}
|
|
}
|